face_compare
Compare two face photos and receive a similarity score to verify identity for onboarding, duplicate checks, and selfie-to-ID matching.
Instructions
Compare two face photos and return a similarity score from 0 to 100. Best for customer onboarding, duplicate-account checks, selfie-to-ID matching, and agent workflows that need a same-person decision. Input supports file path, HTTPS URL, data URL, or base64. Suggested business rule: score >=80 means high-confidence same person, but final thresholds should be calibrated by scenario.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| photo1 | Yes | First face photo: local file path, HTTPS URL, data URL, or base64. | |
| photo2 | Yes | Second face photo: local file path, HTTPS URL, data URL, or base64. | |
| sourcePhotoType | No | Reference photo type: 1=watermarked ID photo, 2=HD photo. Default: 2. | 2 |