Asynchronous detection

Updated at:

This topic describes how to call the asynchronous image detection API to recognize text from structured ID cards and other certificates using optical character recognition (OCR). The structured ID/card OCR feature recognizes text in certificate images and returns the content in a structured format. To use this feature, you must specify the type of certificate in the image.

Structured card and certificate OCR currently supports the following types of cards and certificates: business licenses, ID cards (portrait side and national emblem side), passports, bank cards, driver's licenses (front and back), vehicle licenses (front and back), license plates, vehicle VINs, household register head of household pages, and household register permanent resident pages.

Usage notes for asynchronous image detection

API operation: /green/image/asyncscan. This operation performs asynchronous image detection.

You can call this operation to create an asynchronous image detection task. For more information about how to construct an HTTP request, see Request structure. You can also use a pre-built HTTP request. For more information, see SDK overview.

  • Billing information:

    This is a paid API operation. For more information about billing, see Content Moderation Pricing.

  • Detection timeout:

    The maximum detection time for a synchronous detection request is 6 seconds. If the detection is not completed within this time limit, a timeout error is returned. If you do not require real-time results, you can use asynchronous detection. Otherwise, use synchronous detection because its API call is simpler. For these calls, set the timeout period to 6 seconds.

  • Return results:

    Asynchronous detection tasks do not return results in real time. You must use a callback or polling to retrieve the results, which are stored for up to one hour.

    • Retrieve results using a callback: When you submit an asynchronous detection task, include the callback parameter in the request to receive the detection results automatically. For more information, see Asynchronous detection request parameters.

    • Retrieve results using polling: When you submit an asynchronous detection task, do not include the callback parameter. After you submit the task, call the result query operation to obtain the detection results. For more information, see Usage notes for querying asynchronous image detection results.

  • Image requirements:

    • The image URL must use the HTTP or HTTPS protocol.

    • Supported image formats: PNG, JPG, JPEG, BMP, GIF, and WEBP.

    • The image size cannot exceed 20 MB for both synchronous and asynchronous calls. The height or width cannot exceed 30,000 pixels (px), and the total number of pixels cannot exceed 250 million (px).

      Note

      For GIF images, the total number of pixels cannot exceed 4,194,304 (px), and the height or width cannot exceed 30,000 pixels (px).

    • The image must be downloaded within 3 seconds. If the download time exceeds 3 seconds, a download timeout error is returned.

    • For optimal performance, we recommend that the image resolution be at least 256x256 pixels. A lower resolution may affect the detection accuracy.

    • The response time of the image detection API depends on the image download time. Ensure that the storage service where the image is stored is stable and reliable. For best performance, use Alibaba Cloud Object Storage Service (OSS) or a Content Delivery Network (CDN).

QPS limit

The queries per second (QPS) limit for this API is 10 per user. Exceeding this limit triggers throttling, which can impact your business. Plan your calls accordingly.

Asynchronous detection request parameters

Name

Type

Required

Example

Description

bizType

String

No

default

This field identifies your business scenario. You can create a business scenario in the Content Moderation console. For more information, see Customize moderation rules.

scenes

StringArray

Yes

["ocr"]

Specifies the detection scenario. Set the value to ocr.

callback

String

No

http://www.aliyundoc.com/xx.json

The URL to which you want to receive callback notifications for the detection results. The URL must use the HTTP or HTTPS protocol. If you leave this parameter empty, you must periodically poll for the detection results.

The callback interface must support the POST method, UTF-8 encoded data, and the form parameters checksum and content. Content Moderation sets the checksum and content parameters according to the following rules and formats, and calls your callback interface to return the detection results.

  • checksum: A SHA-256 hash of the concatenated string User UID + seed + content. The user UID is your Alibaba Cloud account ID, which is available in the Alibaba Cloud console. To prevent tampering, regenerate this string on your end and verify it against the received checksum.

    Note

    The user UID must be that of the root account, not a RAM user.

  • content: A JSON string that you must parse. For an example of the content payload, see the sample response in "Query detection results".

Note

After your callback server receives a result notification, it must return an HTTP status code of 200 to indicate success. Any other status code is treated as a failure. If the notification fails, Content Moderation retries up to 16 times until it succeeds. If it still fails after 16 retries, no more attempts are made. We recommend that you check the status of your callback endpoint.

seed

String

No

aabbcc123

A random string used for the signature in the callback notification request.

The string can contain letters, digits, and underscores (_), and must be 64 characters or less. Customize this string to verify the origin of callback requests.

