Documentation ¶
Index ¶
- Variables
- func GetEndpointMap() map[string]string
- func GetEndpointType() string
- func SetClientProperty(client *Client, propertyName string, propertyValue interface{})
- func SetEndpointDataToClient(client *Client)
- type BackResult
- type Box
- type CardArea
- type CardAreas
- type Center
- type Checkers
- type Clerks
- type Client
- func NewClient() (client *Client, err error)
- func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
- func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)
- func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
- func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
- func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
- func NewClientWithRamRoleArnAndPolicy(regionId string, ...) (client *Client, err error)
- func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
- func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
- func (client *Client) GetAsyncJobResult(request *GetAsyncJobResultRequest) (response *GetAsyncJobResultResponse, err error)
- func (client *Client) GetAsyncJobResultWithCallback(request *GetAsyncJobResultRequest, ...) <-chan int
- func (client *Client) GetAsyncJobResultWithChan(request *GetAsyncJobResultRequest) (<-chan *GetAsyncJobResultResponse, <-chan error)
- func (client *Client) RecognizeBankCard(request *RecognizeBankCardRequest) (response *RecognizeBankCardResponse, err error)
- func (client *Client) RecognizeBankCardWithCallback(request *RecognizeBankCardRequest, ...) <-chan int
- func (client *Client) RecognizeBankCardWithChan(request *RecognizeBankCardRequest) (<-chan *RecognizeBankCardResponse, <-chan error)
- func (client *Client) RecognizeBusinessLicense(request *RecognizeBusinessLicenseRequest) (response *RecognizeBusinessLicenseResponse, err error)
- func (client *Client) RecognizeBusinessLicenseWithCallback(request *RecognizeBusinessLicenseRequest, ...) <-chan int
- func (client *Client) RecognizeBusinessLicenseWithChan(request *RecognizeBusinessLicenseRequest) (<-chan *RecognizeBusinessLicenseResponse, <-chan error)
- func (client *Client) RecognizeCharacter(request *RecognizeCharacterRequest) (response *RecognizeCharacterResponse, err error)
- func (client *Client) RecognizeCharacterWithCallback(request *RecognizeCharacterRequest, ...) <-chan int
- func (client *Client) RecognizeCharacterWithChan(request *RecognizeCharacterRequest) (<-chan *RecognizeCharacterResponse, <-chan error)
- func (client *Client) RecognizeDriverLicense(request *RecognizeDriverLicenseRequest) (response *RecognizeDriverLicenseResponse, err error)
- func (client *Client) RecognizeDriverLicenseWithCallback(request *RecognizeDriverLicenseRequest, ...) <-chan int
- func (client *Client) RecognizeDriverLicenseWithChan(request *RecognizeDriverLicenseRequest) (<-chan *RecognizeDriverLicenseResponse, <-chan error)
- func (client *Client) RecognizeDrivingLicense(request *RecognizeDrivingLicenseRequest) (response *RecognizeDrivingLicenseResponse, err error)
- func (client *Client) RecognizeDrivingLicenseWithCallback(request *RecognizeDrivingLicenseRequest, ...) <-chan int
- func (client *Client) RecognizeDrivingLicenseWithChan(request *RecognizeDrivingLicenseRequest) (<-chan *RecognizeDrivingLicenseResponse, <-chan error)
- func (client *Client) RecognizeIdentityCard(request *RecognizeIdentityCardRequest) (response *RecognizeIdentityCardResponse, err error)
- func (client *Client) RecognizeIdentityCardWithCallback(request *RecognizeIdentityCardRequest, ...) <-chan int
- func (client *Client) RecognizeIdentityCardWithChan(request *RecognizeIdentityCardRequest) (<-chan *RecognizeIdentityCardResponse, <-chan error)
- func (client *Client) RecognizeLicensePlate(request *RecognizeLicensePlateRequest) (response *RecognizeLicensePlateResponse, err error)
- func (client *Client) RecognizeLicensePlateWithCallback(request *RecognizeLicensePlateRequest, ...) <-chan int
- func (client *Client) RecognizeLicensePlateWithChan(request *RecognizeLicensePlateRequest) (<-chan *RecognizeLicensePlateResponse, <-chan error)
- func (client *Client) RecognizePdf(request *RecognizePdfRequest) (response *RecognizePdfResponse, err error)
- func (client *Client) RecognizePdfWithCallback(request *RecognizePdfRequest, ...) <-chan int
- func (client *Client) RecognizePdfWithChan(request *RecognizePdfRequest) (<-chan *RecognizePdfResponse, <-chan error)
- func (client *Client) RecognizeQrCode(request *RecognizeQrCodeRequest) (response *RecognizeQrCodeResponse, err error)
- func (client *Client) RecognizeQrCodeWithCallback(request *RecognizeQrCodeRequest, ...) <-chan int
- func (client *Client) RecognizeQrCodeWithChan(request *RecognizeQrCodeRequest) (<-chan *RecognizeQrCodeResponse, <-chan error)
- func (client *Client) RecognizeQuotaInvoice(request *RecognizeQuotaInvoiceRequest) (response *RecognizeQuotaInvoiceResponse, err error)
- func (client *Client) RecognizeQuotaInvoiceWithCallback(request *RecognizeQuotaInvoiceRequest, ...) <-chan int
- func (client *Client) RecognizeQuotaInvoiceWithChan(request *RecognizeQuotaInvoiceRequest) (<-chan *RecognizeQuotaInvoiceResponse, <-chan error)
- func (client *Client) RecognizeTable(request *RecognizeTableRequest) (response *RecognizeTableResponse, err error)
- func (client *Client) RecognizeTableWithCallback(request *RecognizeTableRequest, ...) <-chan int
- func (client *Client) RecognizeTableWithChan(request *RecognizeTableRequest) (<-chan *RecognizeTableResponse, <-chan error)
- func (client *Client) RecognizeTaxiInvoice(request *RecognizeTaxiInvoiceRequest) (response *RecognizeTaxiInvoiceResponse, err error)
- func (client *Client) RecognizeTaxiInvoiceWithCallback(request *RecognizeTaxiInvoiceRequest, ...) <-chan int
- func (client *Client) RecognizeTaxiInvoiceWithChan(request *RecognizeTaxiInvoiceRequest) (<-chan *RecognizeTaxiInvoiceResponse, <-chan error)
- func (client *Client) RecognizeTicketInvoice(request *RecognizeTicketInvoiceRequest) (response *RecognizeTicketInvoiceResponse, err error)
- func (client *Client) RecognizeTicketInvoiceWithCallback(request *RecognizeTicketInvoiceRequest, ...) <-chan int
- func (client *Client) RecognizeTicketInvoiceWithChan(request *RecognizeTicketInvoiceRequest) (<-chan *RecognizeTicketInvoiceResponse, <-chan error)
- func (client *Client) RecognizeTrainTicket(request *RecognizeTrainTicketRequest) (response *RecognizeTrainTicketResponse, err error)
- func (client *Client) RecognizeTrainTicketWithCallback(request *RecognizeTrainTicketRequest, ...) <-chan int
- func (client *Client) RecognizeTrainTicketWithChan(request *RecognizeTrainTicketRequest) (<-chan *RecognizeTrainTicketResponse, <-chan error)
- func (client *Client) RecognizeVATInvoice(request *RecognizeVATInvoiceRequest) (response *RecognizeVATInvoiceResponse, err error)
- func (client *Client) RecognizeVATInvoiceWithCallback(request *RecognizeVATInvoiceRequest, ...) <-chan int
- func (client *Client) RecognizeVATInvoiceWithChan(request *RecognizeVATInvoiceRequest) (<-chan *RecognizeVATInvoiceResponse, <-chan error)
- func (client *Client) RecognizeVINCode(request *RecognizeVINCodeRequest) (response *RecognizeVINCodeResponse, err error)
- func (client *Client) RecognizeVINCodeWithCallback(request *RecognizeVINCodeRequest, ...) <-chan int
- func (client *Client) RecognizeVINCodeWithChan(request *RecognizeVINCodeRequest) (<-chan *RecognizeVINCodeResponse, <-chan error)
- func (client *Client) RecognizeVideoCharacter(request *RecognizeVideoCharacterRequest) (response *RecognizeVideoCharacterResponse, err error)
- func (client *Client) RecognizeVideoCharacterWithCallback(request *RecognizeVideoCharacterRequest, ...) <-chan int
- func (client *Client) RecognizeVideoCharacterWithChan(request *RecognizeVideoCharacterRequest) (<-chan *RecognizeVideoCharacterResponse, <-chan error)
- type Content
- type Data
- type DataInRecognizePdf
- type DataInRecognizeQuotaInvoice
- type DataInRecognizeTicketInvoice
- type Element
- type ElementsInRecognizeQrCode
- type ElementsInRecognizeVideoCharacter
- type Emblem
- type FaceRectVertice
- type FaceRectVertices
- type FaceRectangle
- type FaceResult
- type Frame
- type Frames
- type FrontResult
- type GetAsyncJobResultRequest
- type GetAsyncJobResultResponse
- type Head
- type Invoice
- type InvoiceAmounts
- type InvoiceCodes
- type InvoiceDates
- type InvoiceFakeCodes
- type InvoiceNoes
- type InvoiceRoi
- type Invoices
- type Item
- type ItemName
- type ItemNames
- type ItemRoi
- type Items
- type KeyValueInfosInRecognizeQuotaInvoice
- type KeyValueInfosInRecognizeTicketInvoice
- type KeyValueInfosItem
- type PayeeAddresses
- type PayeeBankNames
- type PayeeNames
- type PayeeRegisterNoes
- type Payees
- type PayerAddresses
- type PayerBankNames
- type PayerNames
- type PayerRegisterNoes
- type Plate
- type Plates
- type PositionsInRecognizeLicensePlate
- type PositionsInRecognizePdf
- type PositionsItem
- type QRCode
- type QrCodesData
- type RecognizeBankCardRequest
- type RecognizeBankCardResponse
- type RecognizeBusinessLicenseRequest
- type RecognizeBusinessLicenseResponse
- type RecognizeCharacterRequest
- type RecognizeCharacterResponse
- type RecognizeDriverLicenseRequest
- type RecognizeDriverLicenseResponse
- type RecognizeDrivingLicenseRequest
- type RecognizeDrivingLicenseResponse
- type RecognizeIdentityCardRequest
- type RecognizeIdentityCardResponse
- type RecognizeLicensePlateRequest
- type RecognizeLicensePlateResponse
- type RecognizePdfRequest
- type RecognizePdfResponse
- type RecognizeQrCodeRequest
- type RecognizeQrCodeResponse
- type RecognizeQrCodeTasks
- type RecognizeQuotaInvoiceRequest
- type RecognizeQuotaInvoiceResponse
- type RecognizeTableRequest
- type RecognizeTableResponse
- type RecognizeTaxiInvoiceRequest
- type RecognizeTaxiInvoiceResponse
- type RecognizeTicketInvoiceRequest
- type RecognizeTicketInvoiceResponse
- type RecognizeTrainTicketRequest
- type RecognizeTrainTicketResponse
- type RecognizeVATInvoiceRequest
- type RecognizeVATInvoiceResponse
- type RecognizeVINCodeRequest
- type RecognizeVINCodeResponse
- type RecognizeVideoCharacterRequest
- type RecognizeVideoCharacterResponse
- type Result
- type ResultsInRecognizeCharacter
- type ResultsInRecognizeQrCode
- type ResultsInRecognizeTicketInvoice
- type ResultsItem
- type Roi
- type Size
- type SliceRectangle
- type SliceRectangleItem
- type Stamp
- type SumAmounts
- type Table
- type TableColumn
- type TableColumns
- type TableRow
- type TableRows
- type Tables
- type Tail
- type TaxAmounts
- type TextRectangle
- type TextRectangles
- type TextRectanglesInRecognizeVideoCharacter
- type Texts
- type Title
- type ValuePositionsInRecognizeQuotaInvoice
- type ValuePositionsInRecognizeTicketInvoice
- type ValuePositionsItem
- type WithoutTaxAmounts
- type WordsInfo
- type WordsInfoItem
Constants ¶
This section is empty.
Variables ¶
var EndpointMap map[string]string
EndpointMap Endpoint Data
var EndpointType = "regional"
EndpointType regional or central
Functions ¶
func SetClientProperty ¶
SetClientProperty Set Property by Reflect
func SetEndpointDataToClient ¶
func SetEndpointDataToClient(client *Client)
SetEndpointDataToClient Set EndpointMap and ENdpointType
Types ¶
type BackResult ¶
type BackResult struct { Name string `json:"Name" xml:"Name"` Issue string `json:"Issue" xml:"Issue"` ApprovedLoad string `json:"ApprovedLoad" xml:"ApprovedLoad"` EndDate string `json:"EndDate" xml:"EndDate"` PlateNumber string `json:"PlateNumber" xml:"PlateNumber"` EnergyType string `json:"EnergyType" xml:"EnergyType"` StartDate string `json:"StartDate" xml:"StartDate"` OverallDimension string `json:"OverallDimension" xml:"OverallDimension"` Record string `json:"Record" xml:"Record"` TractionMass string `json:"TractionMass" xml:"TractionMass"` InspectionRecord string `json:"InspectionRecord" xml:"InspectionRecord"` UnladenMass string `json:"UnladenMass" xml:"UnladenMass"` ArchiveNumber string `json:"ArchiveNumber" xml:"ArchiveNumber"` FileNumber string `json:"FileNumber" xml:"FileNumber"` ApprovedPassengerCapacity string `json:"ApprovedPassengerCapacity" xml:"ApprovedPassengerCapacity"` GrossMass string `json:"GrossMass" xml:"GrossMass"` CardNumber string `json:"CardNumber" xml:"CardNumber"` }
BackResult is a nested struct in ocr response
type Box ¶ added in v1.61.380
type Box struct { PayerRegisterNoes []float64 `json:"PayerRegisterNoes" xml:"PayerRegisterNoes"` PayeeAddresses []float64 `json:"PayeeAddresses" xml:"PayeeAddresses"` PayeeBankNames []float64 `json:"PayeeBankNames" xml:"PayeeBankNames"` Checkers []float64 `json:"Checkers" xml:"Checkers"` TaxAmounts []float64 `json:"TaxAmounts" xml:"TaxAmounts"` SumAmounts []float64 `json:"SumAmounts" xml:"SumAmounts"` Clerks []float64 `json:"Clerks" xml:"Clerks"` InvoiceNoes []float64 `json:"InvoiceNoes" xml:"InvoiceNoes"` InvoiceDates []float64 `json:"InvoiceDates" xml:"InvoiceDates"` InvoiceCodes []float64 `json:"InvoiceCodes" xml:"InvoiceCodes"` InvoiceFakeCodes []float64 `json:"InvoiceFakeCodes" xml:"InvoiceFakeCodes"` PayerNames []float64 `json:"PayerNames" xml:"PayerNames"` PayerBankNames []float64 `json:"PayerBankNames" xml:"PayerBankNames"` Payees []float64 `json:"Payees" xml:"Payees"` PayeeNames []float64 `json:"PayeeNames" xml:"PayeeNames"` InvoiceAmounts []float64 `json:"InvoiceAmounts" xml:"InvoiceAmounts"` WithoutTaxAmounts []float64 `json:"WithoutTaxAmounts" xml:"WithoutTaxAmounts"` PayerAddresses []float64 `json:"PayerAddresses" xml:"PayerAddresses"` PayeeRegisterNoes []float64 `json:"PayeeRegisterNoes" xml:"PayeeRegisterNoes"` ItemNames []int `json:"ItemNames" xml:"ItemNames"` }
Box is a nested struct in ocr response
type CardAreas ¶
type CardAreas struct {
CardArea []CardArea `json:"CardArea" xml:"CardArea"`
}
CardAreas is a nested struct in ocr response
type Checkers ¶ added in v1.61.380
type Checkers struct {
Checker []float64 `json:"Checker" xml:"Checker"`
}
Checkers is a nested struct in ocr response
type Clerks ¶ added in v1.61.380
type Clerks struct {
Clerk []float64 `json:"Clerk" xml:"Clerk"`
}
Clerks is a nested struct in ocr response
type Client ¶
Client is the sdk client struct, each func corresponds to an OpenAPI
func NewClientWithAccessKey ¶
func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithEcsRamRole ¶
NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithOptions ¶
func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client
func NewClientWithProvider ¶
func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArn ¶
func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArnAndPolicy ¶
func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRsaKeyPair ¶
func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithStsToken ¶
func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func (*Client) GetAsyncJobResult ¶ added in v1.61.380
func (client *Client) GetAsyncJobResult(request *GetAsyncJobResultRequest) (response *GetAsyncJobResultResponse, err error)
GetAsyncJobResult invokes the ocr.GetAsyncJobResult API synchronously
func (*Client) GetAsyncJobResultWithCallback ¶ added in v1.61.380
func (client *Client) GetAsyncJobResultWithCallback(request *GetAsyncJobResultRequest, callback func(response *GetAsyncJobResultResponse, err error)) <-chan int
GetAsyncJobResultWithCallback invokes the ocr.GetAsyncJobResult API asynchronously
func (*Client) GetAsyncJobResultWithChan ¶ added in v1.61.380
func (client *Client) GetAsyncJobResultWithChan(request *GetAsyncJobResultRequest) (<-chan *GetAsyncJobResultResponse, <-chan error)
GetAsyncJobResultWithChan invokes the ocr.GetAsyncJobResult API asynchronously
func (*Client) RecognizeBankCard ¶
func (client *Client) RecognizeBankCard(request *RecognizeBankCardRequest) (response *RecognizeBankCardResponse, err error)
RecognizeBankCard invokes the ocr.RecognizeBankCard API synchronously
func (*Client) RecognizeBankCardWithCallback ¶
func (client *Client) RecognizeBankCardWithCallback(request *RecognizeBankCardRequest, callback func(response *RecognizeBankCardResponse, err error)) <-chan int
RecognizeBankCardWithCallback invokes the ocr.RecognizeBankCard API asynchronously
func (*Client) RecognizeBankCardWithChan ¶
func (client *Client) RecognizeBankCardWithChan(request *RecognizeBankCardRequest) (<-chan *RecognizeBankCardResponse, <-chan error)
RecognizeBankCardWithChan invokes the ocr.RecognizeBankCard API asynchronously
func (*Client) RecognizeBusinessLicense ¶
func (client *Client) RecognizeBusinessLicense(request *RecognizeBusinessLicenseRequest) (response *RecognizeBusinessLicenseResponse, err error)
RecognizeBusinessLicense invokes the ocr.RecognizeBusinessLicense API synchronously
func (*Client) RecognizeBusinessLicenseWithCallback ¶
func (client *Client) RecognizeBusinessLicenseWithCallback(request *RecognizeBusinessLicenseRequest, callback func(response *RecognizeBusinessLicenseResponse, err error)) <-chan int
RecognizeBusinessLicenseWithCallback invokes the ocr.RecognizeBusinessLicense API asynchronously
func (*Client) RecognizeBusinessLicenseWithChan ¶
func (client *Client) RecognizeBusinessLicenseWithChan(request *RecognizeBusinessLicenseRequest) (<-chan *RecognizeBusinessLicenseResponse, <-chan error)
RecognizeBusinessLicenseWithChan invokes the ocr.RecognizeBusinessLicense API asynchronously
func (*Client) RecognizeCharacter ¶
func (client *Client) RecognizeCharacter(request *RecognizeCharacterRequest) (response *RecognizeCharacterResponse, err error)
RecognizeCharacter invokes the ocr.RecognizeCharacter API synchronously
func (*Client) RecognizeCharacterWithCallback ¶
func (client *Client) RecognizeCharacterWithCallback(request *RecognizeCharacterRequest, callback func(response *RecognizeCharacterResponse, err error)) <-chan int
RecognizeCharacterWithCallback invokes the ocr.RecognizeCharacter API asynchronously
func (*Client) RecognizeCharacterWithChan ¶
func (client *Client) RecognizeCharacterWithChan(request *RecognizeCharacterRequest) (<-chan *RecognizeCharacterResponse, <-chan error)
RecognizeCharacterWithChan invokes the ocr.RecognizeCharacter API asynchronously
func (*Client) RecognizeDriverLicense ¶
func (client *Client) RecognizeDriverLicense(request *RecognizeDriverLicenseRequest) (response *RecognizeDriverLicenseResponse, err error)
RecognizeDriverLicense invokes the ocr.RecognizeDriverLicense API synchronously
func (*Client) RecognizeDriverLicenseWithCallback ¶
func (client *Client) RecognizeDriverLicenseWithCallback(request *RecognizeDriverLicenseRequest, callback func(response *RecognizeDriverLicenseResponse, err error)) <-chan int
RecognizeDriverLicenseWithCallback invokes the ocr.RecognizeDriverLicense API asynchronously
func (*Client) RecognizeDriverLicenseWithChan ¶
func (client *Client) RecognizeDriverLicenseWithChan(request *RecognizeDriverLicenseRequest) (<-chan *RecognizeDriverLicenseResponse, <-chan error)
RecognizeDriverLicenseWithChan invokes the ocr.RecognizeDriverLicense API asynchronously
func (*Client) RecognizeDrivingLicense ¶
func (client *Client) RecognizeDrivingLicense(request *RecognizeDrivingLicenseRequest) (response *RecognizeDrivingLicenseResponse, err error)
RecognizeDrivingLicense invokes the ocr.RecognizeDrivingLicense API synchronously
func (*Client) RecognizeDrivingLicenseWithCallback ¶
func (client *Client) RecognizeDrivingLicenseWithCallback(request *RecognizeDrivingLicenseRequest, callback func(response *RecognizeDrivingLicenseResponse, err error)) <-chan int
RecognizeDrivingLicenseWithCallback invokes the ocr.RecognizeDrivingLicense API asynchronously
func (*Client) RecognizeDrivingLicenseWithChan ¶
func (client *Client) RecognizeDrivingLicenseWithChan(request *RecognizeDrivingLicenseRequest) (<-chan *RecognizeDrivingLicenseResponse, <-chan error)
RecognizeDrivingLicenseWithChan invokes the ocr.RecognizeDrivingLicense API asynchronously
func (*Client) RecognizeIdentityCard ¶
func (client *Client) RecognizeIdentityCard(request *RecognizeIdentityCardRequest) (response *RecognizeIdentityCardResponse, err error)
RecognizeIdentityCard invokes the ocr.RecognizeIdentityCard API synchronously
func (*Client) RecognizeIdentityCardWithCallback ¶
func (client *Client) RecognizeIdentityCardWithCallback(request *RecognizeIdentityCardRequest, callback func(response *RecognizeIdentityCardResponse, err error)) <-chan int
RecognizeIdentityCardWithCallback invokes the ocr.RecognizeIdentityCard API asynchronously
func (*Client) RecognizeIdentityCardWithChan ¶
func (client *Client) RecognizeIdentityCardWithChan(request *RecognizeIdentityCardRequest) (<-chan *RecognizeIdentityCardResponse, <-chan error)
RecognizeIdentityCardWithChan invokes the ocr.RecognizeIdentityCard API asynchronously
func (*Client) RecognizeLicensePlate ¶
func (client *Client) RecognizeLicensePlate(request *RecognizeLicensePlateRequest) (response *RecognizeLicensePlateResponse, err error)
RecognizeLicensePlate invokes the ocr.RecognizeLicensePlate API synchronously
func (*Client) RecognizeLicensePlateWithCallback ¶
func (client *Client) RecognizeLicensePlateWithCallback(request *RecognizeLicensePlateRequest, callback func(response *RecognizeLicensePlateResponse, err error)) <-chan int
RecognizeLicensePlateWithCallback invokes the ocr.RecognizeLicensePlate API asynchronously
func (*Client) RecognizeLicensePlateWithChan ¶
func (client *Client) RecognizeLicensePlateWithChan(request *RecognizeLicensePlateRequest) (<-chan *RecognizeLicensePlateResponse, <-chan error)
RecognizeLicensePlateWithChan invokes the ocr.RecognizeLicensePlate API asynchronously
func (*Client) RecognizePdf ¶ added in v1.61.1583
func (client *Client) RecognizePdf(request *RecognizePdfRequest) (response *RecognizePdfResponse, err error)
RecognizePdf invokes the ocr.RecognizePdf API synchronously
func (*Client) RecognizePdfWithCallback ¶ added in v1.61.1583
func (client *Client) RecognizePdfWithCallback(request *RecognizePdfRequest, callback func(response *RecognizePdfResponse, err error)) <-chan int
RecognizePdfWithCallback invokes the ocr.RecognizePdf API asynchronously
func (*Client) RecognizePdfWithChan ¶ added in v1.61.1583
func (client *Client) RecognizePdfWithChan(request *RecognizePdfRequest) (<-chan *RecognizePdfResponse, <-chan error)
RecognizePdfWithChan invokes the ocr.RecognizePdf API asynchronously
func (*Client) RecognizeQrCode ¶ added in v1.61.380
func (client *Client) RecognizeQrCode(request *RecognizeQrCodeRequest) (response *RecognizeQrCodeResponse, err error)
RecognizeQrCode invokes the ocr.RecognizeQrCode API synchronously
func (*Client) RecognizeQrCodeWithCallback ¶ added in v1.61.380
func (client *Client) RecognizeQrCodeWithCallback(request *RecognizeQrCodeRequest, callback func(response *RecognizeQrCodeResponse, err error)) <-chan int
RecognizeQrCodeWithCallback invokes the ocr.RecognizeQrCode API asynchronously
func (*Client) RecognizeQrCodeWithChan ¶ added in v1.61.380
func (client *Client) RecognizeQrCodeWithChan(request *RecognizeQrCodeRequest) (<-chan *RecognizeQrCodeResponse, <-chan error)
RecognizeQrCodeWithChan invokes the ocr.RecognizeQrCode API asynchronously
func (*Client) RecognizeQuotaInvoice ¶ added in v1.61.1166
func (client *Client) RecognizeQuotaInvoice(request *RecognizeQuotaInvoiceRequest) (response *RecognizeQuotaInvoiceResponse, err error)
RecognizeQuotaInvoice invokes the ocr.RecognizeQuotaInvoice API synchronously
func (*Client) RecognizeQuotaInvoiceWithCallback ¶ added in v1.61.1166
func (client *Client) RecognizeQuotaInvoiceWithCallback(request *RecognizeQuotaInvoiceRequest, callback func(response *RecognizeQuotaInvoiceResponse, err error)) <-chan int
RecognizeQuotaInvoiceWithCallback invokes the ocr.RecognizeQuotaInvoice API asynchronously
func (*Client) RecognizeQuotaInvoiceWithChan ¶ added in v1.61.1166
func (client *Client) RecognizeQuotaInvoiceWithChan(request *RecognizeQuotaInvoiceRequest) (<-chan *RecognizeQuotaInvoiceResponse, <-chan error)
RecognizeQuotaInvoiceWithChan invokes the ocr.RecognizeQuotaInvoice API asynchronously
func (*Client) RecognizeTable ¶
func (client *Client) RecognizeTable(request *RecognizeTableRequest) (response *RecognizeTableResponse, err error)
RecognizeTable invokes the ocr.RecognizeTable API synchronously
func (*Client) RecognizeTableWithCallback ¶
func (client *Client) RecognizeTableWithCallback(request *RecognizeTableRequest, callback func(response *RecognizeTableResponse, err error)) <-chan int
RecognizeTableWithCallback invokes the ocr.RecognizeTable API asynchronously
func (*Client) RecognizeTableWithChan ¶
func (client *Client) RecognizeTableWithChan(request *RecognizeTableRequest) (<-chan *RecognizeTableResponse, <-chan error)
RecognizeTableWithChan invokes the ocr.RecognizeTable API asynchronously
func (*Client) RecognizeTaxiInvoice ¶
func (client *Client) RecognizeTaxiInvoice(request *RecognizeTaxiInvoiceRequest) (response *RecognizeTaxiInvoiceResponse, err error)
RecognizeTaxiInvoice invokes the ocr.RecognizeTaxiInvoice API synchronously
func (*Client) RecognizeTaxiInvoiceWithCallback ¶
func (client *Client) RecognizeTaxiInvoiceWithCallback(request *RecognizeTaxiInvoiceRequest, callback func(response *RecognizeTaxiInvoiceResponse, err error)) <-chan int
RecognizeTaxiInvoiceWithCallback invokes the ocr.RecognizeTaxiInvoice API asynchronously
func (*Client) RecognizeTaxiInvoiceWithChan ¶
func (client *Client) RecognizeTaxiInvoiceWithChan(request *RecognizeTaxiInvoiceRequest) (<-chan *RecognizeTaxiInvoiceResponse, <-chan error)
RecognizeTaxiInvoiceWithChan invokes the ocr.RecognizeTaxiInvoice API asynchronously
func (*Client) RecognizeTicketInvoice ¶ added in v1.61.1166
func (client *Client) RecognizeTicketInvoice(request *RecognizeTicketInvoiceRequest) (response *RecognizeTicketInvoiceResponse, err error)
RecognizeTicketInvoice invokes the ocr.RecognizeTicketInvoice API synchronously
func (*Client) RecognizeTicketInvoiceWithCallback ¶ added in v1.61.1166
func (client *Client) RecognizeTicketInvoiceWithCallback(request *RecognizeTicketInvoiceRequest, callback func(response *RecognizeTicketInvoiceResponse, err error)) <-chan int
RecognizeTicketInvoiceWithCallback invokes the ocr.RecognizeTicketInvoice API asynchronously
func (*Client) RecognizeTicketInvoiceWithChan ¶ added in v1.61.1166
func (client *Client) RecognizeTicketInvoiceWithChan(request *RecognizeTicketInvoiceRequest) (<-chan *RecognizeTicketInvoiceResponse, <-chan error)
RecognizeTicketInvoiceWithChan invokes the ocr.RecognizeTicketInvoice API asynchronously
func (*Client) RecognizeTrainTicket ¶
func (client *Client) RecognizeTrainTicket(request *RecognizeTrainTicketRequest) (response *RecognizeTrainTicketResponse, err error)
RecognizeTrainTicket invokes the ocr.RecognizeTrainTicket API synchronously
func (*Client) RecognizeTrainTicketWithCallback ¶
func (client *Client) RecognizeTrainTicketWithCallback(request *RecognizeTrainTicketRequest, callback func(response *RecognizeTrainTicketResponse, err error)) <-chan int
RecognizeTrainTicketWithCallback invokes the ocr.RecognizeTrainTicket API asynchronously
func (*Client) RecognizeTrainTicketWithChan ¶
func (client *Client) RecognizeTrainTicketWithChan(request *RecognizeTrainTicketRequest) (<-chan *RecognizeTrainTicketResponse, <-chan error)
RecognizeTrainTicketWithChan invokes the ocr.RecognizeTrainTicket API asynchronously
func (*Client) RecognizeVATInvoice ¶ added in v1.61.380
func (client *Client) RecognizeVATInvoice(request *RecognizeVATInvoiceRequest) (response *RecognizeVATInvoiceResponse, err error)
RecognizeVATInvoice invokes the ocr.RecognizeVATInvoice API synchronously
func (*Client) RecognizeVATInvoiceWithCallback ¶ added in v1.61.380
func (client *Client) RecognizeVATInvoiceWithCallback(request *RecognizeVATInvoiceRequest, callback func(response *RecognizeVATInvoiceResponse, err error)) <-chan int
RecognizeVATInvoiceWithCallback invokes the ocr.RecognizeVATInvoice API asynchronously
func (*Client) RecognizeVATInvoiceWithChan ¶ added in v1.61.380
func (client *Client) RecognizeVATInvoiceWithChan(request *RecognizeVATInvoiceRequest) (<-chan *RecognizeVATInvoiceResponse, <-chan error)
RecognizeVATInvoiceWithChan invokes the ocr.RecognizeVATInvoice API asynchronously
func (*Client) RecognizeVINCode ¶
func (client *Client) RecognizeVINCode(request *RecognizeVINCodeRequest) (response *RecognizeVINCodeResponse, err error)
RecognizeVINCode invokes the ocr.RecognizeVINCode API synchronously
func (*Client) RecognizeVINCodeWithCallback ¶
func (client *Client) RecognizeVINCodeWithCallback(request *RecognizeVINCodeRequest, callback func(response *RecognizeVINCodeResponse, err error)) <-chan int
RecognizeVINCodeWithCallback invokes the ocr.RecognizeVINCode API asynchronously
func (*Client) RecognizeVINCodeWithChan ¶
func (client *Client) RecognizeVINCodeWithChan(request *RecognizeVINCodeRequest) (<-chan *RecognizeVINCodeResponse, <-chan error)
RecognizeVINCodeWithChan invokes the ocr.RecognizeVINCode API asynchronously
func (*Client) RecognizeVideoCharacter ¶ added in v1.61.1338
func (client *Client) RecognizeVideoCharacter(request *RecognizeVideoCharacterRequest) (response *RecognizeVideoCharacterResponse, err error)
RecognizeVideoCharacter invokes the ocr.RecognizeVideoCharacter API synchronously
func (*Client) RecognizeVideoCharacterWithCallback ¶ added in v1.61.1338
func (client *Client) RecognizeVideoCharacterWithCallback(request *RecognizeVideoCharacterRequest, callback func(response *RecognizeVideoCharacterResponse, err error)) <-chan int
RecognizeVideoCharacterWithCallback invokes the ocr.RecognizeVideoCharacter API asynchronously
func (*Client) RecognizeVideoCharacterWithChan ¶ added in v1.61.1338
func (client *Client) RecognizeVideoCharacterWithChan(request *RecognizeVideoCharacterRequest) (<-chan *RecognizeVideoCharacterResponse, <-chan error)
RecognizeVideoCharacterWithChan invokes the ocr.RecognizeVideoCharacter API asynchronously
type Content ¶ added in v1.61.380
type Content struct { PayeeRegisterNo string `json:"PayeeRegisterNo" xml:"PayeeRegisterNo"` PayerBankName string `json:"PayerBankName" xml:"PayerBankName"` PayeeAddress string `json:"PayeeAddress" xml:"PayeeAddress"` InvoiceNumber string `json:"InvoiceNumber" xml:"InvoiceNumber"` Clerk string `json:"Clerk" xml:"Clerk"` AntiFakeCode string `json:"AntiFakeCode" xml:"AntiFakeCode"` WithoutTaxAmount string `json:"WithoutTaxAmount" xml:"WithoutTaxAmount"` InvoiceCode string `json:"InvoiceCode" xml:"InvoiceCode"` Payee string `json:"Payee" xml:"Payee"` SumAmount string `json:"SumAmount" xml:"SumAmount"` InvoiceAmount string `json:"InvoiceAmount" xml:"InvoiceAmount"` PayeeName string `json:"PayeeName" xml:"PayeeName"` TaxAmount string `json:"TaxAmount" xml:"TaxAmount"` PayeeBankName string `json:"PayeeBankName" xml:"PayeeBankName"` PayerAddress string `json:"PayerAddress" xml:"PayerAddress"` InvoiceDetails string `json:"InvoiceDetails" xml:"InvoiceDetails"` InvoiceNo string `json:"InvoiceNo" xml:"InvoiceNo"` InvoiceDate string `json:"InvoiceDate" xml:"InvoiceDate"` PayerName string `json:"PayerName" xml:"PayerName"` PayerRegisterNo string `json:"PayerRegisterNo" xml:"PayerRegisterNo"` Checker string `json:"Checker" xml:"Checker"` ItemName []string `json:"ItemName" xml:"ItemName"` }
Content is a nested struct in ocr response
type Data ¶
type Data struct { BankName string `json:"BankName" xml:"BankName"` Name string `json:"Name" xml:"Name"` ErrorMessage string `json:"ErrorMessage" xml:"ErrorMessage"` Date string `json:"Date" xml:"Date"` Capital string `json:"Capital" xml:"Capital"` Seat string `json:"Seat" xml:"Seat"` EstablishDate string `json:"EstablishDate" xml:"EstablishDate"` FileContent string `json:"FileContent" xml:"FileContent"` CardNumber string `json:"CardNumber" xml:"CardNumber"` ValidPeriod string `json:"ValidPeriod" xml:"ValidPeriod"` VinCode string `json:"VinCode" xml:"VinCode"` ErrorCode string `json:"ErrorCode" xml:"ErrorCode"` Type string `json:"Type" xml:"Type"` Business string `json:"Business" xml:"Business"` Angle float64 `json:"Angle" xml:"Angle"` JobId string `json:"JobId" xml:"JobId"` Result string `json:"Result" xml:"Result"` LegalPerson string `json:"LegalPerson" xml:"LegalPerson"` ValidDate string `json:"ValidDate" xml:"ValidDate"` RegisterNumber string `json:"RegisterNumber" xml:"RegisterNumber"` Price float64 `json:"Price" xml:"Price"` Destination string `json:"Destination" xml:"Destination"` Level string `json:"Level" xml:"Level"` Address string `json:"Address" xml:"Address"` Number string `json:"Number" xml:"Number"` Height int64 `json:"Height" xml:"Height"` DepartureStation string `json:"DepartureStation" xml:"DepartureStation"` InputFile string `json:"InputFile" xml:"InputFile"` Width int64 `json:"Width" xml:"Width"` Status string `json:"Status" xml:"Status"` BackResult BackResult `json:"BackResult" xml:"BackResult"` Stamp Stamp `json:"Stamp" xml:"Stamp"` FaceResult FaceResult `json:"FaceResult" xml:"FaceResult"` Emblem Emblem `json:"Emblem" xml:"Emblem"` FrontResult FrontResult `json:"FrontResult" xml:"FrontResult"` Box Box `json:"Box" xml:"Box"` Content Content `json:"Content" xml:"Content"` Title Title `json:"Title" xml:"Title"` QRCode QRCode `json:"QRCode" xml:"QRCode"` Plates []Plate `json:"Plates" xml:"Plates"` Elements []Element `json:"Elements" xml:"Elements"` Frames []Frame `json:"Frames" xml:"Frames"` Invoices []Invoice `json:"Invoices" xml:"Invoices"` Results []Result `json:"Results" xml:"Results"` Tables []Table `json:"Tables" xml:"Tables"` }
Data is a nested struct in ocr response
type DataInRecognizePdf ¶ added in v1.61.1583
type DataInRecognizePdf struct { Height int64 `json:"Height" xml:"Height"` Width int64 `json:"Width" xml:"Width"` OrgHeight int64 `json:"OrgHeight" xml:"OrgHeight"` OrgWidth int64 `json:"OrgWidth" xml:"OrgWidth"` PageIndex int64 `json:"PageIndex" xml:"PageIndex"` Angle int64 `json:"Angle" xml:"Angle"` WordsInfo []WordsInfoItem `json:"WordsInfo" xml:"WordsInfo"` }
DataInRecognizePdf is a nested struct in ocr response
type DataInRecognizeQuotaInvoice ¶ added in v1.61.1166
type DataInRecognizeQuotaInvoice struct { Angle int64 `json:"Angle" xml:"Angle"` Height int64 `json:"Height" xml:"Height"` Width int64 `json:"Width" xml:"Width"` OrgHeight int64 `json:"OrgHeight" xml:"OrgHeight"` OrgWidth int64 `json:"OrgWidth" xml:"OrgWidth"` Content Content `json:"Content" xml:"Content"` KeyValueInfos []KeyValueInfosItem `json:"KeyValueInfos" xml:"KeyValueInfos"` }
DataInRecognizeQuotaInvoice is a nested struct in ocr response
type DataInRecognizeTicketInvoice ¶ added in v1.61.1166
type DataInRecognizeTicketInvoice struct { Count int64 `json:"Count" xml:"Count"` Height int64 `json:"Height" xml:"Height"` Width int64 `json:"Width" xml:"Width"` OrgHeight int64 `json:"OrgHeight" xml:"OrgHeight"` OrgWidth int64 `json:"OrgWidth" xml:"OrgWidth"` Results []ResultsItem `json:"Results" xml:"Results"` }
DataInRecognizeTicketInvoice is a nested struct in ocr response
type Element ¶ added in v1.61.380
type Element struct { TaskId string `json:"TaskId" xml:"TaskId"` Text string `json:"Text" xml:"Text"` Score float64 `json:"Score" xml:"Score"` ImageURL string `json:"ImageURL" xml:"ImageURL"` TextRectangles []TextRectangle `json:"TextRectangles" xml:"TextRectangles"` Results []Result `json:"Results" xml:"Results"` }
Element is a nested struct in ocr response
type ElementsInRecognizeQrCode ¶ added in v1.61.380
type ElementsInRecognizeQrCode struct {
Element []Element `json:"Element" xml:"Element"`
}
ElementsInRecognizeQrCode is a nested struct in ocr response
type ElementsInRecognizeVideoCharacter ¶ added in v1.61.1338
type ElementsInRecognizeVideoCharacter struct {
Element []Element `json:"Element" xml:"Element"`
}
ElementsInRecognizeVideoCharacter is a nested struct in ocr response
type Emblem ¶
type Emblem struct { Top int `json:"Top" xml:"Top"` Width int `json:"Width" xml:"Width"` Height int `json:"Height" xml:"Height"` Left int `json:"Left" xml:"Left"` }
Emblem is a nested struct in ocr response
type FaceRectVertice ¶
FaceRectVertice is a nested struct in ocr response
type FaceRectVertices ¶
type FaceRectVertices struct {
FaceRectVertice []FaceRectVertice `json:"FaceRectVertice" xml:"FaceRectVertice"`
}
FaceRectVertices is a nested struct in ocr response
type FaceRectangle ¶
type FaceRectangle struct { Angle float64 `json:"Angle" xml:"Angle"` Size Size `json:"Size" xml:"Size"` Center Center `json:"Center" xml:"Center"` }
FaceRectangle is a nested struct in ocr response
type FaceResult ¶
type FaceResult struct { Name string `json:"Name" xml:"Name"` EndDate string `json:"EndDate" xml:"EndDate"` IssueUnit string `json:"IssueUnit" xml:"IssueUnit"` EngineNumber string `json:"EngineNumber" xml:"EngineNumber"` VehicleType string `json:"VehicleType" xml:"VehicleType"` PlateNumber string `json:"PlateNumber" xml:"PlateNumber"` Owner string `json:"Owner" xml:"Owner"` Vin string `json:"Vin" xml:"Vin"` UseCharacter string `json:"UseCharacter" xml:"UseCharacter"` Address string `json:"Address" xml:"Address"` StartDate string `json:"StartDate" xml:"StartDate"` Gender string `json:"Gender" xml:"Gender"` LicenseNumber string `json:"LicenseNumber" xml:"LicenseNumber"` Model string `json:"Model" xml:"Model"` RegisterDate string `json:"RegisterDate" xml:"RegisterDate"` IssueDate string `json:"IssueDate" xml:"IssueDate"` }
FaceResult is a nested struct in ocr response
type Frame ¶ added in v1.61.1338
type Frame struct { Timestamp int64 `json:"Timestamp" xml:"Timestamp"` Elements []Element `json:"Elements" xml:"Elements"` }
Frame is a nested struct in ocr response
type Frames ¶ added in v1.61.1338
type Frames struct {
Frame []Frame `json:"Frame" xml:"Frame"`
}
Frames is a nested struct in ocr response
type FrontResult ¶
type FrontResult struct { BirthDate string `json:"BirthDate" xml:"BirthDate"` Gender string `json:"Gender" xml:"Gender"` Address string `json:"Address" xml:"Address"` Nationality string `json:"Nationality" xml:"Nationality"` Name string `json:"Name" xml:"Name"` IDNumber string `json:"IDNumber" xml:"IDNumber"` FaceRectangle FaceRectangle `json:"FaceRectangle" xml:"FaceRectangle"` FaceRectVertices []FaceRectVertice `json:"FaceRectVertices" xml:"FaceRectVertices"` CardAreas []CardArea `json:"CardAreas" xml:"CardAreas"` }
FrontResult is a nested struct in ocr response
type GetAsyncJobResultRequest ¶ added in v1.61.380
type GetAsyncJobResultRequest struct { *requests.RpcRequest JobId string `position:"Body" name:"JobId"` Async requests.Boolean `position:"Body" name:"Async"` }
GetAsyncJobResultRequest is the request struct for api GetAsyncJobResult
func CreateGetAsyncJobResultRequest ¶ added in v1.61.380
func CreateGetAsyncJobResultRequest() (request *GetAsyncJobResultRequest)
CreateGetAsyncJobResultRequest creates a request to invoke GetAsyncJobResult API
type GetAsyncJobResultResponse ¶ added in v1.61.380
type GetAsyncJobResultResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Data Data `json:"Data" xml:"Data"` }
GetAsyncJobResultResponse is the response struct for api GetAsyncJobResult
func CreateGetAsyncJobResultResponse ¶ added in v1.61.380
func CreateGetAsyncJobResultResponse() (response *GetAsyncJobResultResponse)
CreateGetAsyncJobResultResponse creates a response to parse from GetAsyncJobResult response
type Head ¶ added in v1.61.380
type Head struct {
Head []string `json:"Head" xml:"Head"`
}
Head is a nested struct in ocr response
type Invoice ¶
type Invoice struct { RotateType int `json:"RotateType" xml:"RotateType"` InvoiceRoi InvoiceRoi `json:"InvoiceRoi" xml:"InvoiceRoi"` Items []Item `json:"Items" xml:"Items"` }
Invoice is a nested struct in ocr response
type InvoiceAmounts ¶ added in v1.61.380
type InvoiceAmounts struct {
InvoiceAmount []float64 `json:"InvoiceAmount" xml:"InvoiceAmount"`
}
InvoiceAmounts is a nested struct in ocr response
type InvoiceCodes ¶ added in v1.61.380
type InvoiceCodes struct {
InvoiceCode []float64 `json:"InvoiceCode" xml:"InvoiceCode"`
}
InvoiceCodes is a nested struct in ocr response
type InvoiceDates ¶ added in v1.61.380
type InvoiceDates struct {
InvoiceDate []float64 `json:"InvoiceDate" xml:"InvoiceDate"`
}
InvoiceDates is a nested struct in ocr response
type InvoiceFakeCodes ¶ added in v1.61.380
type InvoiceFakeCodes struct {
InvoiceFakeCode []float64 `json:"InvoiceFakeCode" xml:"InvoiceFakeCode"`
}
InvoiceFakeCodes is a nested struct in ocr response
type InvoiceNoes ¶ added in v1.61.380
type InvoiceNoes struct {
InvoiceNo []float64 `json:"InvoiceNo" xml:"InvoiceNo"`
}
InvoiceNoes is a nested struct in ocr response
type InvoiceRoi ¶
type InvoiceRoi struct { W float64 `json:"W" xml:"W"` H float64 `json:"H" xml:"H"` Y float64 `json:"Y" xml:"Y"` X float64 `json:"X" xml:"X"` }
InvoiceRoi is a nested struct in ocr response
type Invoices ¶
type Invoices struct {
Invoice []Invoice `json:"Invoice" xml:"Invoice"`
}
Invoices is a nested struct in ocr response
type Item ¶
type Item struct { Text string `json:"Text" xml:"Text"` ItemRoi ItemRoi `json:"ItemRoi" xml:"ItemRoi"` }
Item is a nested struct in ocr response
type ItemName ¶ added in v1.61.1807
type ItemName struct {
ItemName []string `json:"ItemName" xml:"ItemName"`
}
ItemName is a nested struct in ocr response
type ItemNames ¶ added in v1.61.1807
type ItemNames struct {
ItemNames []int `json:"ItemNames" xml:"ItemNames"`
}
ItemNames is a nested struct in ocr response
type ItemRoi ¶
type ItemRoi struct { Angle float64 `json:"Angle" xml:"Angle"` Size Size `json:"Size" xml:"Size"` Center Center `json:"Center" xml:"Center"` }
ItemRoi is a nested struct in ocr response
type Items ¶
type Items struct {
Item []Item `json:"Item" xml:"Item"`
}
Items is a nested struct in ocr response
type KeyValueInfosInRecognizeQuotaInvoice ¶ added in v1.61.1166
type KeyValueInfosInRecognizeQuotaInvoice struct {
KeyValueInfosItem []KeyValueInfosItem `json:"keyValueInfos" xml:"keyValueInfos"`
}
KeyValueInfosInRecognizeQuotaInvoice is a nested struct in ocr response
type KeyValueInfosInRecognizeTicketInvoice ¶ added in v1.61.1166
type KeyValueInfosInRecognizeTicketInvoice struct {
KeyValueInfosItem []KeyValueInfosItem `json:"keyValueInfos" xml:"keyValueInfos"`
}
KeyValueInfosInRecognizeTicketInvoice is a nested struct in ocr response
type KeyValueInfosItem ¶ added in v1.62.167
type KeyValueInfosItem struct { Key string `json:"Key" xml:"Key"` Value string `json:"Value" xml:"Value"` ValueScore float64 `json:"ValueScore" xml:"ValueScore"` ValuePositions []ValuePositionsItem `json:"ValuePositions" xml:"ValuePositions"` }
KeyValueInfosItem is a nested struct in ocr response
type PayeeAddresses ¶ added in v1.61.380
type PayeeAddresses struct {
PayeeAddress []float64 `json:"PayeeAddress" xml:"PayeeAddress"`
}
PayeeAddresses is a nested struct in ocr response
type PayeeBankNames ¶ added in v1.61.380
type PayeeBankNames struct {
PayeeBankName []float64 `json:"PayeeBankName" xml:"PayeeBankName"`
}
PayeeBankNames is a nested struct in ocr response
type PayeeNames ¶ added in v1.61.380
type PayeeNames struct {
PayeeName []float64 `json:"PayeeName" xml:"PayeeName"`
}
PayeeNames is a nested struct in ocr response
type PayeeRegisterNoes ¶ added in v1.61.380
type PayeeRegisterNoes struct {
PayeeRegisterNo []float64 `json:"PayeeRegisterNo" xml:"PayeeRegisterNo"`
}
PayeeRegisterNoes is a nested struct in ocr response
type Payees ¶ added in v1.61.380
type Payees struct {
Payee []float64 `json:"Payee" xml:"Payee"`
}
Payees is a nested struct in ocr response
type PayerAddresses ¶ added in v1.61.380
type PayerAddresses struct {
PayerAddress []float64 `json:"PayerAddress" xml:"PayerAddress"`
}
PayerAddresses is a nested struct in ocr response
type PayerBankNames ¶ added in v1.61.380
type PayerBankNames struct {
PayerBankNames []float64 `json:"PayerBankNames" xml:"PayerBankNames"`
}
PayerBankNames is a nested struct in ocr response
type PayerNames ¶ added in v1.61.380
type PayerNames struct {
PayerName []float64 `json:"PayerName" xml:"PayerName"`
}
PayerNames is a nested struct in ocr response
type PayerRegisterNoes ¶ added in v1.61.380
type PayerRegisterNoes struct {
PayerRegisterNo []float64 `json:"PayerRegisterNo" xml:"PayerRegisterNo"`
}
PayerRegisterNoes is a nested struct in ocr response
type Plate ¶
type Plate struct { PlateTypeConfidence float64 `json:"PlateTypeConfidence" xml:"PlateTypeConfidence"` PlateType string `json:"PlateType" xml:"PlateType"` Confidence float64 `json:"Confidence" xml:"Confidence"` PlateNumber string `json:"PlateNumber" xml:"PlateNumber"` Roi Roi `json:"Roi" xml:"Roi"` Positions []PositionsItem `json:"Positions" xml:"Positions"` }
Plate is a nested struct in ocr response
type Plates ¶
type Plates struct {
Plate []Plate `json:"Plate" xml:"Plate"`
}
Plates is a nested struct in ocr response
type PositionsInRecognizeLicensePlate ¶ added in v1.61.1075
type PositionsInRecognizeLicensePlate struct {
PositionsItem []PositionsItem `json:"positions" xml:"positions"`
}
PositionsInRecognizeLicensePlate is a nested struct in ocr response
type PositionsInRecognizePdf ¶ added in v1.61.1583
type PositionsInRecognizePdf struct {
PositionsItem []PositionsItem `json:"positions" xml:"positions"`
}
PositionsInRecognizePdf is a nested struct in ocr response
type PositionsItem ¶ added in v1.62.167
PositionsItem is a nested struct in ocr response
type QRCode ¶
type QRCode struct { Top int `json:"Top" xml:"Top"` Width int `json:"Width" xml:"Width"` Height int `json:"Height" xml:"Height"` Left int `json:"Left" xml:"Left"` }
QRCode is a nested struct in ocr response
type QrCodesData ¶ added in v1.61.380
type QrCodesData struct {
QrCodeData []string `json:"QrCodeData" xml:"QrCodeData"`
}
QrCodesData is a nested struct in ocr response
type RecognizeBankCardRequest ¶
type RecognizeBankCardRequest struct { *requests.RpcRequest ImageType requests.Integer `position:"Body" name:"ImageType"` ImageURL string `position:"Body" name:"ImageURL"` }
RecognizeBankCardRequest is the request struct for api RecognizeBankCard
func CreateRecognizeBankCardRequest ¶
func CreateRecognizeBankCardRequest() (request *RecognizeBankCardRequest)
CreateRecognizeBankCardRequest creates a request to invoke RecognizeBankCard API
type RecognizeBankCardResponse ¶
type RecognizeBankCardResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Data Data `json:"Data" xml:"Data"` }
RecognizeBankCardResponse is the response struct for api RecognizeBankCard
func CreateRecognizeBankCardResponse ¶
func CreateRecognizeBankCardResponse() (response *RecognizeBankCardResponse)
CreateRecognizeBankCardResponse creates a response to parse from RecognizeBankCard response
type RecognizeBusinessLicenseRequest ¶
type RecognizeBusinessLicenseRequest struct { *requests.RpcRequest ImageType requests.Integer `position:"Body" name:"ImageType"` ImageURL string `position:"Body" name:"ImageURL"` }
RecognizeBusinessLicenseRequest is the request struct for api RecognizeBusinessLicense
func CreateRecognizeBusinessLicenseRequest ¶
func CreateRecognizeBusinessLicenseRequest() (request *RecognizeBusinessLicenseRequest)
CreateRecognizeBusinessLicenseRequest creates a request to invoke RecognizeBusinessLicense API
type RecognizeBusinessLicenseResponse ¶
type RecognizeBusinessLicenseResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Data Data `json:"Data" xml:"Data"` }
RecognizeBusinessLicenseResponse is the response struct for api RecognizeBusinessLicense
func CreateRecognizeBusinessLicenseResponse ¶
func CreateRecognizeBusinessLicenseResponse() (response *RecognizeBusinessLicenseResponse)
CreateRecognizeBusinessLicenseResponse creates a response to parse from RecognizeBusinessLicense response
type RecognizeCharacterRequest ¶
type RecognizeCharacterRequest struct { *requests.RpcRequest MinHeight requests.Integer `position:"Body" name:"MinHeight"` ImageType requests.Integer `position:"Body" name:"ImageType"` OutputProbability requests.Boolean `position:"Body" name:"OutputProbability"` ImageURL string `position:"Body" name:"ImageURL"` }
RecognizeCharacterRequest is the request struct for api RecognizeCharacter
func CreateRecognizeCharacterRequest ¶
func CreateRecognizeCharacterRequest() (request *RecognizeCharacterRequest)
CreateRecognizeCharacterRequest creates a request to invoke RecognizeCharacter API
type RecognizeCharacterResponse ¶
type RecognizeCharacterResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Data Data `json:"Data" xml:"Data"` }
RecognizeCharacterResponse is the response struct for api RecognizeCharacter
func CreateRecognizeCharacterResponse ¶
func CreateRecognizeCharacterResponse() (response *RecognizeCharacterResponse)
CreateRecognizeCharacterResponse creates a response to parse from RecognizeCharacter response
type RecognizeDriverLicenseRequest ¶
type RecognizeDriverLicenseRequest struct { *requests.RpcRequest ImageType requests.Integer `position:"Body" name:"ImageType"` Side string `position:"Body" name:"Side"` ImageURL string `position:"Body" name:"ImageURL"` }
RecognizeDriverLicenseRequest is the request struct for api RecognizeDriverLicense
func CreateRecognizeDriverLicenseRequest ¶
func CreateRecognizeDriverLicenseRequest() (request *RecognizeDriverLicenseRequest)
CreateRecognizeDriverLicenseRequest creates a request to invoke RecognizeDriverLicense API
type RecognizeDriverLicenseResponse ¶
type RecognizeDriverLicenseResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Data Data `json:"Data" xml:"Data"` }
RecognizeDriverLicenseResponse is the response struct for api RecognizeDriverLicense
func CreateRecognizeDriverLicenseResponse ¶
func CreateRecognizeDriverLicenseResponse() (response *RecognizeDriverLicenseResponse)
CreateRecognizeDriverLicenseResponse creates a response to parse from RecognizeDriverLicense response
type RecognizeDrivingLicenseRequest ¶
type RecognizeDrivingLicenseRequest struct { *requests.RpcRequest ImageType requests.Integer `position:"Body" name:"ImageType"` Side string `position:"Body" name:"Side"` ImageURL string `position:"Body" name:"ImageURL"` }
RecognizeDrivingLicenseRequest is the request struct for api RecognizeDrivingLicense
func CreateRecognizeDrivingLicenseRequest ¶
func CreateRecognizeDrivingLicenseRequest() (request *RecognizeDrivingLicenseRequest)
CreateRecognizeDrivingLicenseRequest creates a request to invoke RecognizeDrivingLicense API
type RecognizeDrivingLicenseResponse ¶
type RecognizeDrivingLicenseResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Data Data `json:"Data" xml:"Data"` }
RecognizeDrivingLicenseResponse is the response struct for api RecognizeDrivingLicense
func CreateRecognizeDrivingLicenseResponse ¶
func CreateRecognizeDrivingLicenseResponse() (response *RecognizeDrivingLicenseResponse)
CreateRecognizeDrivingLicenseResponse creates a response to parse from RecognizeDrivingLicense response
type RecognizeIdentityCardRequest ¶
type RecognizeIdentityCardRequest struct { *requests.RpcRequest ImageType requests.Integer `position:"Body" name:"ImageType"` Side string `position:"Body" name:"Side"` ImageURL string `position:"Body" name:"ImageURL"` }
RecognizeIdentityCardRequest is the request struct for api RecognizeIdentityCard
func CreateRecognizeIdentityCardRequest ¶
func CreateRecognizeIdentityCardRequest() (request *RecognizeIdentityCardRequest)
CreateRecognizeIdentityCardRequest creates a request to invoke RecognizeIdentityCard API
type RecognizeIdentityCardResponse ¶
type RecognizeIdentityCardResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Data Data `json:"Data" xml:"Data"` }
RecognizeIdentityCardResponse is the response struct for api RecognizeIdentityCard
func CreateRecognizeIdentityCardResponse ¶
func CreateRecognizeIdentityCardResponse() (response *RecognizeIdentityCardResponse)
CreateRecognizeIdentityCardResponse creates a response to parse from RecognizeIdentityCard response
type RecognizeLicensePlateRequest ¶
type RecognizeLicensePlateRequest struct { *requests.RpcRequest ImageType requests.Integer `position:"Body" name:"ImageType"` ImageURL string `position:"Body" name:"ImageURL"` }
RecognizeLicensePlateRequest is the request struct for api RecognizeLicensePlate
func CreateRecognizeLicensePlateRequest ¶
func CreateRecognizeLicensePlateRequest() (request *RecognizeLicensePlateRequest)
CreateRecognizeLicensePlateRequest creates a request to invoke RecognizeLicensePlate API
type RecognizeLicensePlateResponse ¶
type RecognizeLicensePlateResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Data Data `json:"Data" xml:"Data"` }
RecognizeLicensePlateResponse is the response struct for api RecognizeLicensePlate
func CreateRecognizeLicensePlateResponse ¶
func CreateRecognizeLicensePlateResponse() (response *RecognizeLicensePlateResponse)
CreateRecognizeLicensePlateResponse creates a response to parse from RecognizeLicensePlate response
type RecognizePdfRequest ¶ added in v1.61.1583
type RecognizePdfRequest struct { *requests.RpcRequest FileURL string `position:"Body" name:"FileURL"` }
RecognizePdfRequest is the request struct for api RecognizePdf
func CreateRecognizePdfRequest ¶ added in v1.61.1583
func CreateRecognizePdfRequest() (request *RecognizePdfRequest)
CreateRecognizePdfRequest creates a request to invoke RecognizePdf API
type RecognizePdfResponse ¶ added in v1.61.1583
type RecognizePdfResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Data DataInRecognizePdf `json:"Data" xml:"Data"` }
RecognizePdfResponse is the response struct for api RecognizePdf
func CreateRecognizePdfResponse ¶ added in v1.61.1583
func CreateRecognizePdfResponse() (response *RecognizePdfResponse)
CreateRecognizePdfResponse creates a response to parse from RecognizePdf response
type RecognizeQrCodeRequest ¶ added in v1.61.380
type RecognizeQrCodeRequest struct { *requests.RpcRequest Tasks *[]RecognizeQrCodeTasks `position:"Body" name:"Tasks" type:"Repeated"` }
RecognizeQrCodeRequest is the request struct for api RecognizeQrCode
func CreateRecognizeQrCodeRequest ¶ added in v1.61.380
func CreateRecognizeQrCodeRequest() (request *RecognizeQrCodeRequest)
CreateRecognizeQrCodeRequest creates a request to invoke RecognizeQrCode API
type RecognizeQrCodeResponse ¶ added in v1.61.380
type RecognizeQrCodeResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Data Data `json:"Data" xml:"Data"` }
RecognizeQrCodeResponse is the response struct for api RecognizeQrCode
func CreateRecognizeQrCodeResponse ¶ added in v1.61.380
func CreateRecognizeQrCodeResponse() (response *RecognizeQrCodeResponse)
CreateRecognizeQrCodeResponse creates a response to parse from RecognizeQrCode response
type RecognizeQrCodeTasks ¶ added in v1.61.380
type RecognizeQrCodeTasks struct {
ImageURL string `name:"ImageURL"`
}
RecognizeQrCodeTasks is a repeated param struct in RecognizeQrCodeRequest
type RecognizeQuotaInvoiceRequest ¶ added in v1.61.1166
type RecognizeQuotaInvoiceRequest struct { *requests.RpcRequest ImageURL string `position:"Body" name:"ImageURL"` }
RecognizeQuotaInvoiceRequest is the request struct for api RecognizeQuotaInvoice
func CreateRecognizeQuotaInvoiceRequest ¶ added in v1.61.1166
func CreateRecognizeQuotaInvoiceRequest() (request *RecognizeQuotaInvoiceRequest)
CreateRecognizeQuotaInvoiceRequest creates a request to invoke RecognizeQuotaInvoice API
type RecognizeQuotaInvoiceResponse ¶ added in v1.61.1166
type RecognizeQuotaInvoiceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Data DataInRecognizeQuotaInvoice `json:"Data" xml:"Data"` }
RecognizeQuotaInvoiceResponse is the response struct for api RecognizeQuotaInvoice
func CreateRecognizeQuotaInvoiceResponse ¶ added in v1.61.1166
func CreateRecognizeQuotaInvoiceResponse() (response *RecognizeQuotaInvoiceResponse)
CreateRecognizeQuotaInvoiceResponse creates a response to parse from RecognizeQuotaInvoice response
type RecognizeTableRequest ¶
type RecognizeTableRequest struct { *requests.RpcRequest UseFinanceModel requests.Boolean `position:"Body" name:"UseFinanceModel"` SkipDetection requests.Boolean `position:"Body" name:"SkipDetection"` OutputFormat string `position:"Body" name:"OutputFormat"` AssureDirection requests.Boolean `position:"Body" name:"AssureDirection"` HasLine requests.Boolean `position:"Body" name:"HasLine"` ImageType requests.Integer `position:"Body" name:"ImageType"` ImageURL string `position:"Body" name:"ImageURL"` }
RecognizeTableRequest is the request struct for api RecognizeTable
func CreateRecognizeTableRequest ¶
func CreateRecognizeTableRequest() (request *RecognizeTableRequest)
CreateRecognizeTableRequest creates a request to invoke RecognizeTable API
type RecognizeTableResponse ¶
type RecognizeTableResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Data Data `json:"Data" xml:"Data"` }
RecognizeTableResponse is the response struct for api RecognizeTable
func CreateRecognizeTableResponse ¶
func CreateRecognizeTableResponse() (response *RecognizeTableResponse)
CreateRecognizeTableResponse creates a response to parse from RecognizeTable response
type RecognizeTaxiInvoiceRequest ¶
type RecognizeTaxiInvoiceRequest struct { *requests.RpcRequest ImageType requests.Integer `position:"Body" name:"ImageType"` ImageURL string `position:"Body" name:"ImageURL"` }
RecognizeTaxiInvoiceRequest is the request struct for api RecognizeTaxiInvoice
func CreateRecognizeTaxiInvoiceRequest ¶
func CreateRecognizeTaxiInvoiceRequest() (request *RecognizeTaxiInvoiceRequest)
CreateRecognizeTaxiInvoiceRequest creates a request to invoke RecognizeTaxiInvoice API
type RecognizeTaxiInvoiceResponse ¶
type RecognizeTaxiInvoiceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Data Data `json:"Data" xml:"Data"` }
RecognizeTaxiInvoiceResponse is the response struct for api RecognizeTaxiInvoice
func CreateRecognizeTaxiInvoiceResponse ¶
func CreateRecognizeTaxiInvoiceResponse() (response *RecognizeTaxiInvoiceResponse)
CreateRecognizeTaxiInvoiceResponse creates a response to parse from RecognizeTaxiInvoice response
type RecognizeTicketInvoiceRequest ¶ added in v1.61.1166
type RecognizeTicketInvoiceRequest struct { *requests.RpcRequest ImageURL string `position:"Body" name:"ImageURL"` }
RecognizeTicketInvoiceRequest is the request struct for api RecognizeTicketInvoice
func CreateRecognizeTicketInvoiceRequest ¶ added in v1.61.1166
func CreateRecognizeTicketInvoiceRequest() (request *RecognizeTicketInvoiceRequest)
CreateRecognizeTicketInvoiceRequest creates a request to invoke RecognizeTicketInvoice API
type RecognizeTicketInvoiceResponse ¶ added in v1.61.1166
type RecognizeTicketInvoiceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Data DataInRecognizeTicketInvoice `json:"Data" xml:"Data"` }
RecognizeTicketInvoiceResponse is the response struct for api RecognizeTicketInvoice
func CreateRecognizeTicketInvoiceResponse ¶ added in v1.61.1166
func CreateRecognizeTicketInvoiceResponse() (response *RecognizeTicketInvoiceResponse)
CreateRecognizeTicketInvoiceResponse creates a response to parse from RecognizeTicketInvoice response
type RecognizeTrainTicketRequest ¶
type RecognizeTrainTicketRequest struct { *requests.RpcRequest ImageType requests.Integer `position:"Body" name:"ImageType"` ImageURL string `position:"Body" name:"ImageURL"` }
RecognizeTrainTicketRequest is the request struct for api RecognizeTrainTicket
func CreateRecognizeTrainTicketRequest ¶
func CreateRecognizeTrainTicketRequest() (request *RecognizeTrainTicketRequest)
CreateRecognizeTrainTicketRequest creates a request to invoke RecognizeTrainTicket API
type RecognizeTrainTicketResponse ¶
type RecognizeTrainTicketResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Data Data `json:"Data" xml:"Data"` }
RecognizeTrainTicketResponse is the response struct for api RecognizeTrainTicket
func CreateRecognizeTrainTicketResponse ¶
func CreateRecognizeTrainTicketResponse() (response *RecognizeTrainTicketResponse)
CreateRecognizeTrainTicketResponse creates a response to parse from RecognizeTrainTicket response
type RecognizeVATInvoiceRequest ¶ added in v1.61.380
type RecognizeVATInvoiceRequest struct { *requests.RpcRequest FileType string `position:"Body" name:"FileType"` FileURL string `position:"Body" name:"FileURL"` }
RecognizeVATInvoiceRequest is the request struct for api RecognizeVATInvoice
func CreateRecognizeVATInvoiceRequest ¶ added in v1.61.380
func CreateRecognizeVATInvoiceRequest() (request *RecognizeVATInvoiceRequest)
CreateRecognizeVATInvoiceRequest creates a request to invoke RecognizeVATInvoice API
type RecognizeVATInvoiceResponse ¶ added in v1.61.380
type RecognizeVATInvoiceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Data Data `json:"Data" xml:"Data"` }
RecognizeVATInvoiceResponse is the response struct for api RecognizeVATInvoice
func CreateRecognizeVATInvoiceResponse ¶ added in v1.61.380
func CreateRecognizeVATInvoiceResponse() (response *RecognizeVATInvoiceResponse)
CreateRecognizeVATInvoiceResponse creates a response to parse from RecognizeVATInvoice response
type RecognizeVINCodeRequest ¶
type RecognizeVINCodeRequest struct { *requests.RpcRequest ImageType requests.Integer `position:"Query" name:"ImageType"` ImageURL string `position:"Query" name:"ImageURL"` }
RecognizeVINCodeRequest is the request struct for api RecognizeVINCode
func CreateRecognizeVINCodeRequest ¶
func CreateRecognizeVINCodeRequest() (request *RecognizeVINCodeRequest)
CreateRecognizeVINCodeRequest creates a request to invoke RecognizeVINCode API
type RecognizeVINCodeResponse ¶
type RecognizeVINCodeResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Data Data `json:"Data" xml:"Data"` }
RecognizeVINCodeResponse is the response struct for api RecognizeVINCode
func CreateRecognizeVINCodeResponse ¶
func CreateRecognizeVINCodeResponse() (response *RecognizeVINCodeResponse)
CreateRecognizeVINCodeResponse creates a response to parse from RecognizeVINCode response
type RecognizeVideoCharacterRequest ¶ added in v1.61.1338
type RecognizeVideoCharacterRequest struct { *requests.RpcRequest Async requests.Boolean `position:"Body" name:"Async"` VideoURL string `position:"Body" name:"VideoURL"` }
RecognizeVideoCharacterRequest is the request struct for api RecognizeVideoCharacter
func CreateRecognizeVideoCharacterRequest ¶ added in v1.61.1338
func CreateRecognizeVideoCharacterRequest() (request *RecognizeVideoCharacterRequest)
CreateRecognizeVideoCharacterRequest creates a request to invoke RecognizeVideoCharacter API
type RecognizeVideoCharacterResponse ¶ added in v1.61.1338
type RecognizeVideoCharacterResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Data Data `json:"Data" xml:"Data"` }
RecognizeVideoCharacterResponse is the response struct for api RecognizeVideoCharacter
func CreateRecognizeVideoCharacterResponse ¶ added in v1.61.1338
func CreateRecognizeVideoCharacterResponse() (response *RecognizeVideoCharacterResponse)
CreateRecognizeVideoCharacterResponse creates a response to parse from RecognizeVideoCharacter response
type Result ¶
type Result struct { Rate float64 `json:"Rate" xml:"Rate"` Text string `json:"Text" xml:"Text"` Suggestion string `json:"Suggestion" xml:"Suggestion"` Label string `json:"Label" xml:"Label"` Probability float64 `json:"Probability" xml:"Probability"` QrCodesData []string `json:"QrCodesData" xml:"QrCodesData"` TextRectangles TextRectangles `json:"TextRectangles" xml:"TextRectangles"` }
Result is a nested struct in ocr response
type ResultsInRecognizeCharacter ¶
type ResultsInRecognizeCharacter struct {
Result []Result `json:"Result" xml:"Result"`
}
ResultsInRecognizeCharacter is a nested struct in ocr response
type ResultsInRecognizeQrCode ¶ added in v1.61.380
type ResultsInRecognizeQrCode struct {
Result []Result `json:"Result" xml:"Result"`
}
ResultsInRecognizeQrCode is a nested struct in ocr response
type ResultsInRecognizeTicketInvoice ¶ added in v1.61.1166
type ResultsInRecognizeTicketInvoice struct {
ResultsItem []ResultsItem `json:"results" xml:"results"`
}
ResultsInRecognizeTicketInvoice is a nested struct in ocr response
type ResultsItem ¶
type ResultsItem struct { Index int64 `json:"Index" xml:"Index"` Type string `json:"Type" xml:"Type"` Content Content `json:"Content" xml:"Content"` KeyValueInfos []KeyValueInfosItem `json:"KeyValueInfos" xml:"KeyValueInfos"` SliceRectangle []SliceRectangleItem `json:"SliceRectangle" xml:"SliceRectangle"` }
ResultsItem is a nested struct in ocr response
type Roi ¶
type Roi struct { W int `json:"W" xml:"W"` H int `json:"H" xml:"H"` Y int `json:"Y" xml:"Y"` X int `json:"X" xml:"X"` }
Roi is a nested struct in ocr response
type Size ¶
type Size struct { H float64 `json:"H" xml:"H"` W float64 `json:"W" xml:"W"` Height float64 `json:"Height" xml:"Height"` Width float64 `json:"Width" xml:"Width"` }
Size is a nested struct in ocr response
type SliceRectangle ¶ added in v1.61.1166
type SliceRectangle struct {
SliceRectangleItem []SliceRectangleItem `json:"sliceRectangle" xml:"sliceRectangle"`
}
SliceRectangle is a nested struct in ocr response
type SliceRectangleItem ¶ added in v1.62.167
SliceRectangleItem is a nested struct in ocr response
type Stamp ¶
type Stamp struct { Top int `json:"Top" xml:"Top"` Width int `json:"Width" xml:"Width"` Height int `json:"Height" xml:"Height"` Left int `json:"Left" xml:"Left"` }
Stamp is a nested struct in ocr response
type SumAmounts ¶ added in v1.61.380
type SumAmounts struct {
SumAmount []float64 `json:"SumAmount" xml:"SumAmount"`
}
SumAmounts is a nested struct in ocr response
type Table ¶
type Table struct { Head []string `json:"Head" xml:"Head"` Tail []string `json:"Tail" xml:"Tail"` TableRows []TableRow `json:"TableRows" xml:"TableRows"` }
Table is a nested struct in ocr response
type TableColumn ¶
type TableColumn struct { EndRow int `json:"EndRow" xml:"EndRow"` EndColumn int `json:"EndColumn" xml:"EndColumn"` Width int `json:"Width" xml:"Width"` Height int `json:"Height" xml:"Height"` StartRow int `json:"StartRow" xml:"StartRow"` StartColumn int `json:"StartColumn" xml:"StartColumn"` Texts []string `json:"Texts" xml:"Texts"` }
TableColumn is a nested struct in ocr response
type TableColumns ¶
type TableColumns struct {
TableColumn []TableColumn `json:"TableColumn" xml:"TableColumn"`
}
TableColumns is a nested struct in ocr response
type TableRow ¶
type TableRow struct {
TableColumns []TableColumn `json:"TableColumns" xml:"TableColumns"`
}
TableRow is a nested struct in ocr response
type TableRows ¶
type TableRows struct {
TableRow []TableRow `json:"TableRow" xml:"TableRow"`
}
TableRows is a nested struct in ocr response
type Tables ¶
type Tables struct {
Table []Table `json:"Table" xml:"Table"`
}
Tables is a nested struct in ocr response
type Tail ¶ added in v1.61.380
type Tail struct {
Tail []string `json:"Tail" xml:"Tail"`
}
Tail is a nested struct in ocr response
type TaxAmounts ¶ added in v1.61.380
type TaxAmounts struct {
TaxAmount []float64 `json:"TaxAmount" xml:"TaxAmount"`
}
TaxAmounts is a nested struct in ocr response
type TextRectangle ¶
type TextRectangle struct { Angle int64 `json:"Angle" xml:"Angle"` Left int64 `json:"Left" xml:"Left"` Top int64 `json:"Top" xml:"Top"` Width int64 `json:"Width" xml:"Width"` Height int64 `json:"Height" xml:"Height"` }
TextRectangle is a nested struct in ocr response
type TextRectangles ¶
type TextRectangles struct { Angle int `json:"Angle" xml:"Angle"` Width int `json:"Width" xml:"Width"` Height int `json:"Height" xml:"Height"` Top int `json:"Top" xml:"Top"` Left int `json:"Left" xml:"Left"` }
TextRectangles is a nested struct in ocr response
type TextRectanglesInRecognizeVideoCharacter ¶ added in v1.61.1338
type TextRectanglesInRecognizeVideoCharacter struct {
TextRectangle []TextRectangle `json:"TextRectangle" xml:"TextRectangle"`
}
TextRectanglesInRecognizeVideoCharacter is a nested struct in ocr response
type Texts ¶
type Texts struct {
Text []string `json:"Text" xml:"Text"`
}
Texts is a nested struct in ocr response
type Title ¶
type Title struct { Top int `json:"Top" xml:"Top"` Width int `json:"Width" xml:"Width"` Height int `json:"Height" xml:"Height"` Left int `json:"Left" xml:"Left"` }
Title is a nested struct in ocr response
type ValuePositionsInRecognizeQuotaInvoice ¶ added in v1.61.1166
type ValuePositionsInRecognizeQuotaInvoice struct {
ValuePositionsItem []ValuePositionsItem `json:"valuePositions" xml:"valuePositions"`
}
ValuePositionsInRecognizeQuotaInvoice is a nested struct in ocr response
type ValuePositionsInRecognizeTicketInvoice ¶ added in v1.61.1166
type ValuePositionsInRecognizeTicketInvoice struct {
ValuePositionsItem []ValuePositionsItem `json:"valuePositions" xml:"valuePositions"`
}
ValuePositionsInRecognizeTicketInvoice is a nested struct in ocr response
type ValuePositionsItem ¶ added in v1.62.167
ValuePositionsItem is a nested struct in ocr response
type WithoutTaxAmounts ¶ added in v1.61.380
type WithoutTaxAmounts struct {
WithoutTaxAmount []float64 `json:"WithoutTaxAmount" xml:"WithoutTaxAmount"`
}
WithoutTaxAmounts is a nested struct in ocr response
type WordsInfo ¶ added in v1.61.1166
type WordsInfo struct {
WordsInfoItem []WordsInfoItem `json:"wordsInfo" xml:"wordsInfo"`
}
WordsInfo is a nested struct in ocr response
type WordsInfoItem ¶ added in v1.62.167
type WordsInfoItem struct { Angle int64 `json:"Angle" xml:"Angle"` Word string `json:"Word" xml:"Word"` Height int64 `json:"Height" xml:"Height"` Width int64 `json:"Width" xml:"Width"` X int64 `json:"X" xml:"X"` Y int64 `json:"Y" xml:"Y"` Positions []PositionsItem `json:"Positions" xml:"Positions"` }
WordsInfoItem is a nested struct in ocr response
Source Files ¶
- client.go
- endpoint.go
- get_async_job_result.go
- recognize_bank_card.go
- recognize_business_license.go
- recognize_character.go
- recognize_driver_license.go
- recognize_driving_license.go
- recognize_identity_card.go
- recognize_license_plate.go
- recognize_pdf.go
- recognize_qr_code.go
- recognize_quota_invoice.go
- recognize_table.go
- recognize_taxi_invoice.go
- recognize_ticket_invoice.go
- recognize_train_ticket.go
- recognize_vat_invoice.go
- recognize_video_character.go
- recognize_vin_code.go
- struct_back_result.go
- struct_box.go
- struct_card_area.go
- struct_card_areas.go
- struct_center.go
- struct_checkers.go
- struct_clerks.go
- struct_content.go
- struct_data.go
- struct_data_in_recognize_pdf.go
- struct_data_in_recognize_quota_invoice.go
- struct_data_in_recognize_ticket_invoice.go
- struct_element.go
- struct_elements_in_recognize_qr_code.go
- struct_elements_in_recognize_video_character.go
- struct_emblem.go
- struct_face_rect_vertice.go
- struct_face_rect_vertices.go
- struct_face_rectangle.go
- struct_face_result.go
- struct_frame.go
- struct_frames.go
- struct_front_result.go
- struct_head.go
- struct_invoice.go
- struct_invoice_amounts.go
- struct_invoice_codes.go
- struct_invoice_dates.go
- struct_invoice_fake_codes.go
- struct_invoice_noes.go
- struct_invoice_roi.go
- struct_invoices.go
- struct_item.go
- struct_item_name.go
- struct_item_names.go
- struct_item_roi.go
- struct_items.go
- struct_key_value_infos_in_recognize_quota_invoice.go
- struct_key_value_infos_in_recognize_ticket_invoice.go
- struct_key_value_infos_item.go
- struct_payee_addresses.go
- struct_payee_bank_names.go
- struct_payee_names.go
- struct_payee_register_noes.go
- struct_payees.go
- struct_payer_addresses.go
- struct_payer_bank_names.go
- struct_payer_names.go
- struct_payer_register_noes.go
- struct_plate.go
- struct_plates.go
- struct_positions_in_recognize_license_plate.go
- struct_positions_in_recognize_pdf.go
- struct_positions_item.go
- struct_qr_code.go
- struct_qr_codes_data.go
- struct_result.go
- struct_results_in_recognize_character.go
- struct_results_in_recognize_qr_code.go
- struct_results_in_recognize_ticket_invoice.go
- struct_results_item.go
- struct_roi.go
- struct_size.go
- struct_slice_rectangle.go
- struct_slice_rectangle_item.go
- struct_stamp.go
- struct_sum_amounts.go
- struct_table.go
- struct_table_column.go
- struct_table_columns.go
- struct_table_row.go
- struct_table_rows.go
- struct_tables.go
- struct_tail.go
- struct_tax_amounts.go
- struct_text_rectangle.go
- struct_text_rectangles.go
- struct_text_rectangles_in_recognize_video_character.go
- struct_texts.go
- struct_title.go
- struct_value_positions_in_recognize_quota_invoice.go
- struct_value_positions_in_recognize_ticket_invoice.go
- struct_value_positions_item.go
- struct_without_tax_amounts.go
- struct_words_info.go
- struct_words_info_item.go