Face Compare determines whether two face images belong to the same person and returns a similarity score. Available through API integration with the ZOLOZ service.
1. What is Face Compare?
Face Compare compares two face images, determines whether they belong to the same person, and returns a similarity score. It supports both live face images and ID card face images.
1.1 Access modes
Face Compare provides an API access mode for you to access the ZOLOZ service. For more information, see Understand integration modes.
1.2 Workflow
The Face Compare workflow:

Face Compare workflow
-
Import face images
Call the API with two face images. Image requirements:
-
Format: Base64-encoded JPG.
-
Size: Maximum 10 MB.
-
Multiple faces: The largest face in the image is used for comparison.
-
-
Compare face information
The algorithm extracts facial features from both images and calculates a similarity score. When the score exceeds the ZOLOZ-configured threshold, the faces are determined to belong to the same person.
-
Face Compare results
The Face Compare API returns a similarity score and determines whether the two faces belong to the same person.
-
Similarity score: Ranges from 0 to 100. Higher scores indicate greater similarity.
-
Comparison result: If the score meets or exceeds the ZOLOZ threshold, the faces belong to the same person. The default threshold yields a false recognition rate of 1 in 100,000.
-
1.3 Face Compare results
|
Field name |
Meaning |
Description |
|
samePerson |
Face matching results |
Returns true or false:
|
|
score |
Face matching score |
Similarity score for face matching.
|
2. Advantages
2.1 Advanced Algorithms
Built on industry-leading machine learning and trained on massive datasets, Face Compare delivers high face matching accuracy.
2.2 Stable and reliable
Face Compare serves banking, e-commerce, and other industries worldwide with proven stability and reliability.
2.3 Fully automated process
Fully automated with results available within 10 seconds on average, reducing labor costs while maintaining a smooth user experience.
3. Common scenarios
3.1 Remote identity authentication
Verifies that a person matches their identity document during online account opening or registration, improving processing efficiency.
3.2 Face verification
In finance, insurance, life services, healthcare, transportation, and other industries, users performing high-risk operations must verify their identity. Face Compare matches the current user against their stored selfie to confirm identity.