didit-face-match
بواسطة rosasalberto
Coding Agents & IDEsموجز
Integrate Didit Face Match standalone API to compare two facial images.
الوصف
ما الذي تفعله هذه المهارة
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.
متى تستخدمها
- 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
مثال على سير العمل
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
المتطلبات
- DIDIT_API_KEY environment variable
- Didit account at business.didit.me
- Didit credits (paid) for API calls
التثبيت
clawhub install rosasalberto/didit-face-matchشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.