Note

This parameter is required when you use a callback.

cryptType

String

No

SHA256

The digest algorithm applied to the content of callback notifications. When you use callback notifications, Content Moderation concatenates user UID + seed + content into a string, computes its digest using the specified algorithm, and sends the result to your callback URL. Valid values:

  • SHA256 (default)

  • SM3: The HMAC-SM3 algorithm defined by Chinese national cryptographic standards. A hexadecimal string of lowercase letters and digits is returned. For example, abc returns 66c7f0f462eeedd9d1f2d46bdc10e4e24167c4875cf2f7a2297da02b8f4ba8e0 after SM3 computation.

tasks

JSONArray

Yes

Specifies the detection objects. Each element in the JSON array is a struct for a detection task. You can specify up to 100 elements, which means you can submit up to 100 pieces of content for detection at a time. To support 100 elements, you must adjust the number of concurrent tasks to 100 or more. For more information about the structure of each element, see task.

extras

JSONObject

Yes

xxx

Specifies the type of certificate to recognize. The format is {"card":"${CardType}"}. CardType specifies the certificate type. Valid values:

  • business-license: business license

  • id-card-front: ID card portrait side

  • id-card-back: ID card national emblem side

  • passport: passport

  • bank-card: bank card

  • driver-license-front: driver's license front

  • driver-license-back: driver's license back

  • vehicle-license-front: vehicle license front

  • vehicle-license-back: vehicle license back

  • vehicle-num: license plate

  • vehicle-vin: vehicle VIN

  • household-head: household register head of household page

  • household-resident: household register permanent resident page

Table 1. task

Name

Type

Required

Example Value

Description

dataId

String

No

test_data_xxxx

The data ID. Ensure that all IDs in a single request are unique.

url

String

Yes

https://www.aliyundoc.com/test_image_xxxx.png

The URL of the object to detect.

  • A public HTTP or HTTPS URL. The URL cannot exceed 2,048 characters in length.

  • The path of a file stored in an Alibaba Cloud OSS bucket. You must first grant Content Moderation permissions to access the OSS bucket. The OSS bucket must be in the same region as the Content Moderation service. For more information, see Authorize Content Moderation to access an OSS bucket.

    File path format: oss://<bucket-name>.<endpoint>/<object-name>

Asynchronous detection response parameters

Name

Type

Example value

Description

code

Integer

200

The error code. It is the same as the HTTP status code.

For more information, see Common error codes.

msg

String

OK

The response message for the request.

dataId

String

The data ID of the detection object.

Note

If dataId was passed in the detection request, the same dataId is returned here.

taskId

String

img5A@k7a@B4q@6K@d9nfKgOs-1s****

The ID of the detection task.

url

String

https://www.aliyundoc.com/test_image_xxxx.png

The URL of the object to detect.

  • A public HTTP or HTTPS URL. The URL cannot exceed 2,048 characters in length.

  • The path of a file stored in an Alibaba Cloud OSS bucket. You must first grant Content Moderation permissions to access the OSS bucket. The OSS bucket must be in the same region as the Content Moderation service. For more information, see Authorize Content Moderation to access an OSS bucket.

    File path format: oss://<bucket-name>.<endpoint>/<object-name>

extras

JSONObject

xxx

Additional call parameters, which correspond to the extras parameter in the detection request.

Note

This parameter may be adjusted. Do not rely on its return value at this time.

Asynchronous detection examples

Request example

Note

This example shows how to recognize a bank card by setting extras to {"card": "bank-card"}. To recognize other types of certificates, set the value to the corresponding certificate type. For more information, see Asynchronous detection request parameters.

http(s)://[Endpoint]/green/image/asyncscan
&<Common request parameters>
{
    "scenes": [
        "ocr"
    ],
    "extras": {
        "card": "bank-card"
    },
    "tasks": [
        {
            "dataId": "test_data_xxxx",
            "url": "https://www.aliyundoc.com/test_image_xxxx.png"
        }
    ]
}

Successful response example

{
    "code": 200,
    "msg": "OK",
    "requestId": "92AD868A-F5D2-4AEA-96D4-E1273B8E074C",
    "data": [
        {
            "code": 200,
            "msg": "OK",
            "dataId": "test_data_xxxx",
            "taskId": "img5A@k7a@B4q@6K@d9nfKgOs-1s****",
            "url": "https://www.aliyundoc.com/test_image_xxxx.png"
        }
    ]
}

Usage notes for querying asynchronous image detection results

