Key Features
- Dual Image Comparison: Compare two facial images side by side
- Similarity Scoring: Get precise similarity scores between faces
- High Accuracy: Advanced AI algorithms for reliable comparisons
- Fast Processing: Quick analysis and response times
- Multiple Formats: Support for various image formats
- Privacy Focused: No storage of facial data, only comparison results
- Async Support: Optional callback URL for asynchronous processing
Use Cases
- Identity Verification: Verify if two photos belong to the same person
- Fraud Detection: Detect identity theft and fake documents
- Access Control: Verify identity for secure entry systems
- Customer Onboarding: Ensure consistent identity across registrations
- Document Verification: Compare ID photos with live captures
- Biometric Authentication: Face-based login and authentication systems
How It Works
- Upload Images: Submit two facial images for comparison
- Analysis: AI algorithms analyze facial features and characteristics
- Comparison: Compare facial landmarks, features, and patterns
- Scoring: Generate similarity scores based on multiple factors
- Results: Receive detailed comparison results and confidence scores
API Endpoints
Face Compare API
- Endpoint:
POST /compare
- Purpose: Compare two facial images for similarity
- Input: Two base64 encoded images (originFace, targetFace)
- Output: Similarity score and detailed analysis
Callback Response
- Purpose: Asynchronous processing results
- Format: JSON response with detailed comparison data
- Features: Transaction tracking and result validation
Similarity Scoring
The API provides similarity scores that indicate how closely two faces match:- High Score (80-100%): Very likely the same person
- Medium Score (60-79%): Possibly the same person
- Low Score (0-59%): Likely different people
Processing Modes
Synchronous Processing
- Immediate response with comparison results
- Best for real-time applications
- Direct API response
Asynchronous Processing
- Use callback URL for delayed results
- Better for batch processing
- Detailed callback response format
Getting Started
To start using Face Compare, you’ll need to:- Set up your API credentials
- Prepare two facial images for comparison
- Submit your first comparison request
- Interpret the similarity results