Identify ID Card

Last Updated on : 2022-01-17 09:39:22download

Identify the ID card information by analyzing the image data of the ID card. The ID card needs to be laid flat during analysis.

API address

POST: /v1.0/iot-03/ai-vision/id-card/actions/discern

Request parameter

Return parameter

Parameter name Type Description
result IdCardInfoRes The returned result.

Description of result

Parameter name Type Description
name String The name of the person in a specific ID card.
gender String The gender of the person in a specific ID card.
id_card_number String The number of a specific ID card.

Request example

POST: /v1.0/iot-03/ai-vision/id-card/actions/discern
{ "image": "/9j/4AAQSkxxxxxxxxxxxxxxxx" }

Return example

{ "result": { "gender": "Male", "name": "James", "id_card_number": "360***198611133850" }, "t": 1624863972549, "success": true }

Error code

For more information, see error code.