API operation: /green/image/results. This operation queries the results of an asynchronous image detection task.

You can call this operation to query the results of an asynchronous image detection task. For more information about how to construct an HTTP request, see Request structure. You can also use a pre-built HTTP request. For more information, see SDK overview.

  • Billing information:

    This API operation is free of charge.

  • Query timeout:

    Set the polling interval to 30 seconds, which means you query the result 30 seconds after you submit an asynchronous detection task. The result is stored for up to one hour and is discarded if not retrieved within that time.

QPS limit

The queries per second (QPS) limit for this API is 10 per user. Exceeding this limit triggers throttling, which can impact your business. Plan your calls accordingly.

Result query request parameters

Name

Type

Required

Example value

Description

body

JSONArray

Yes

["img5A@k7a@B4q@6K@d9nfKgOs-1sWeLu"]

A list of taskId values for the detection tasks you want to query. The array can contain up to 100 elements.

You can obtain the taskId from the response after you submit a detection task.

Result query response parameters

Name

Type

Example

Description

code

Integer

200

The error code. It is the same as the HTTP status code.

For more information, see Common error codes.

msg

String

OK

The response message for the request.

dataId

String

test_data_xxxx

The data ID of the detection object.

Note

If dataId was passed in the detection request, the same dataId is returned here.

taskId

String

img5A@k7a@B4q@6K@d9nfKgOs-1s****

The ID of the detection task.

url

String

https://www.aliyundoc.com/test_image_xxxx.png

The URL of the object to detect.

  • A public HTTP or HTTPS URL. The URL cannot exceed 2,048 characters in length.

  • The path of a file stored in an Alibaba Cloud OSS bucket. You must first grant Content Moderation permissions to access the OSS bucket. The OSS bucket must be in the same region as the Content Moderation service. For more information, see Authorize Content Moderation to access an OSS bucket.

    File path format: oss://<bucket-name>.<endpoint>/<object-name>

extras

JSONObject

xxx

Additional call parameters, which correspond to the extras parameter in the detection request.

Note

This parameter may be adjusted. Do not rely on its return value at this time.

results

Array

The returned results. When the call is successful (code=200), the response contains one or more elements. Each element is a struct. For more information about the structure, see result.

Table 2. result

Name

Type

Example

Description

scene

String

ocr

The detection scenario. The value is ocr.

label

String

ocr

The category of the detection result. Valid values:

  • normal: No text is recognized in the image.

  • ocr: Text is present in the image.

suggestion

String

review

The recommended user action. Valid values:

  • pass: No need to review the result.

  • review: Review the recognized text.

rate

Float

99.91

In the OCR scenario, you can ignore this return value.

businessLicenseInfo

Object

The recognized business license information. For more information about the structure, see businssLicenseInfo.

Note

This result is returned only when extras is set to {"card":"business-license"} in the asynchronous detection request.

idCardInfo

Object

The recognized ID card information. For more information about the structure, see idCardInfo.

Note

This result is returned only when extras is set to {"card":"id-card-front"} or {"card":"id-card-back"} in the asynchronous detection request.

passportInfo

Object

The recognized passport information. For more information about the structure, see passportInfo.

Note

This result is returned only when extras is set to {"card":"passport"} in the asynchronous detection request.

bankCardInfo

Object

The recognized bank card information. For more information about the structure, see bankCardInfo.

Note

This result is returned only when extras is set to {"card":"bank-card"} in the asynchronous detection request.

driverLicenseFrontInfo

Object

The recognized information from the front of a driver's license. For more information about the structure, see driverLicenseFrontInfo.

Note

This result is returned only when extras is set to {"card":"driver-license-front"} in the asynchronous detection request.

driverLicenseBackInfo

Object

The recognized information from the back of a driver's license. For more information about the structure, see driverLicenseBackInfo.

Note

This result is returned only when extras is set to {"card":"driver-license-back"} in the asynchronous detection request.

vehicleLicenseFrontInfo

Object

The recognized information from the front of a vehicle license. For more information about the structure, see vehicleLicenseFrontInfo.

Note

This result is returned only when extras is set to {"card":"vehicle-license-front"} in the asynchronous detection request.

vehicleLicenseBackInfo

Object

The recognized information from the back of a vehicle license. For more information about the structure, see vehicleLicenseBackInfo.

Note

This result is returned only when extras is set to {"card":"vehicle-license-back"} in the asynchronous detection request.

vehicleNumInfo

Object

