public class RecognizePhilippinesDrivingLicenseOCRRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
RecognizePhilippinesDrivingLicenseOCRRequest() |
RecognizePhilippinesDrivingLicenseOCRRequest(RecognizePhilippinesDrivingLicenseOCRRequest 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 an 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 an 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, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public RecognizePhilippinesDrivingLicenseOCRRequest()
public RecognizePhilippinesDrivingLicenseOCRRequest(RecognizePhilippinesDrivingLicenseOCRRequest 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.
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
- 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.
For a non-Tencent Cloud URL, the download speed and stability may be affected.public Boolean getReturnHeadImage()
public void setReturnHeadImage(Boolean ReturnHeadImage)
ReturnHeadImage
- Whether to return the identity photo.Copyright © 2024. All rights reserved.