public class RecognizeMacaoIDCardOCRRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
RecognizeMacaoIDCardOCRRequest() |
RecognizeMacaoIDCardOCRRequest(RecognizeMacaoIDCardOCRRequest 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 |
getConfig()
Get The following optional fields are of string type and are empty by default:
RetImage: whether to return the processed image (base64 encrypted string); the value and meaning of RetImage are as follows: 1.portrait Return portrait image data 2."" Do not return image data SDK setting method reference: Config = Json.stringify({"RetImage":"portrait"}) API 3.0 Explorer setting method reference: Config = {"RetImage":"portrait" }
|
String |
getImageBase64()
Get Base64 value of the image.Supported image formats: PNG, JPG, JPEG.
|
String |
getImageUrl()
Get The URL address of the 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 |
setConfig(String Config)
Set The following optional fields are of string type and are empty by default:
RetImage: whether to return the processed image (base64 encrypted string); the value and meaning of RetImage are as follows: 1.portrait Return portrait image data 2."" Do not return image data SDK setting method reference: Config = Json.stringify({"RetImage":"portrait"}) API 3.0 Explorer setting method reference: Config = {"RetImage":"portrait" }
|
void |
setImageBase64(String ImageBase64)
Set Base64 value of the image.Supported image formats: PNG, JPG, JPEG.
|
void |
setImageUrl(String ImageUrl)
Set The URL address 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, toJsonString
public RecognizeMacaoIDCardOCRRequest()
public RecognizeMacaoIDCardOCRRequest(RecognizeMacaoIDCardOCRRequest source)
public String getImageUrl()
public void setImageUrl(String ImageUrl)
ImageUrl
- The URL address of the image.
Supported image formats: PNG, JPG, JPEG. Not support GIF yet.
Supported image size: The downloaded image should not exceed 7M. 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 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. The 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 String getImageBase64()
public void setImageBase64(String ImageBase64)
ImageBase64
- Base64 value of the image.Supported image formats: PNG, JPG, JPEG. Not support GIF yet.
Supported image size: The downloaded image should not 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 getBackImageBase64()
public void setBackImageBase64(String BackImageBase64)
BackImageBase64
- Base64 value of the image on the back of the card. Supported image formats: PNG, JPG, JPEG. The 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. One of ImageUrl and ImageBase64 of the image must be provided. If both are provided, only ImageUrl will be used.public String getConfig()
public void setConfig(String Config)
Config
- The following optional fields are of string type and are empty by default:
RetImage: whether to return the processed image (base64 encrypted string); the value and meaning of RetImage are as follows: 1.portrait Return portrait image data 2."" Do not return image data SDK setting method reference: Config = Json.stringify({"RetImage":"portrait"}) API 3.0 Explorer setting method reference: Config = {"RetImage":"portrait" }Copyright © 2024. All rights reserved.