public class DriverLicenseOCRRequest extends AbstractModel
Constructor and Description |
---|
DriverLicenseOCRRequest() |
DriverLicenseOCRRequest(DriverLicenseOCRRequest 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 |
getCardSide()
Get FRONT 为驾驶证主页正面(有红色印章的一面),
BACK 为驾驶证副页正面(有档案编号的一面)。
默认值为:FRONT。
|
String |
getImageBase64()
Get 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
String |
getImageUrl()
Get 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
void |
setCardSide(String CardSide)
Set FRONT 为驾驶证主页正面(有红色印章的一面),
BACK 为驾驶证副页正面(有档案编号的一面)。
默认值为:FRONT。
|
void |
setImageBase64(String ImageBase64)
Set 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
void |
setImageUrl(String ImageUrl)
Set 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
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 DriverLicenseOCRRequest()
public DriverLicenseOCRRequest(DriverLicenseOCRRequest source)
public String getImageBase64()
public void setImageBase64(String ImageBase64)
ImageBase64
- 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。public String getImageUrl()
public void setImageUrl(String ImageUrl)
ImageUrl
- 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
建议图片存储于腾讯云,可保障更高的下载速度和稳定性。public String getCardSide()
public void setCardSide(String CardSide)
CardSide
- FRONT 为驾驶证主页正面(有红色印章的一面),
BACK 为驾驶证副页正面(有档案编号的一面)。
默认值为:FRONT。Copyright © 2021. All rights reserved.