public class SealOCRRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| SealOCRRequest() | 
| SealOCRRequest(SealOCRRequest 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. | 
| void | setImageBase64(String ImageBase64)Set The Base64-encoded value of an image. | 
| void | setImageUrl(String ImageUrl)Set The URL 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, toJsonStringpublic SealOCRRequest()
public SealOCRRequest(SealOCRRequest source)
public String getImageBase64()
public void setImageBase64(String ImageBase64)
ImageBase64 - The Base64-encoded value of an image. The image cannot exceed 7 MB after being Base64-encoded. A resolution above 500 x 800 is recommended. PNG, JPG, JPEG, and BMP formats are supported. It is recommended that the card part occupy more than 2/3 area of the image.
Either `ImageUrl` or `ImageBase64` of the image must be provided. If both are provided, `ImageUrl` is used.public String getImageUrl()
public void setImageUrl(String ImageUrl)
ImageUrl - The URL of the image. The image cannot exceed 7 MB after being Base64-encoded. A resolution above 500 x 800 is recommended. PNG, JPG, JPEG, and BMP formats are supported. It is recommended that the card part occupy more than 2/3 area of the image. 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.Copyright © 2024. All rights reserved.