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 | 
|---|---|
| String | getBackImageBase64()Get 卡证背面图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。 | 
| String | getBackImageUrl()Get 卡证背面图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。 | 
| Boolean | getCropPortrait()Get 图片开关。默认为false,不返回泰国身份证头像照片的base64编码。
设置为true时,返回旋转矫正后的泰国身份证头像照片的base64编码 | 
| String | getImageBase64()Get 图片的 Base64 值。要求图片经Base64编码后不超过 10M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。 | 
| String | getImageUrl()Get 图片的 Url 地址。要求图片经Base64编码后不超过 10M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。建议图片存储于腾讯云,可保障更高的下载速度和稳定性。 | 
| void | setBackImageBase64(String BackImageBase64)Set 卡证背面图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。 | 
| void | setBackImageUrl(String BackImageUrl)Set 卡证背面图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。 | 
| void | setCropPortrait(Boolean CropPortrait)Set 图片开关。默认为false,不返回泰国身份证头像照片的base64编码。
设置为true时,返回旋转矫正后的泰国身份证头像照片的base64编码 | 
| void | setImageBase64(String ImageBase64)Set 图片的 Base64 值。要求图片经Base64编码后不超过 10M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。 | 
| void | setImageUrl(String ImageUrl)Set 图片的 Url 地址。要求图片经Base64编码后不超过 10M,分辨率建议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, toJsonStringpublic RecognizeThaiIDCardOCRRequest()
public RecognizeThaiIDCardOCRRequest(RecognizeThaiIDCardOCRRequest source)
public String getImageBase64()
public void setImageBase64(String ImageBase64)
ImageBase64 - 图片的 Base64 值。要求图片经Base64编码后不超过 10M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。public String getBackImageBase64()
public void setBackImageBase64(String BackImageBase64)
BackImageBase64 - 卡证背面图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。public String getImageUrl()
public void setImageUrl(String ImageUrl)
ImageUrl - 图片的 Url 地址。要求图片经Base64编码后不超过 10M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。建议图片存储于腾讯云,可保障更高的下载速度和稳定性。public String getBackImageUrl()
public void setBackImageUrl(String BackImageUrl)
BackImageUrl - 卡证背面图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。public Boolean getCropPortrait()
public void setCropPortrait(Boolean CropPortrait)
CropPortrait - 图片开关。默认为false,不返回泰国身份证头像照片的base64编码。
设置为true时,返回旋转矫正后的泰国身份证头像照片的base64编码Copyright © 2025. All rights reserved.