The recognized license plate information. For more information about the structure, see vehicleNumInfo.

Note

This result is returned only when extras is set to {"card":"vehicle-num"} in the asynchronous detection request.

vehicleVinInfo

Object

The recognized vehicle VIN information. For more information about the structure, see vehicleVinInfo.

Note

This result is returned only when extras is set to {"card":"vehicle-vin"} in the asynchronous detection request.

ocrCardInfo

Object

The recognized OCR information from other certificates. For more information about the structure, see ocrCardInfo.

Note

This result is returned only when extras is set to one of the following values in the asynchronous detection request:

  • {"card":"household-head"}: Returns information from the head of household page of a household register.

  • {"card":"household-resident"}: Returns information from the permanent resident page of a household register.

Table 3. Business license information (businessLicenseInfo)

Name

Type

Example value

Description

companyName

String

xxx Technology Co., Ltd.

The company name.

companyType

String

Limited liability company

The company type.

legalPerson

String

Zhang XX

The legal person.

establishDate

String

January 01, 2000

The registration date.

vaildPeriod

String

January 01, 2030

The business expiration date.

address

String

xxx

The address.

capital

String

xxx

The registered capital.

business

String

Computer software and hardware development

The business scope.

copy

Boolean

false

Specifies whether it is a replica. Valid values:

  • true: yes

  • false: no

copyId

String

xxx

The copy number.

certSN

String

xxx

The certificate number.

creditCode

String

xxx

The Unified Social Credit Code.

organizationCode

String

xxx

The organization code.

taxCode

String

xxx

The tax registration number.

companySN

String

xxx

The company number.

composition

String

xxx

The composition form.

paidInCapital

String

xxx

The paid-in capital.

Table 4. ID card information (idCardInfo)

Name

Type

Sample value

Description

name

String

Zhang XX

The name.

nationality

String

Han

The nationality.

number

String

5****************9

The ID card number.

birth

String

2022-01-01

The date of birth. Format: YYYY-MM-DD.

address

String

xxx

The address.

authority

String

xxx

The issuing authority.

startDate

String

2022-06-30

The start date of the validity period. Format: YYYY-MM-DD.

endDate

String

2032-06-30

The end date of the validity period. Format: YYYY-MM-DD.

Note

This parameter may return the value Long-term.

angle

Float

96.2

The clockwise rotation angle of the certificate.

copy

Boolean

false

Indicates whether the ID card photo is a photocopy. Valid values:

  • true: yes

  • false: no

Note

This parameter is not returned by default. To have this parameter returned, contact your account manager.

remake

Boolean

false

Indicates whether the ID card photo is a photo of a photo. Valid values:

  • true: yes

  • false: no

Note

This parameter is not returned by default. To have this parameter returned, contact your account manager.

type

String

front

The certificate type. Valid values:

  • front: ID card portrait side

  • back: ID card national emblem side

  • front_back: normal ID card with portrait and national emblem sides on the same page

  • interim_front: temporary ID card portrait side

  • interim_back: temporary ID card national emblem side

  • interim_front_back: temporary ID card with portrait and national emblem sides on the same page

numberValid

Boolean

true

Indicates whether the certificate number is valid. Valid values:

  • true: yes

  • false: no

    Note

    If the length is incorrect or the number does not comply with national standards, false is returned.

Table 5. Passport information (passportInfo)

Name

Type

Example

Description

authority

String

xxx

The issuing authority.

birthDate

String

January 01, 2020

The date of birth.

birthDay

String

January 01

The birthday.

birthPlace

String

xxx

The place of birth.

birthPlaceRaw

String

xxx

The place of birth (in letters).

expireDate

String

January 01, 2030

The expiration date.

expireDay

String

January 01

The expiration day.

issueDate

String

January 01, 2022

The date of issue.

issuePlace

String

xxx

The place of issue.

issuePlaceRaw

String

xxx

The place of issue (in letters).

name

String

Wang xx

The name.

cnName

String

xxx

The Chinese name.

cnNameRaw

String

xxx

The Chinese name (in letters).

personId

String

5****************9

The identity ID.

srcCountry

String

China

The nationality.

type

String

xxx

The type.

line0

String

xxx

The first line at the bottom.

line1

String

xxx

The second line at the bottom.

surname

String

Wang

The surname.

givenName

String

xx

The given name.

Table 6. Bank card information (bankCardInfo)

Name

Type

Example

Description

bankCardNum

String

622576888888****

The bank card number.

Table 7. Driver's license front information (driverLicenseFrontInfo)

