public class RecognizeThaiPinkCardRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
RecognizeThaiPinkCardRequest()  | 
RecognizeThaiPinkCardRequest(RecognizeThaiPinkCardRequest 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 Whether to crop the profile photo. 
 | 
String | 
getImageBase64()
Get The Base64-encoded value of an image. 
 | 
String | 
getImageUrl()
Get The URL of the image. 
 | 
void | 
setCropPortrait(Boolean CropPortrait)
Set Whether to crop the profile photo. 
 | 
void | 
setImageBase64(String ImageBase64)
Set The Base64-encoded value of an image. 
 | 
void | 
setImageUrl(String ImageUrl)
Set The URL of the 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 RecognizeThaiPinkCardRequest()
public RecognizeThaiPinkCardRequest(RecognizeThaiPinkCardRequest source)
public String getImageBase64()
public void setImageBase64(String ImageBase64)
ImageBase64 - The Base64-encoded value of an image. The image cannot exceed 7 MB after being Base64-encoded. A resolution above 500 x 800 is recommended. PNG, JPG, JPEG, and BMP formats are supported. It is recommended that the card part occupy more than 2/3 area of the image.
Either `ImageUrl` or `ImageBase64` of the image must be provided. If both are provided, `ImageUrl` is used.public String getImageUrl()
public void setImageUrl(String ImageUrl)
ImageUrl - The URL of the image. The image cannot exceed 7 MB after being Base64-encoded. A resolution above 500 x 800 is recommended. PNG, JPG, JPEG, and BMP formats are supported. It is recommended that the card part occupy more than 2/3 area of the image.
We recommend that you store the image in Tencent Cloud for higher download speed and stability.public Boolean getCropPortrait()
public void setCropPortrait(Boolean CropPortrait)
CropPortrait - Whether to crop the profile photo. The default value is `false`, meaning not to return the Base64-encoded value of the profile photo on the Thai identity card.
When this parameter is set to `true`, the Base64-encoded value of the profile photo on the Thai identity card after rotation correction is returned.Copyright © 2025. All rights reserved.