public class RecognizeSingaporeIDCardOCRRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
RecognizeSingaporeIDCardOCRRequest()  | 
RecognizeSingaporeIDCardOCRRequest(RecognizeSingaporeIDCardOCRRequest 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 | 
getImageBase64()
Get The Base64 value of the image. 
 | 
String | 
getImageUrl()
Get The URL address of the image. 
 | 
Boolean | 
getReturnHeadImage()
Get Whether to return portrait photos. 
 | 
void | 
setImageBase64(String ImageBase64)
Set The Base64 value of the image. 
 | 
void | 
setImageUrl(String ImageUrl)
Set The URL address of the image. 
 | 
void | 
setReturnHeadImage(Boolean ReturnHeadImage)
Set Whether to return portrait photos. 
 | 
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 RecognizeSingaporeIDCardOCRRequest()
public RecognizeSingaporeIDCardOCRRequest(RecognizeSingaporeIDCardOCRRequest source)
public String getImageBase64()
public void setImageBase64(String ImageBase64)
ImageBase64 - The Base64 value of the image. The image is required to be no larger than 7M after Base64 encoding, and the resolution is recommended to be 500*800 or above. PNG, JPG, JPEG, and BMP formats are supported. It is recommended that the card part occupies at least 2/3 of the picture. One of ImageUrl and ImageBase64 of the image must be provided. If both are provided, only ImageUrl will be used.public String getImageUrl()
public void setImageUrl(String ImageUrl)
ImageUrl - The URL address of the image. The image is required to be no larger than 7M after Base64 encoding, and the resolution is recommended to be 500*800 or above. PNG, JPG, JPEG, and BMP formats are supported. It is recommended that the card part occupies at least 2/3 of the picture. It is recommended that images be stored in Tencent Cloud to ensure higher download speed and stability.public Boolean getReturnHeadImage()
public void setReturnHeadImage(Boolean ReturnHeadImage)
ReturnHeadImage - Whether to return portrait photos.Copyright © 2025. All rights reserved.