Verify identity with facial recognition
Face Compare is an identity verification system that performs two checks:
1. Liveness Detection — Confirms the person in front of the camera is a real, live human (not a printed photo, screen replay, or mask).
2. Face Comparison — Compares the live person's face against a reference photo to verify they are the same individual.
Together, these checks answer: "Is this a real person, and are they who they claim to be?"
The liveness check uses Amazon Rekognition Face Liveness, a cloud-based AI service from AWS.
When a user initiates the check:
A score above 80% indicates the person is highly likely to be real. The system detects printed photo attacks, screen replays, 3D mask attacks, and pre-recorded video attacks.
After liveness is confirmed, the system compares faces using Amazon Rekognition CompareFaces:
The comparison also provides face detection confidence, head pose, image quality metrics, detected emotions, and smile detection.
| Component | Technology |
|---|---|
| Liveness Detection | AWS Rekognition Face Liveness |
| Face Comparison | AWS Rekognition CompareFaces |
| Face Analysis | AWS Rekognition DetectFaces |
| Server | Go (Golang) |
| Database | MySQL |
| Video Processing | FFmpeg |
| Client Liveness UI | AWS Amplify SDK (React) |
Each identity verification involves a liveness check and a face comparison:
| API Call | Purpose | Cost (AUD) |
|---|---|---|
| Face Liveness | Verifies real person | $0.023 |
| CompareFaces | Matches faces | $0.002 |
| Total | Per verification | ~$0.025 |
Based on approximate exchange rate of 1.55 AUD/USD. Actual charges billed in USD by AWS.
| Verifications/month | USD | AUD (approx) |
|---|---|---|
| 100 | $1.60 | ~$2.50 |
| 1,000 | $16 | ~$25 |
| 10,000 | $160 | ~$250 |
| 50,000 | $800 | ~$1,240 |
| 100,000 | $1,600 | ~$2,480 |
Volume discounts apply above 500,000 checks/month. Free tier: 1,000 CompareFaces calls/month free for the first 12 months.
Two challenge types are available: