POST https://cloud.ooto-ai.com/api/v1.0/doc/identyfy
curl -X POST --location 'https://cloud.ooto-ai.com/api/v1.0/doc/identyfy' \
--header 'APP-ID: put_app_id_here' \
--header 'APP-KEY: put_app_key_here' \
--form 'doc=@"/path/to/doc_image"' \
--form 'selfie=@"/path/to/selfie_image"'
Replace «app_id», «app_key» with your actual credentials and the path to your doc image.
{
"transactionId": "string",
"result": {
"comparison": {
"similarity": 0,
"same": true
},
"face": {
"liveness": {
"score": 0,
"fine": true
},
"deepfake": {
"score": 0,
"fine": true
},
"quality": {
"age": 0,
"gender": "string",
"race": "string",
"pitch": 0,
"yaw": 0,
"roll": 0,
"uniformity": {
"value": 0,
"fine": true
},
"exposure": {
"value": 0,
"fine": true
},
"contrast": {
"value": 0,
"fine": true
},
"flare": {
"score": 0,
"fine": true
},
"blur": {
"score": 0,
"fine": true
},
"macroblocks": {
"score": 0,
"fine": true
},
"distortion": {
"score": 0,
"fine": true
},
"occlusion": {
"score": 0,
"fine": true
},
"emotion": {
"score": 0,
"fine": true
},
"left_eye_closed": {
"score": 0,
"fine": true
},
"right_eye_closed": {
"score": 0,
"fine": true
},
"crfiqa": {
"score": 0,
"fine": true
}
},
"box": {
"x": 0,
"y": 0,
"w": 0,
"h": 0
},
"landmarks": [
[
0
]
]
},
"document": {
"doc": "string",
"ocr": {
"countryName": "string",
"countryName_local": "string",
"dateOfBirth": "string",
"dateOfIssue": "string",
"dateOfExpiration": "string",
"IDPlaceOfBirthCountry": "string",
"givenNames": "string",
"givenNames_local": "string",
"surname": "string",
"surname_local": "string",
"identityCardNumber": "string",
"issuingStateCode": "string",
"sex": "string",
"mrz": "string",
"bookletNumber": "string",
"citizenshipStatus": "string",
"nationality": "string",
"height_cm": 0,
"weight_kg": 0,
"eyes": "string"
},
"position": {
"x": 0,
"y": 0,
"w": 0,
"h": 0,
"angle": 0
},
"portrait": {
"x": 0,
"y": 0,
"w": 0,
"h": 0,
"angle": 0
}
}
}
}