Name

Type

Example

Description

name

String

Zhang XX

The name.

number

String

123xxxxxxxxxxxxxxxx

The driver's license number.

address

String

No. xx, xx Street, xx District, xx City, xx Province

The address.

vehicleType

String

C1

The allowed vehicle type.

validStartDate

String

2022-01-01

The start date of the validity period. Format: YYYY-MM-DD.

validEndDate

String

2028-01-01

The end date of the validity period. Format: YYYY-MM-DD.

Table 8. Driver's license back information (driverLicenseBackInfo)

Name

Type

Example

Description

archiveNum

String

xxx

The archive number.

Table 9. Vehicle license front information (vehicleLicenseFrontInfo)

Name

Type

Example

Description

plateNum

String

Shaanxxxxxx

The license plate number.

vehicleType

String

Small ordinary passenger car

The vehicle type.

owner

String

Zhang XX

The owner's name.

useCharacter

String

Non-commercial

The vehicle usage character.

address

String

No. xx, xx Street, xx District, xx City, xx Province

The address.

model

String

Dongfeng Nissan ABCxxxxx

The vehicle brand.

vin

String

ABCxxxxxxxx1234

The vehicle identification number.

engineNum

String

12xxxxA

The engine number.

registerDate

String

2022-01-01

The registration date. Format: YYYY-MM-DD.

issueDate

String

2022-01-01

The date of issue. Format: YYYY-MM-DD.

Table 10. Vehicle license back information (vehicleLicenseBackInfo)

Name

Type

Example value

Description

plateNum

String

ShaanAxxxxx

The license plate number.

fileNum

String

12345678****

The file number.

appprovedPassengerCapacity

Integer

xxx

The approved passenger capacity.

grossMass

String

xxx

The gross mass.

unladenMass

String

xxx

The unladen mass.

approvedLoad

String

xxx

The approved load.

tractionMass

String

xxx

Gross Combination Weight Rating

inspectionRecord

String

1

The inspection record.

overallDimension

Object

The vehicle outline dimension information. For more information about the structure, see the following overallDimension table.

Table 11. overallDimension

Name

Type

Example

Description

length

Integer

4000

The vehicle length, in millimeters.

width

Integer

2000

The vehicle width, in millimeters.

height

Integer

1000

The vehicle height, in millimeters.

Table 12. License plate information (VehicleNumInfo)

Name

Type

Example

Description

num

String

ShaanAxxxxx

The license plate number.

rate

Float

99.01

The confidence level of the license plate number. The value ranges from 0 to 100. A higher value indicates a higher confidence level.

vehicleType

String

Small car

The license plate type. Valid values:

  • Small car

  • New energy vehicle

  • Large car

  • Trailer

  • Coach car

  • Police car

  • Military vehicle

  • Embassy or consulate vehicle

  • Hong Kong or Macao vehicle

vehicleTypeRate

Float

99.01

The confidence level of the license plate type. The value ranges from 0 to 100. A higher value indicates a higher confidence level.

Table 13. Vehicle VIN information (VehicleVinInfo)

Name

Type

Example value

Description

vin

String

ABCxxxxxxxx1234

The VIN.

ocrCardInfo

  • Table 14. Household register head of household page information

    Name

    Type

    Example Value

    Description

    locationNumber

    String

    xxx

    The lot number.

    issueDate

    String

    January 01, 2022

    The date of issue.

    householdType

    String

    Resident household

    The household type.

    houseHolder

    String

    Zhang XX

    The name of the head of household.

    address

    String

    Guangxi xxx

    The address.

    community

    String

    xxx

    The community of the head of household.

    householdNumber

    String

    xxx

    The household number.

    undertaker

    String

    xxx

    The seal of the undertaker.

    type

    String

    household-head

    The type of the card or certificate. The value is fixed at household-head, which indicates the head of household page of the household register.

  • Table 15. Household register permanent resident page information

    Name

    Type

    Example value

    Description

    occupation

    String

    Grain farmer

    The occupation.

    migrationDate1

    String

    January 01, 2022

    When and from where the person moved to this address.

    idNumber

    String

    5****************9

    The ID card number.

    education

    String

    Junior high school

    The education level.

    birthPlace

    String

    xxx

    The place of birth.

    servicePremises

    String

    xxx

    The service premises.

    householdNumber

    String

    xxx

    The household number.

    hometown

    String

    Chengdu, Sichuan

    The hometown.

    name

    String

    Zhang XX

    The name.

    formerName

    String

    xxx

    The former name.

    maritalStatus

    String

    Unmarried

    The marital status.

    nation

    String

    Han

    Ethnic group.

    otherAddress

    String

    xxx

    Other address in this city.

    birthday

    String

    January 01, 2020

    The date of birth.

    militaryService

    String

    xxx

    The military service status.

    relationTo

    String

    Head of household

    The relationship to the head of household.

    religion

    String

    xxx

    The religious belief.

    bloodType

    String

    B

    The blood type.

    registerDate

    String

    February 06, 2023

    The registration date.

    height

    String

    xxx

    The height.

    migrationDate2

    String

    Moved from xx County, xx Township, xx Village, xx

    When and from where the person moved to this city.

    undertaker

    String

    xxx

    The seal of the undertaker.

    type

    String

    household-resident

    The type of the card or certificate. The value is fixed at household-resident, which indicates the permanent resident page of the household register.

