public class ExtractDocMultiRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ExtractDocMultiRequest() |
ExtractDocMultiRequest(ExtractDocMultiRequest 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 |
---|---|
ConfigAdvanced |
getConfigAdvanced()
Get Single attribute configuration of a template.
|
String |
getConfigId()
Get Configuration ID support:
-- General
-- InvoiceEng
-- WayBillEng
-- CustomsDeclaration
-- WeightNote
-- MedicalMeter
-- BillOfLading
-- EntrustmentBook
-- Statement
-- BookingConfirmation
-- AirWayBill
-- Table
-- SteelLabel
-- CarInsurance
-- MultiRealEstateCertificate
-- MultiRealEstateMaterial
-- HongKongUtilityBill
-- OverseasCheques
-- RegistrationCertificate
-- GridPhoto
-- SignaturePage
|
Boolean |
getEnableCoord()
Get Whether the full-text field coordinate value recognition is enabled.
|
String |
getImageBase64()
Get The Base64 value of the image.
|
String |
getImageUrl()
Get The Url address of the image.
|
String[] |
getItemNames()
Get Specifies the field names to be returned by the customized structuring feature.
|
Boolean |
getItemNamesShowMode()
Get true: only custom field.
|
String |
getOutputLanguage()
Get When cn, the added key is chinese.
|
Boolean |
getOutputParentKey()
Get Whether parent-child key recognition is enabled.
|
Long |
getPdfPageNumber()
Get Specifies the page number of the PDF to be recognized.
|
Boolean |
getReturnFullText()
Get Whether the full-text field recognition is enabled.
|
void |
setConfigAdvanced(ConfigAdvanced ConfigAdvanced)
Set Single attribute configuration of a template.
|
void |
setConfigId(String ConfigId)
Set Configuration ID support:
-- General
-- InvoiceEng
-- WayBillEng
-- CustomsDeclaration
-- WeightNote
-- MedicalMeter
-- BillOfLading
-- EntrustmentBook
-- Statement
-- BookingConfirmation
-- AirWayBill
-- Table
-- SteelLabel
-- CarInsurance
-- MultiRealEstateCertificate
-- MultiRealEstateMaterial
-- HongKongUtilityBill
-- OverseasCheques
-- RegistrationCertificate
-- GridPhoto
-- SignaturePage
|
void |
setEnableCoord(Boolean EnableCoord)
Set Whether the full-text field coordinate value recognition is enabled.
|
void |
setImageBase64(String ImageBase64)
Set The Base64 value of the image.
|
void |
setImageUrl(String ImageUrl)
Set The Url address of the image.
|
void |
setItemNames(String[] ItemNames)
Set Specifies the field names to be returned by the customized structuring feature.
|
void |
setItemNamesShowMode(Boolean ItemNamesShowMode)
Set true: only custom field.
|
void |
setOutputLanguage(String OutputLanguage)
Set When cn, the added key is chinese.
|
void |
setOutputParentKey(Boolean OutputParentKey)
Set Whether parent-child key recognition is enabled.
|
void |
setPdfPageNumber(Long PdfPageNumber)
Set Specifies the page number of the PDF to be recognized.
|
void |
setReturnFullText(Boolean ReturnFullText)
Set Whether the full-text field recognition is enabled.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ExtractDocMultiRequest()
public ExtractDocMultiRequest(ExtractDocMultiRequest source)
public String getImageUrl()
public void setImageUrl(String ImageUrl)
ImageUrl
- The Url address of the image. supported image formats: PNG, JPG, JPEG, WORD, EXCEL. GIF format is not currently supported. supported image size: no more than 10M after Base64 encoding. image download time should not exceed 3 seconds. supported image pixels: between 20-10000px. images stored in tencent cloud's Url ensure higher download speed and stability. it is recommended to store images in tencent cloud. the speed and stability of non-tencent cloud storage urls may be impacted.public String getImageBase64()
public void setImageBase64(String ImageBase64)
ImageBase64
- The Base64 value of the image. supported image formats: PNG, JPG, JPEG, WORD, EXCEL. GIF format is not currently supported. supported image size: no more than 10M after encoding the downloaded image with Base64. image download time: no more than 3 seconds. supported image pixels: between 20-10000px. either ImageUrl or ImageBase64 must be provided. if both are provided, only use ImageUrl.public Long getPdfPageNumber()
public void setPdfPageNumber(Long PdfPageNumber)
PdfPageNumber
- Specifies the page number of the PDF to be recognized. only single page recognition is supported. valid when uploading a PDF file with the IsPdf parameter set to true. default value is the first 3 pages.public String[] getItemNames()
public void setItemNames(String[] ItemNames)
ItemNames
- Specifies the field names to be returned by the customized structuring feature. for example, if the customer wants to add the recognition result of two fields, name and gender, manually input ItemNames=["name","gender"].public Boolean getItemNamesShowMode()
public void setItemNamesShowMode(Boolean ItemNamesShowMode)
ItemNamesShowMode
- true: only custom field.
False: default value field + custom field.
Default true.public Boolean getReturnFullText()
public void setReturnFullText(Boolean ReturnFullText)
ReturnFullText
- Whether the full-text field recognition is enabled.public String getConfigId()
public void setConfigId(String ConfigId)
ConfigId
- Configuration ID support:
-- General
-- InvoiceEng
-- WayBillEng
-- CustomsDeclaration
-- WeightNote
-- MedicalMeter
-- BillOfLading
-- EntrustmentBook
-- Statement
-- BookingConfirmation
-- AirWayBill
-- Table
-- SteelLabel
-- CarInsurance
-- MultiRealEstateCertificate
-- MultiRealEstateMaterial
-- HongKongUtilityBill
-- OverseasCheques
-- RegistrationCertificate
-- GridPhoto
-- SignaturePagepublic Boolean getEnableCoord()
public void setEnableCoord(Boolean EnableCoord)
EnableCoord
- Whether the full-text field coordinate value recognition is enabled.public Boolean getOutputParentKey()
public void setOutputParentKey(Boolean OutputParentKey)
OutputParentKey
- Whether parent-child key recognition is enabled. the option is selected by default.public ConfigAdvanced getConfigAdvanced()
public void setConfigAdvanced(ConfigAdvanced ConfigAdvanced)
ConfigAdvanced
- Single attribute configuration of a template.public String getOutputLanguage()
public void setOutputLanguage(String OutputLanguage)
OutputLanguage
- When cn, the added key is chinese.
When set to en, the added key is english.Copyright © 2025. All rights reserved.