didit-face-match
bởi rosasalberto
Coding Agents & IDEsTóm tắt
Integrate Didit Face Match standalone API to compare two facial images.
Mô tả
Kỹ năng này làm gì
Compares two facial images using the Didit Face Match API and returns a similarity score from 0 to 100. Supports JPEG, PNG, WebP, and TIFF formats up to 5MB per image. Also returns estimated age, gender, and face bounding boxes alongside the match result.
Handles image rotation automatically and returns structured metadata including age and gender estimates alongside the match score, reducing manual preprocessing steps.
Khi nào nên dùng
- Selfie-to-ID document verification during user onboarding
- Confirming a returning user matches their registered profile photo
- Checking if two submitted photos show the same person
- Biometric access confirmation for a secure area or service
- KYC face check for financial or legal account opening
Quy trình ví dụ
User asks: Does this selfie match the passport photo on file?
- 1
Load the selfie and passport image files
- 2
POST both images as multipart/form-data to the face-match endpoint with the x-api-key header
- 3
Read the face_match.score and face_match.status fields from the response
- 4
Return Approved if score meets the threshold, Declined if below it
Similarity score of 80, status Approved — faces match
Yêu cầu
- DIDIT_API_KEY environment variable
- Didit account at business.didit.me
- Didit credits (paid) for API calls
Cài đặt
clawhub install rosasalberto/didit-face-matchChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.