public class MLIDCardOCRRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
MLIDCardOCRRequest() |
MLIDCardOCRRequest(MLIDCardOCRRequest 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 value of the image on the back of the card.
|
String |
getBackImageUrl()
Get The URL address of the image on the back of the card.
|
String |
getImageBase64()
Get The Base64-encoded value of an image.
|
String |
getImageUrl()
Get The URL of an image.
|
Boolean |
getRetImage()
Get Whether to return an image.
|
void |
setBackImageBase64(String BackImageBase64)
Set Base64 value of the image on the back of the card.
|
void |
setBackImageUrl(String BackImageUrl)
Set The URL address of the image on the back of the card.
|
void |
setImageBase64(String ImageBase64)
Set The Base64-encoded value of an image.
|
void |
setImageUrl(String ImageUrl)
Set The URL of an image.
|
void |
setRetImage(Boolean RetImage)
Set Whether to return an 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, toJsonString
public MLIDCardOCRRequest()
public MLIDCardOCRRequest(MLIDCardOCRRequest source)
public String getImageBase64()
public void setImageBase64(String ImageBase64)
ImageBase64
- The Base64-encoded value of an 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.public String getBackImageBase64()
public void setBackImageBase64(String BackImageBase64)
BackImageBase64
- Base64 value of the image on the back of the card. Supported image formats: PNG, JPG, JPEG, GIF format is not supported yet. Supported image size: The downloaded image cannot exceed 7M after Base64 encoding. The image download takes no more than 3 seconds. 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 of an image. (This field is not available outside the Chinese mainland.)
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.
For a non-Tencent Cloud URL, the download speed and stability may be low.public String getBackImageUrl()
public void setBackImageUrl(String BackImageUrl)
BackImageUrl
- The URL address of the image on the back of the card. Supported image formats: PNG, JPG, JPEG, GIF format is not supported yet. Supported image size: The downloaded image does not exceed 7M after Base64 encoding. The image download takes no more than 3 seconds. Storing images in Tencent Cloud URLs can ensure higher download speed and stability. It is recommended that images be stored in Tencent Cloud. The URL speed and stability of non-Tencent cloud storage may be affected to a certain extent.public Boolean getRetImage()
public void setRetImage(Boolean RetImage)
RetImage
- Whether to return an image. Default value: `false`.Copyright © 2025. All rights reserved.