Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

didit-face-match

bởi rosasalberto

Coding Agents & IDEs
502Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tó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ụ

ĐẦU VÀO

User asks: Does this selfie match the passport photo on file?

AGENT
  1. 1

    Load the selfie and passport image files

  2. 2

    POST both images as multipart/form-data to the face-match endpoint with the x-api-key header

  3. 3

    Read the face_match.score and face_match.status fields from the response

  4. 4

    Return Approved if score meets the threshold, Declined if below it

ĐẦU RA

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-match

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết