public class HKIDCardOCRRequest extends AbstractModel
| Constructor and Description | 
|---|
| HKIDCardOCRRequest() | 
| HKIDCardOCRRequest(HKIDCardOCRRequest 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 | 
|---|---|
| Boolean | getDetectFake()Get Whether to check for authenticity. | 
| String | getImageBase64()Get Base64 string of the image
Supported image formats: PNG, JPG, JPEG. | 
| String | getImageUrl()Get URL address of 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 string of the image
Supported image formats: PNG, JPG, JPEG. | 
| void | setImageUrl(String ImageUrl)Set URL address of 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 HKIDCardOCRRequest()
public HKIDCardOCRRequest(HKIDCardOCRRequest source)
public 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 string of the image
Supported image formats: PNG, JPG, JPEG. GIF is not supported yet.
Supported image size: The downloaded image cannot exceed 7 MB after being Base64-encoded, and it cannot take longer than 3 seconds to download the image.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. GIF is currently not supported.
Supported image size: the downloaded image cannot exceed 3 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 © 2023. All rights reserved.