public class BankCardOCRRequest extends AbstractModel
Constructor and Description |
---|
BankCardOCRRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getImageBase64()
Get Base64-encoded value of image.
|
String |
getImageUrl()
Get URL address of the image.
|
void |
setImageBase64(String ImageBase64)
Set Base64-encoded value of image.
|
void |
setImageUrl(String ImageUrl)
Set URL address of the image.
|
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 String getImageBase64()
public void setImageBase64(String ImageBase64)
ImageBase64
- Base64-encoded value of image.
Supported image formats: PNG, JPG, JPEG. GIF is currently not supported.
Supported image size: the downloaded image cannot exceed 7 MB in size after being Base64-encoded. The download time of the image cannot exceed 3 seconds.
Either the `ImageUrl` or `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
- URL address of the image.
Supported image formats: PNG, JPG, JPEG. GIF is currently not supported.
Supported image size: the downloaded image cannot exceed 7 MB in size after being Base64-encoded. The download time of the image cannot exceed 3 seconds.
It is recommended to store the image in Tencent Cloud, as a Tencent Cloud URL can guarantee higher download speed and stability.
The download speed and stability of non-Tencent Cloud URLs may be low.Copyright © 2020. All rights reserved.