public class HKIDCardOCRRequest extends AbstractModel
| Constructor and Description | 
|---|
| HKIDCardOCRRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| Boolean | getDetectFake()Get Whether to check for authenticity. | 
| String | getImageBase64()Get Base64-encoded value of image. | 
| String | getImageUrl()Get URL of the image. | 
| Boolean | getReturnHeadImage()Get Whether to return identity photo. | 
| void | setDetectFake(Boolean DetectFake)Set Whether to check for authenticity. | 
| void | setImageBase64(String ImageBase64)Set Base64-encoded value of image. | 
| void | setImageUrl(String ImageUrl)Set URL of the image. | 
| void | setReturnHeadImage(Boolean ReturnHeadImage)Set Whether to return identity photo. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic Boolean getDetectFake()
public void setDetectFake(Boolean DetectFake)
DetectFake - Whether to check for authenticity.public Boolean getReturnHeadImage()
public void setReturnHeadImage(Boolean ReturnHeadImage)
ReturnHeadImage - Whether to return identity photo.public String getImageBase64()
public void setImageBase64(String ImageBase64)
ImageBase64 - Base64-encoded value of image.
Supported image formats: PNG, JPG, JPEG. GIF is currently not supported.
Supported image size: the downloaded image cannot exceed 3 MB in size after being Base64-encoded. The download time of the image cannot exceed 3 seconds.public String getImageUrl()
public void setImageUrl(String ImageUrl)
ImageUrl - URL of the image.
Supported image formats: PNG, JPG, JPEG. GIF is currently not supported.
Supported image size: the downloaded image cannot exceed 3 MB in size after being Base64-encoded. The download time of the image cannot exceed 3 seconds.
We recommend storing 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 © 2020. All rights reserved.