public class GeneralAccurateOCRRequest extends AbstractModel
Constructor and Description |
---|
GeneralAccurateOCRRequest() |
GeneralAccurateOCRRequest(GeneralAccurateOCRRequest 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 Base64-encoded value of image.
|
String |
getImageUrl()
Get URL address of image.
|
void |
setImageBase64(String ImageBase64)
Set Base64-encoded value of image.
|
void |
setImageUrl(String ImageUrl)
Set URL address of image.
|
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 GeneralAccurateOCRRequest()
public GeneralAccurateOCRRequest(GeneralAccurateOCRRequest source)
public String getImageBase64()
public void setImageBase64(String ImageBase64)
ImageBase64
- Base64-encoded value of image.
The image cannot exceed 7 MB in size after being Base64-encoded. A resolution above 600x800 is recommended. PNG, JPG, JPEG, and BMP formats are supported.
Either `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
- URL address of image. (This field is not supported outside Chinese mainland)
The image cannot exceed 7 MB after being Base64-encoded. A resolution above 600x800 is recommended. PNG, JPG, JPEG, and BMP formats are supported.
We recommend you store the image in Tencent Cloud, as a Tencent Cloud URL can guarantee higher download speed and stability. The download speed and stability of non-Tencent Cloud URLs may be low.Copyright © 2021. All rights reserved.