public class RecognizeKoreanIDCardOCRRequest extends AbstractModel
Constructor and Description |
---|
RecognizeKoreanIDCardOCRRequest() |
RecognizeKoreanIDCardOCRRequest(RecognizeKoreanIDCardOCRRequest 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-encoded value of the image.
|
String |
getImageUrl()
Get The URL of the image.
|
Boolean |
getReturnHeadImage()
Get Whether to return the identity photo.
|
void |
setImageBase64(String ImageBase64)
Set The Base64-encoded value of the image.
|
void |
setImageUrl(String ImageUrl)
Set The URL of the image.
|
void |
setReturnHeadImage(Boolean ReturnHeadImage)
Set Whether to return the 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, toJsonString
public RecognizeKoreanIDCardOCRRequest()
public RecognizeKoreanIDCardOCRRequest(RecognizeKoreanIDCardOCRRequest source)
public String getImageBase64()
public void setImageBase64(String ImageBase64)
ImageBase64
- The Base64-encoded value of the image.
Supported image formats: PNG, JPG, and JPEG. GIF is currently not supported.
Supported image size: The downloaded image after Base64 encoding can be up to 7 MB. The download time of the image cannot exceed 3s.
Either `ImageUrl` or `ImageBase64` of the image must be provided. If both are provided, only `ImageUrl` is used.public String getImageUrl()
public void setImageUrl(String ImageUrl)
ImageUrl
- The URL of the image.
Supported image formats: PNG, JPG, and JPEG. GIF is currently not supported.
Supported image size: The downloaded image after Base64 encoding can be up to 7 MB. The download time of the image cannot exceed 3s.
We recommend that you store the image in Tencent Cloud for higher download speed and stability.
The download speed and stability of non-Tencent Cloud URLs may be low.public Boolean getReturnHeadImage()
public void setReturnHeadImage(Boolean ReturnHeadImage)
ReturnHeadImage
- Whether to return the identity photo.Copyright © 2023. All rights reserved.