public class MLIDPassportOCRRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| MLIDPassportOCRRequest() | 
| MLIDPassportOCRRequest(MLIDPassportOCRRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getImageBase64()Get Base64-encoded value of image. | 
| String | getImageUrl()Get URL address of image. | 
| Boolean | getRetImage()Get Whether to return an image. | 
| void | setImageBase64(String ImageBase64)Set Base64-encoded value of image. | 
| void | setImageUrl(String ImageUrl)Set URL address of image. | 
| void | setRetImage(Boolean RetImage)Set Whether to return an image. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic MLIDPassportOCRRequest()
public MLIDPassportOCRRequest(MLIDPassportOCRRequest source)
public String getImageBase64()
public void setImageBase64(String ImageBase64)
ImageBase64 - Base64-encoded value of image. The image cannot exceed 7 MB in size after being Base64-encoded. A resolution above 500x800 is recommended. PNG, JPG, JPEG, BMP, and PDF formats are supported. It is recommended that the card part occupies more than 2/3 area of the image.public Boolean getRetImage()
public void setRetImage(Boolean RetImage)
RetImage - Whether to return an image. 
Default value: false.public String getImageUrl()
public void setImageUrl(String ImageUrl)
ImageUrl - URL address of image. (This field is not supported outside Chinese mainland)
Supported image formats: PNG, JPG, JPEG, BMP, PDF.
Supported image size: the downloaded image cannot exceed 7 MB after being Base64-encoded. The download time of the image cannot exceed 3 seconds.
We recommend you store the image in Tencent Cloud, as a Tencent Cloud URL can guarantee higher download speed and stability.
The download speed and stability of non-Tencent Cloud URLs may be low.Copyright © 2025. All rights reserved.