FaceMatch Verification
FaceMatch compares two photos to verify they belong to the same person.
API Integration
FaceMatch verification can be performed using the Verify FaceMatch API
Request
{
"sourceImageUrl": "https://storage.googleapis.com/indisi-images-prod/XXXXXX",
"targetImageUrl": "https://storage.googleapis.com/indisi-images-prod/XXXXXX"
}
Response
If the FaceMatch is valid the response will be of the following format.
{
"code": 0,
"message": "Success",
"data": {
"similarity": 99.99987030029297,
"sourceImageUrl": "https://storage.googleapis.com/indisi-images-prod/xxxxx",
"targetImageUrl": "https://storage.googleapis.com/indisi-images-prod/xxxxxxx"
}
}
If the FaceMatch similarity score is below 80 (considered a failed match), the response will be of the following format.
{
"code": 0,
"message": "Success",
"data": {
"similarity": 0,
"sourceImageUrl": "https://storage.googleapis.com/indisi-images-prod/xxxxxxx",
"targetImageUrl": "https://storage.googleapis.com/indisi-images-prod/xxxxxxx"
}
}