Pass in the portrait photo of the ID card, identify the information on the ID card photo, and compare the name, ID card number, portrait photo of the ID card with the certificate photo of the authority database, whether it belongs to the same person, so as to verify the authenticity of the ID card information.
API token from https://platform.acedata.cloud
Specifies the format of the response from the server.
application/json, application/x-ndjson OK, the request was successful.
sex.
Similarity. The value ranges from 0.00 to 100.00.
name.
Date of birth.
Id number.
nation.
Service error code. success is displayed if the error is successful. For details about the error, see failed operation in the error code list below.
address.
The value ranges from 0 to 100. Currently, the default threshold is 50 points. If the value is lower than 50, a fuzzy alarm will be generated.
base64 encoding of ID profile photo. If matting fails, it will compare the entire ID card and return empty.
The alarm occurred when the alarm information was configured in config. As a result, an error occurred (failed operation.ocr warning occurred).
Description of business results.