public class RecognizeTableAccurateOCRRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
RecognizeTableAccurateOCRRequest() |
RecognizeTableAccurateOCRRequest(RecognizeTableAccurateOCRRequest 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 or PDF file.
|
Long |
getPdfPageNumber()
Get The number of the PDF page that needs to be recognized.
|
void |
setImageBase64(String ImageBase64)
Set The Base64-encoded value of an image.
|
void |
setImageUrl(String ImageUrl)
Set The URL of the image or PDF file.
|
void |
setPdfPageNumber(Long PdfPageNumber)
Set The number of the PDF page that needs to be recognized.
|
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 RecognizeTableAccurateOCRRequest()
public RecognizeTableAccurateOCRRequest(RecognizeTableAccurateOCRRequest 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 600 x 800 is recommended. PNG, JPG, JPEG, BMP, and PDF formats are supported.
Supported image pixels: 20 to 10,000
Either `ImageUrl` or `ImageBase64` of the image must be provided. If both are provided, only `ImageUrl` is used.public String getImageUrl()
public void setImageUrl(String ImageUrl)
ImageUrl
- The URL of the image or PDF file.
The image or PDF file cannot exceed 7 MB after being Base64-encoded. A resolution above 600 x 800 is recommended. PNG, JPG, JPEG, BMP, and PDF formats are supported.
Supported image pixels: 20 to 10,000
We recommend that you store the image in Tencent Cloud for higher download speed and stability.
The download speed and stability of non-Tencent Cloud URLs may be low.public Long getPdfPageNumber()
public void setPdfPageNumber(Long PdfPageNumber)
PdfPageNumber
- The number of the PDF page that needs to be recognized. Only one single PDF page can be recognized. This parameter is valid if the uploaded file is a PDF and the value of `IsPdf` is `true`. Default value: `1`.Copyright © 2024. All rights reserved.