public class RecognizeBrazilDriverLicenseOCRRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
RecognizeBrazilDriverLicenseOCRRequest() |
RecognizeBrazilDriverLicenseOCRRequest(RecognizeBrazilDriverLicenseOCRRequest 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 The Base64 value of the image.
|
String |
getBackImageUrl()
Get The URL address of the image.
|
Boolean |
getCropPortrait()
Get Picture switch.
|
String |
getImageBase64()
Get The Base64 value of the image.
|
String |
getImageUrl()
Get The URL address of the image.
|
void |
setBackImageBase64(String BackImageBase64)
Set The Base64 value of the image.
|
void |
setBackImageUrl(String BackImageUrl)
Set The URL address of the image.
|
void |
setCropPortrait(Boolean CropPortrait)
Set Picture switch.
|
void |
setImageBase64(String ImageBase64)
Set The Base64 value of the image.
|
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 RecognizeBrazilDriverLicenseOCRRequest()
public RecognizeBrazilDriverLicenseOCRRequest(RecognizeBrazilDriverLicenseOCRRequest source)
public String getImageBase64()
public void setImageBase64(String ImageBase64)
ImageBase64
- The Base64 value of the image. It is required that the image after Base64 encoding should not exceed 7M, the resolution is recommended to be 500*800 or above, and 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 getBackImageBase64()
public void setBackImageBase64(String BackImageBase64)
BackImageBase64
- The Base64 value of the image. It is required that the image after Base64 encoding should not exceed 7M, the resolution is recommended to be 500*800 or above, and 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. It is required that the image after Base64 encoding should not exceed 7M, the resolution is recommended to be 500*800 or above, and 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 String getBackImageUrl()
public void setBackImageUrl(String BackImageUrl)
BackImageUrl
- The URL address of the image. It is required that the image after Base64 encoding should not exceed 7M, the resolution is recommended to be 500*800 or above, and 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 getCropPortrait()
public void setCropPortrait(Boolean CropPortrait)
CropPortrait
- Picture switch. The default is false, and the base64 encoding of the avatar photo is not returned. When set to true, the base64 encoding of the portrait photo is returned.Copyright © 2025. All rights reserved.