Hand-held ID Card Comparison
Analyze the possibility of the person holding the ID card and the photo of ID card belonging to the same person. Using our face matching technology, you will get our judgment about whether it is the same person as well as a similarity score.
Code example:
Response example for same person
Response example for not the same person
Response example for error request
Response example for uploaded image larger than 2M
Response example for wrong image, not ID holding image
Response for server error
HTTP request
POST https://api.ekycpro.com/v1/idholding
Request parameters
parameter | description |
---|---|
img | string , base64 encoded image |
Response format
fields | description |
---|---|
status | status code |
message | similarity : similarity score, 0~100 result : judgment |
Status code
status | description |
---|---|
OK | charge , success, message.similarity contains the similarity score |
RETRY_LATER | charge , invalid idholding image |
INVALID_REQUEST | free , invalid request parameters |
IMAGE_INVALID_SIZE | free , image size larger than 2M |
INNER_ERROR | free , server error |