public class RecognizeThaiIDCardOCRRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
RecognizeThaiIDCardOCRRequest() |
RecognizeThaiIDCardOCRRequest(RecognizeThaiIDCardOCRRequest 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 |
getCropPortrait()
Get 图片开关。默认为false,不返回泰国身份证头像照片的base64编码。
设置为true时,返回旋转矫正后的泰国身份证头像照片的base64编码
|
String |
getImageBase64()
Get 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
String |
getImageUrl()
Get 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
void |
setCropPortrait(Boolean CropPortrait)
Set 图片开关。默认为false,不返回泰国身份证头像照片的base64编码。
设置为true时,返回旋转矫正后的泰国身份证头像照片的base64编码
|
void |
setImageBase64(String ImageBase64)
Set 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
void |
setImageUrl(String ImageUrl)
Set 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public RecognizeThaiIDCardOCRRequest()
public RecognizeThaiIDCardOCRRequest(RecognizeThaiIDCardOCRRequest source)
public String getImageBase64()
public void setImageBase64(String ImageBase64)
ImageBase64
- 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。public String getImageUrl()
public void setImageUrl(String ImageUrl)
ImageUrl
- 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
建议图片存储于腾讯云,可保障更高的下载速度和稳定性。public Boolean getCropPortrait()
public void setCropPortrait(Boolean CropPortrait)
CropPortrait
- 图片开关。默认为false,不返回泰国身份证头像照片的base64编码。
设置为true时,返回旋转矫正后的泰国身份证头像照片的base64编码Copyright © 2024. All rights reserved.