Compare 1:1
Service for Comparing Two Images.
Last updated
Service for Comparing Two Images.
Last updated
POST - https://api.verifik.co/v2/face-recognition/compare
The Face Comparison API allows you to perform a 1:1 comparison to find facial similarity. It offers the ability to analyze and score the resemblance between two images, which can be images from a document or camera images, as long as they differ between the "gallery" and "probe" parameters.
Ensure you provide valid images encoded in base64 in the request and choose the appropriate search mode for your specific needs (FAST or ACCURATE). The response will contain essential information about the comparison work, including timestamps and certification details.
If you have read all the guides in this documentation, you may have noticed that these services perform very similar processes, so what sets them apart?
The differentiating factor between these services is how the comparison process is performed:
Face Verify: Performs the comparison between an image and a person already created within a collection.
Compare 1:1: Performs the comparison between two images. Unlike Face Verify, there is no restriction on where these images come from, making this service more versatile in how it performs the 1:1 comparison.
Compare 1:1 Live: Same operation as the Compare 1:1 service, with the added value of conducting a Liveness check on one of the supplied images.
Headers
Name | Value |
---|---|
Body
Name | Type | Description |
---|---|---|
Body Example
Response
Content-Type
application/json
Authorization
Bearer <token>
os
string
OS from where you are doing the operation. [DESKTOP, IOS, ANDROID]
probe
string
Face encoded in base64
gallery
Array
Array of images to compare with the face inside probe.
search_mode
string
search mode, it could be FAST, ACCURATE.