Identity Scanner
Identity Scanner is a Zia AI-driven component that enables you to perform secure identity checks on individuals and documents by scanning and processing various ID proofs or official documents. It is a comprehensive suite that incorporates multiple functionalities divided into two major categories- E-KYC and Document Processing.
Facial Comparison
Facial Comparison, also known as E-KYC, is a part of Identity Scanner that compares two faces in two different images to determine if they are the same individual.
Process Facial Comparison
Description
This API enables you to perform a face comparison between a source image and a query image. You must specify the paths to both the image files in the API request, as shown in the sample request.
Request Details
Request URL
{api-domain}/baas/v1/project/{project_id}/ml/facecomparison
Request Headers
Authorization: Zoho-oauthtoken {oauth_token}
content-type: multipart/form-data; boundary=—-WebKitFormBoundary7MA4YWxkTrZu0gW
Optional Headers
CATALYST-ORG: {org_id}
Environment: Development
Scope
ZohoCatalyst.mlkit.READ
Request JSON Properties
The photo ID or an individual’s photograph. You must provide the path to it in your local system.
Allowed formats: .webp, .jpeg, .png
File size limit: 10 MB
The photo ID or an individual’s photograph. You must provide the path to it in your local system.
Allowed formats: .webp, .jpeg, .png
File size limit: 10 MB
Response Details
The response returns the result of comparison as true if the faces match, or false if they don’t match.
The response also contains a confidence score between the range of 0 to 1. Only if the comparison yields a confidence score of above 50% i.e., 0.5, the result will be set to true.
curl -X POST
https://api.catalyst.zoho.com/baas/v1/project/4000000006007/ml/facecomparison
-H “Authorization: Zoho-oauthtoken 1000.910*************************16.2f*************************57”
-H “Content-Type: multipart/form-data; boundary=—-WebKitFormBoundary7MA4YWxkTrZu0gW”
-F source_image=/Desktop/SourceImage.webp
-F query_image=/Desktop/QueryImage.webp
{
"status": "success",
"data": {
"confidence": 1.0,
"matched": "true"
}
}
Yes
No
Send your feedback to us