New Omni documentation is now available — policy-driven document verification and API reference. Explore Omni → · Custom Theme for KYC liveform: Learn more →
New Omni documentation is now available — policy-driven document verification and API reference. Explore Omni → · Custom Theme for KYC liveform: Learn more →
Compare two facial images to determine their similarity and provide detailed analysis results
curl --request POST \
--url https://idverify-api.argosidentity.com/modules/compare \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"originFace": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6kgAAAABJRU5ErkJggg==",
"targetFace": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6kgAAAABJRU5ErkJggg==",
"callbackUrl": "https://your-domain.com/callback"
}
'{
"apiType": "compare_face",
"transactionId": "txn_123456789",
"result": {
"face": {
"isAvailable": true,
"boundingBox": {
"Width": 0.42534321546554565,
"Height": 0.567890123456789,
"Left": 0.12345678901234566,
"Top": 0.23456789012345677
},
"confidence": 0.9876543210987654
},
"targetFace": {
"isAvailable": true,
"boundingBox": {
"Width": 0.4567890123456789,
"Height": 0.543210987654321,
"Left": 0.13456789012345677,
"Top": 0.2456789012345679
},
"confidence": 0.9765432109876543
},
"similarity": {
"score": 0.854321098765432,
"threshold": 0.8,
"isMatch": true
}
}
}Documentation Index
Fetch the complete documentation index at: https://developers.argosidentity.com/llms.txt
Use this file to discover all available pages before exploring further.
The base64 encoded image of the face to be compared with the targetFace image.
"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6kgAAAABJRU5ErkJggg=="
The base64 encoded image of the face to be compared with the originFace image.
"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6kgAAAABJRU5ErkJggg=="
The URL where the face compare results will be sent upon completion. If a callbackUrl is provided, the process works asynchronously. If no callbackUrl is provided, the process operates synchronously.
"https://your-domain.com/callback"
Was this page helpful?
curl --request POST \
--url https://idverify-api.argosidentity.com/modules/compare \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"originFace": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6kgAAAABJRU5ErkJggg==",
"targetFace": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6kgAAAABJRU5ErkJggg==",
"callbackUrl": "https://your-domain.com/callback"
}
'{
"apiType": "compare_face",
"transactionId": "txn_123456789",
"result": {
"face": {
"isAvailable": true,
"boundingBox": {
"Width": 0.42534321546554565,
"Height": 0.567890123456789,
"Left": 0.12345678901234566,
"Top": 0.23456789012345677
},
"confidence": 0.9876543210987654
},
"targetFace": {
"isAvailable": true,
"boundingBox": {
"Width": 0.4567890123456789,
"Height": 0.543210987654321,
"Left": 0.13456789012345677,
"Top": 0.2456789012345679
},
"confidence": 0.9765432109876543
},
"similarity": {
"score": 0.854321098765432,
"threshold": 0.8,
"isMatch": true
}
}
}