Result query examples

Request example

http(s)://[Endpoint]/green/image/results
&<Common request parameters>
[
    "img5A@k7a@B4q@6K@d9nfKgOs-1s****"
]

Successful response examples

  • Bank card information

    {
        "code": 200,
        "data": [
            {
                "code": 200,
                "dataId": "test_data_xxxx",
                "extras": {
    
                },
                "msg": "OK",
                "results": [
                    {
                        "bankCardInfo": {
                            "bankCardNum": "622576888888****"
                        },
                        "label": "ocr",
                        "rate": 99.91,
                        "scene": "ocr",
                        "suggestion": "review"
                    }
                ],
                "taskId": "img5A@k7a@B4q@6K@d9nfKgOs-1s****",
                "url": "https://www.aliyundoc.com/test_image_xxxx.png"
            }
        ],
        "msg": "success",
        "requestId": "1a2faf93-dd41-47d8-95ad-bdf6226540e4"
    }
  • Household register (head of household page) information

    {
        "msg": "OK",
        "code": 200,
        "data": [
            {
                "msg": "OK",
                "code": 200,
                "dataId": "test_data_xxxx",
                "extras": {
    
                },
                "results": [
                    {
                        "rate": 99.91,
                        "suggestion": "review",
                        "label": "ocr",
                        "ocrCardInfo": {
                            "houseHolder": "Resident household",
                            "address": "Guangxi XXXXXX",
                            "type": "household-head",
                            "locationNumber": "",
                            "issueDate": "Guangxi XXX",
                            "community": "",
                            "householdNumber": "",
                            "householdType": "XXX",
                            "undertaker": "Han"
                        },
                        "scene": "ocr"
                    }
                ],
                "taskId": "img5A@k7a@B4q@6K@d9nfKgOs-1s****",
                "url": "https://www.aliyundoc.com/test_image_xxxx.png"
            }
        ],
        "requestId": "6162F805-A6B9-446C-9B7C-5F26CFB03D89"
    }
  • Household register (permanent resident page) information

    {
        "msg": "OK",
        "code": 200,
        "data": [
            {
                "msg": "OK",
                "code": 200,
                "dataId": "test_data_xxxx",
                "extras": {
    
                },
                "results": [
                    {
                        "rate": 99.91,
                        "suggestion": "review",
                        "label": "ocr",
                        "ocrCardInfo": {
                            "birthday": "January 01, 2020",
                            "hometown": "Sichuan Chengdu",
                            "occupation": "Grain farmer",
                            "education": "Junior high school",
                            "nation": "Han",
                            "militaryService": "",
                            "relationTo": "Head of household",
                            "type": "household-resident",
                            "idNumber": "12345620200101****",
                            "bloodType": "",
                            "householdNumber": "",
                            "religion": "",
                            "undertaker": "XXX",
                            "birthPlace": "XX Province XX",
                            "migrationDate1": "ivzi.03.zoMoved from XX County, XX Township, XX Village XX",
                            "migrationDate2": "",
                            "otherAddress": "",
                            "servicePremises": "",
                            "name": "Zhi Xiaobao",
                            "formerName": "",
                            "maritalStatus": "",
                            "registerDate": "February 06, 2023",
                            "height": ""
                        },
                        "scene": "ocr"
                    }
                ],
                "taskId": "img5A@k7a@B4q@6K@d9nfKgOs-1s****",
                "url": "https://www.aliyundoc.com/test_image_xxxx.png"
            }
        ],
        "requestId": "AE11413F-1AE4-4147-8807-2F7673D67D72"
    }