ocr

package
v1.61.1038 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EndpointMap map[string]string

EndpointMap Endpoint Data

View Source
var EndpointType = "regional"

EndpointType regional or central

Functions

func GetEndpointMap

func GetEndpointMap() map[string]string

GetEndpointMap Get Endpoint Data Map

func GetEndpointType

func GetEndpointType() string

GetEndpointType Get Endpoint Type Value

func SetClientProperty

func SetClientProperty(client *Client, propertyName string, propertyValue interface{})

SetClientProperty Set Property by Reflect

func SetEndpointDataToClient

func SetEndpointDataToClient(client *Client)

SetEndpointDataToClient Set EndpointMap and ENdpointType

Types

type Addresses

type Addresses struct {
	Address []string `json:"Address" xml:"Address"`
}

Addresses is a nested struct in ocr response

type BackResult

type BackResult struct {
	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"`
	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"`
}

BackResult is a nested struct in ocr response

type BandBoxes added in v1.61.380

type BandBoxes struct {
	BandBox []float64 `json:"BandBox" xml:"BandBox"`
}

BandBoxes is a nested struct in ocr response

type Box added in v1.61.380

type Box struct {
	InvoiceCodes      []float64 `json:"InvoiceCodes" xml:"InvoiceCodes"`
	InvoiceNoes       []float64 `json:"InvoiceNoes" xml:"InvoiceNoes"`
	InvoiceDates      []float64 `json:"InvoiceDates" xml:"InvoiceDates"`
	InvoiceFakeCodes  []float64 `json:"InvoiceFakeCodes" xml:"InvoiceFakeCodes"`
	PayerNames        []float64 `json:"PayerNames" xml:"PayerNames"`
	PayerRegisterNoes []float64 `json:"PayerRegisterNoes" xml:"PayerRegisterNoes"`
	PayerAddresses    []float64 `json:"PayerAddresses" xml:"PayerAddresses"`
	PayerBankNames    []float64 `json:"PayerBankNames" xml:"PayerBankNames"`
	WithoutTaxAmounts []float64 `json:"WithoutTaxAmounts" xml:"WithoutTaxAmounts"`
	TaxAmounts        []float64 `json:"TaxAmounts" xml:"TaxAmounts"`
	SumAmounts        []float64 `json:"SumAmounts" xml:"SumAmounts"`
	InvoiceAmounts    []float64 `json:"InvoiceAmounts" xml:"InvoiceAmounts"`
	PayeeNames        []float64 `json:"PayeeNames" xml:"PayeeNames"`
	PayeeRegisterNoes []float64 `json:"PayeeRegisterNoes" xml:"PayeeRegisterNoes"`
	PayeeAddresses    []float64 `json:"PayeeAddresses" xml:"PayeeAddresses"`
	PayeeBankNames    []float64 `json:"PayeeBankNames" xml:"PayeeBankNames"`
	Payees            []float64 `json:"Payees" xml:"Payees"`
	Checkers          []float64 `json:"Checkers" xml:"Checkers"`
	Clerks            []float64 `json:"Clerks" xml:"Clerks"`
}

Box is a nested struct in ocr response

type Boxes added in v1.61.380

type Boxes struct {
	Box []int `json:"Box" xml:"Box"`
}

Boxes is a nested struct in ocr response

type CardArea

type CardArea struct {
	X float64 `json:"X" xml:"X"`
	Y float64 `json:"Y" xml:"Y"`
}

CardArea 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 CellPhoneNumbers

type CellPhoneNumbers struct {
	CellPhoneNumber []string `json:"CellPhoneNumber" xml:"CellPhoneNumber"`
}

CellPhoneNumbers is a nested struct in ocr response

type Center

type Center struct {
	X float64 `json:"X" xml:"X"`
	Y float64 `json:"Y" xml:"Y"`
}

Center 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

type Client struct {
	sdk.Client
}

Client is the sdk client struct, each func corresponds to an OpenAPI

func NewClient

func NewClient() (client *Client, err error)

NewClient creates a sdk client with environment variables

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

func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)

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) DetectCardScreenshot added in v1.61.637

func (client *Client) DetectCardScreenshot(request *DetectCardScreenshotRequest) (response *DetectCardScreenshotResponse, err error)

DetectCardScreenshot invokes the ocr.DetectCardScreenshot API synchronously

func (*Client) DetectCardScreenshotWithCallback added in v1.61.637

func (client *Client) DetectCardScreenshotWithCallback(request *DetectCardScreenshotRequest, callback func(response *DetectCardScreenshotResponse, err error)) <-chan int

DetectCardScreenshotWithCallback invokes the ocr.DetectCardScreenshot API asynchronously

func (*Client) DetectCardScreenshotWithChan added in v1.61.637

func (client *Client) DetectCardScreenshotWithChan(request *DetectCardScreenshotRequest) (<-chan *DetectCardScreenshotResponse, <-chan error)

DetectCardScreenshotWithChan invokes the ocr.DetectCardScreenshot API asynchronously

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) RecognizeAccountPage

func (client *Client) RecognizeAccountPage(request *RecognizeAccountPageRequest) (response *RecognizeAccountPageResponse, err error)

RecognizeAccountPage invokes the ocr.RecognizeAccountPage API synchronously

func (*Client) RecognizeAccountPageWithCallback

func (client *Client) RecognizeAccountPageWithCallback(request *RecognizeAccountPageRequest, callback func(response *RecognizeAccountPageResponse, err error)) <-chan int

RecognizeAccountPageWithCallback invokes the ocr.RecognizeAccountPage API asynchronously

func (*Client) RecognizeAccountPageWithChan

func (client *Client) RecognizeAccountPageWithChan(request *RecognizeAccountPageRequest) (<-chan *RecognizeAccountPageResponse, <-chan error)

RecognizeAccountPageWithChan invokes the ocr.RecognizeAccountPage 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) RecognizeBusinessCard

func (client *Client) RecognizeBusinessCard(request *RecognizeBusinessCardRequest) (response *RecognizeBusinessCardResponse, err error)

RecognizeBusinessCard invokes the ocr.RecognizeBusinessCard API synchronously

func (*Client) RecognizeBusinessCardWithCallback

func (client *Client) RecognizeBusinessCardWithCallback(request *RecognizeBusinessCardRequest, callback func(response *RecognizeBusinessCardResponse, err error)) <-chan int

RecognizeBusinessCardWithCallback invokes the ocr.RecognizeBusinessCard API asynchronously

func (*Client) RecognizeBusinessCardWithChan

func (client *Client) RecognizeBusinessCardWithChan(request *RecognizeBusinessCardRequest) (<-chan *RecognizeBusinessCardResponse, <-chan error)

RecognizeBusinessCardWithChan invokes the ocr.RecognizeBusinessCard 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) RecognizeChinapassport added in v1.61.380

func (client *Client) RecognizeChinapassport(request *RecognizeChinapassportRequest) (response *RecognizeChinapassportResponse, err error)

RecognizeChinapassport invokes the ocr.RecognizeChinapassport API synchronously

func (*Client) RecognizeChinapassportWithCallback added in v1.61.380

func (client *Client) RecognizeChinapassportWithCallback(request *RecognizeChinapassportRequest, callback func(response *RecognizeChinapassportResponse, err error)) <-chan int

RecognizeChinapassportWithCallback invokes the ocr.RecognizeChinapassport API asynchronously

func (*Client) RecognizeChinapassportWithChan added in v1.61.380

func (client *Client) RecognizeChinapassportWithChan(request *RecognizeChinapassportRequest) (<-chan *RecognizeChinapassportResponse, <-chan error)

RecognizeChinapassportWithChan invokes the ocr.RecognizeChinapassport 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) RecognizePassportMRZ added in v1.61.380

func (client *Client) RecognizePassportMRZ(request *RecognizePassportMRZRequest) (response *RecognizePassportMRZResponse, err error)

RecognizePassportMRZ invokes the ocr.RecognizePassportMRZ API synchronously

func (*Client) RecognizePassportMRZWithCallback added in v1.61.380

func (client *Client) RecognizePassportMRZWithCallback(request *RecognizePassportMRZRequest, callback func(response *RecognizePassportMRZResponse, err error)) <-chan int

RecognizePassportMRZWithCallback invokes the ocr.RecognizePassportMRZ API asynchronously

func (*Client) RecognizePassportMRZWithChan added in v1.61.380

func (client *Client) RecognizePassportMRZWithChan(request *RecognizePassportMRZRequest) (<-chan *RecognizePassportMRZResponse, <-chan error)

RecognizePassportMRZWithChan invokes the ocr.RecognizePassportMRZ API asynchronously

func (*Client) RecognizePoiName added in v1.61.637

func (client *Client) RecognizePoiName(request *RecognizePoiNameRequest) (response *RecognizePoiNameResponse, err error)

RecognizePoiName invokes the ocr.RecognizePoiName API synchronously

func (*Client) RecognizePoiNameWithCallback added in v1.61.637

func (client *Client) RecognizePoiNameWithCallback(request *RecognizePoiNameRequest, callback func(response *RecognizePoiNameResponse, err error)) <-chan int

RecognizePoiNameWithCallback invokes the ocr.RecognizePoiName API asynchronously

func (*Client) RecognizePoiNameWithChan added in v1.61.637

func (client *Client) RecognizePoiNameWithChan(request *RecognizePoiNameRequest) (<-chan *RecognizePoiNameResponse, <-chan error)

RecognizePoiNameWithChan invokes the ocr.RecognizePoiName 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) RecognizeStamp

func (client *Client) RecognizeStamp(request *RecognizeStampRequest) (response *RecognizeStampResponse, err error)

RecognizeStamp invokes the ocr.RecognizeStamp API synchronously

func (*Client) RecognizeStampWithCallback

func (client *Client) RecognizeStampWithCallback(request *RecognizeStampRequest, callback func(response *RecognizeStampResponse, err error)) <-chan int

RecognizeStampWithCallback invokes the ocr.RecognizeStamp API asynchronously

func (*Client) RecognizeStampWithChan

func (client *Client) RecognizeStampWithChan(request *RecognizeStampRequest) (<-chan *RecognizeStampResponse, <-chan error)

RecognizeStampWithChan invokes the ocr.RecognizeStamp 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) RecognizeTakeoutOrder added in v1.61.380

func (client *Client) RecognizeTakeoutOrder(request *RecognizeTakeoutOrderRequest) (response *RecognizeTakeoutOrderResponse, err error)

RecognizeTakeoutOrder invokes the ocr.RecognizeTakeoutOrder API synchronously

func (*Client) RecognizeTakeoutOrderWithCallback added in v1.61.380

func (client *Client) RecognizeTakeoutOrderWithCallback(request *RecognizeTakeoutOrderRequest, callback func(response *RecognizeTakeoutOrderResponse, err error)) <-chan int

RecognizeTakeoutOrderWithCallback invokes the ocr.RecognizeTakeoutOrder API asynchronously

func (*Client) RecognizeTakeoutOrderWithChan added in v1.61.380

func (client *Client) RecognizeTakeoutOrderWithChan(request *RecognizeTakeoutOrderRequest) (<-chan *RecognizeTakeoutOrderResponse, <-chan error)

RecognizeTakeoutOrderWithChan invokes the ocr.RecognizeTakeoutOrder 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) 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) RecognizeVerificationcode added in v1.61.380

func (client *Client) RecognizeVerificationcode(request *RecognizeVerificationcodeRequest) (response *RecognizeVerificationcodeResponse, err error)

RecognizeVerificationcode invokes the ocr.RecognizeVerificationcode API synchronously

func (*Client) RecognizeVerificationcodeWithCallback added in v1.61.380

func (client *Client) RecognizeVerificationcodeWithCallback(request *RecognizeVerificationcodeRequest, callback func(response *RecognizeVerificationcodeResponse, err error)) <-chan int

RecognizeVerificationcodeWithCallback invokes the ocr.RecognizeVerificationcode API asynchronously

func (*Client) RecognizeVerificationcodeWithChan added in v1.61.380

func (client *Client) RecognizeVerificationcodeWithChan(request *RecognizeVerificationcodeRequest) (<-chan *RecognizeVerificationcodeResponse, <-chan error)

RecognizeVerificationcodeWithChan invokes the ocr.RecognizeVerificationcode API asynchronously

func (*Client) TrimDocument added in v1.61.380

func (client *Client) TrimDocument(request *TrimDocumentRequest) (response *TrimDocumentResponse, err error)

TrimDocument invokes the ocr.TrimDocument API synchronously

func (*Client) TrimDocumentWithCallback added in v1.61.380

func (client *Client) TrimDocumentWithCallback(request *TrimDocumentRequest, callback func(response *TrimDocumentResponse, err error)) <-chan int

TrimDocumentWithCallback invokes the ocr.TrimDocument API asynchronously

func (*Client) TrimDocumentWithChan added in v1.61.380

func (client *Client) TrimDocumentWithChan(request *TrimDocumentRequest) (<-chan *TrimDocumentResponse, <-chan error)

TrimDocumentWithChan invokes the ocr.TrimDocument API asynchronously

type Companies

type Companies struct {
	Company []string `json:"Company" xml:"Company"`
}

Companies is a nested struct in ocr response

type Content added in v1.61.380

type Content struct {
	InvoiceCode      string `json:"InvoiceCode" xml:"InvoiceCode"`
	InvoiceNo        string `json:"InvoiceNo" xml:"InvoiceNo"`
	InvoiceDate      string `json:"InvoiceDate" xml:"InvoiceDate"`
	AntiFakeCode     string `json:"AntiFakeCode" xml:"AntiFakeCode"`
	PayerName        string `json:"PayerName" xml:"PayerName"`
	PayerRegisterNo  string `json:"PayerRegisterNo" xml:"PayerRegisterNo"`
	PayerAddress     string `json:"PayerAddress" xml:"PayerAddress"`
	PayerBankName    string `json:"PayerBankName" xml:"PayerBankName"`
	WithoutTaxAmount string `json:"WithoutTaxAmount" xml:"WithoutTaxAmount"`
	TaxAmount        string `json:"TaxAmount" xml:"TaxAmount"`
	SumAmount        string `json:"SumAmount" xml:"SumAmount"`
	InvoiceAmount    string `json:"InvoiceAmount" xml:"InvoiceAmount"`
	PayeeName        string `json:"PayeeName" xml:"PayeeName"`
	PayeeRegisterNo  string `json:"PayeeRegisterNo" xml:"PayeeRegisterNo"`
	PayeeAddress     string `json:"PayeeAddress" xml:"PayeeAddress"`
	PayeeBankName    string `json:"PayeeBankName" xml:"PayeeBankName"`
	Payee            string `json:"Payee" xml:"Payee"`
	Checker          string `json:"Checker" xml:"Checker"`
	Clerk            string `json:"Clerk" xml:"Clerk"`
}

Content is a nested struct in ocr response

type Data

type Data struct {
	ExpiryDate          string               `json:"ExpiryDate" xml:"ExpiryDate"`
	Date                string               `json:"Date" xml:"Date"`
	ExpiryDay           string               `json:"ExpiryDay" xml:"ExpiryDay"`
	Seat                string               `json:"Seat" xml:"Seat"`
	EstablishDate       string               `json:"EstablishDate" xml:"EstablishDate"`
	FileContent         string               `json:"FileContent" xml:"FileContent"`
	ValidPeriod         string               `json:"ValidPeriod" xml:"ValidPeriod"`
	Type                string               `json:"Type" xml:"Type"`
	NameChineseRaw      string               `json:"NameChineseRaw" xml:"NameChineseRaw"`
	NativePlace         string               `json:"NativePlace" xml:"NativePlace"`
	LegalPerson         string               `json:"LegalPerson" xml:"LegalPerson"`
	RegisterNumber      string               `json:"RegisterNumber" xml:"RegisterNumber"`
	IssuePlaceRaw       string               `json:"IssuePlaceRaw" xml:"IssuePlaceRaw"`
	Destination         string               `json:"Destination" xml:"Destination"`
	Price               float64              `json:"Price" xml:"Price"`
	Relation            string               `json:"Relation" xml:"Relation"`
	BirthPlaceRaw       string               `json:"BirthPlaceRaw" xml:"BirthPlaceRaw"`
	DepartureStation    string               `json:"DepartureStation" xml:"DepartureStation"`
	Gender              string               `json:"Gender" xml:"Gender"`
	BirthDay            string               `json:"BirthDay" xml:"BirthDay"`
	PassportNo          string               `json:"PassportNo" xml:"PassportNo"`
	Success             bool                 `json:"Success" xml:"Success"`
	IssueDate           string               `json:"IssueDate" xml:"IssueDate"`
	Status              string               `json:"Status" xml:"Status"`
	Name                string               `json:"Name" xml:"Name"`
	BankName            string               `json:"BankName" xml:"BankName"`
	IDNumber            string               `json:"IDNumber" xml:"IDNumber"`
	ErrorMessage        string               `json:"ErrorMessage" xml:"ErrorMessage"`
	Sex                 string               `json:"Sex" xml:"Sex"`
	Capital             string               `json:"Capital" xml:"Capital"`
	LineOne             string               `json:"LineOne" xml:"LineOne"`
	IsBlur              bool                 `json:"IsBlur" xml:"IsBlur"`
	Authority           string               `json:"Authority" xml:"Authority"`
	CardNumber          string               `json:"CardNumber" xml:"CardNumber"`
	VinCode             string               `json:"VinCode" xml:"VinCode"`
	ErrorCode           string               `json:"ErrorCode" xml:"ErrorCode"`
	Angle               float64              `json:"Angle" xml:"Angle"`
	Business            string               `json:"Business" xml:"Business"`
	Country             string               `json:"Country" xml:"Country"`
	JobId               string               `json:"JobId" xml:"JobId"`
	BirthPlace          string               `json:"BirthPlace" xml:"BirthPlace"`
	Result              string               `json:"Result" xml:"Result"`
	Nationality         string               `json:"Nationality" xml:"Nationality"`
	ValidDate           string               `json:"ValidDate" xml:"ValidDate"`
	Level               string               `json:"Level" xml:"Level"`
	PersonId            string               `json:"PersonId" xml:"PersonId"`
	SourceCountry       string               `json:"SourceCountry" xml:"SourceCountry"`
	NameChinese         string               `json:"NameChinese" xml:"NameChinese"`
	Address             string               `json:"Address" xml:"Address"`
	IsCard              bool                 `json:"IsCard" xml:"IsCard"`
	Number              string               `json:"Number" xml:"Number"`
	BirthDate           string               `json:"BirthDate" xml:"BirthDate"`
	LineZero            string               `json:"LineZero" xml:"LineZero"`
	IssuePlace          string               `json:"IssuePlace" xml:"IssuePlace"`
	Departments         []string             `json:"Departments" xml:"Departments"`
	Companies           []string             `json:"Companies" xml:"Companies"`
	Emails              []string             `json:"Emails" xml:"Emails"`
	CellPhoneNumbers    []string             `json:"CellPhoneNumbers" xml:"CellPhoneNumbers"`
	OfficePhoneNumbers  []string             `json:"OfficePhoneNumbers" xml:"OfficePhoneNumbers"`
	Titles              []string             `json:"Titles" xml:"Titles"`
	Addresses           []string             `json:"Addresses" xml:"Addresses"`
	Box                 Box                  `json:"Box" xml:"Box"`
	FaceResult          FaceResult           `json:"FaceResult" xml:"FaceResult"`
	Summary             Summary              `json:"Summary" xml:"Summary"`
	Content             Content              `json:"Content" xml:"Content"`
	SpoofResult         SpoofResult          `json:"SpoofResult" xml:"SpoofResult"`
	BackResult          BackResult           `json:"BackResult" xml:"BackResult"`
	Stamp               Stamp                `json:"Stamp" xml:"Stamp"`
	FrontResult         FrontResult          `json:"FrontResult" xml:"FrontResult"`
	TitleArea           TitleArea            `json:"TitleArea" xml:"TitleArea"`
	QRCode              QRCode               `json:"QRCode" xml:"QRCode"`
	Title               Title                `json:"Title" xml:"Title"`
	Emblem              Emblem               `json:"Emblem" xml:"Emblem"`
	Regions             []Region             `json:"Regions" xml:"Regions"`
	Tables              []Table              `json:"Tables" xml:"Tables"`
	InvalidStampAreas   []InvalidStampArea   `json:"InvalidStampAreas" xml:"InvalidStampAreas"`
	Signboards          []SignboardsItem     `json:"Signboards" xml:"Signboards"`
	Invoices            []Invoice            `json:"Invoices" xml:"Invoices"`
	RegisterStampAreas  []RegisterStampArea  `json:"RegisterStampAreas" xml:"RegisterStampAreas"`
	Results             []Result             `json:"Results" xml:"Results"`
	Elements            []Element            `json:"Elements" xml:"Elements"`
	OtherStampAreas     []OtherStampArea     `json:"OtherStampAreas" xml:"OtherStampAreas"`
	UndertakeStampAreas []UndertakeStampArea `json:"UndertakeStampAreas" xml:"UndertakeStampAreas"`
	Plates              []Plate              `json:"Plates" xml:"Plates"`
}

Data is a nested struct in ocr response

type DataInRecognizeStamp

type DataInRecognizeStamp struct {
	Results []ResultsItem `json:"Results" xml:"Results"`
}

DataInRecognizeStamp is a nested struct in ocr response

type DataInRecognizeVerificationcode added in v1.61.380

type DataInRecognizeVerificationcode struct {
	Content string `json:"Content" xml:"Content"`
}

DataInRecognizeVerificationcode is a nested struct in ocr response

type DataInTrimDocument added in v1.61.380

type DataInTrimDocument struct {
	Content string `json:"Content" xml:"Content"`
}

DataInTrimDocument is a nested struct in ocr response

type Departments

type Departments struct {
	Department []string `json:"Department" xml:"Department"`
}

Departments is a nested struct in ocr response

type DetectCardScreenshotRequest added in v1.61.637

type DetectCardScreenshotRequest struct {
	*requests.RpcRequest
	ImageURL string `position:"Body" name:"ImageURL"`
}

DetectCardScreenshotRequest is the request struct for api DetectCardScreenshot

func CreateDetectCardScreenshotRequest added in v1.61.637

func CreateDetectCardScreenshotRequest() (request *DetectCardScreenshotRequest)

CreateDetectCardScreenshotRequest creates a request to invoke DetectCardScreenshot API

type DetectCardScreenshotResponse added in v1.61.637

type DetectCardScreenshotResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Data      Data   `json:"Data" xml:"Data"`
}

DetectCardScreenshotResponse is the response struct for api DetectCardScreenshot

func CreateDetectCardScreenshotResponse added in v1.61.637

func CreateDetectCardScreenshotResponse() (response *DetectCardScreenshotResponse)

CreateDetectCardScreenshotResponse creates a response to parse from DetectCardScreenshot response

type Element added in v1.61.380

type Element struct {
	Name     string   `json:"Name" xml:"Name"`
	Value    string   `json:"Value" xml:"Value"`
	TaskId   string   `json:"TaskId" xml:"TaskId"`
	Score    float64  `json:"Score" xml:"Score"`
	ImageURL string   `json:"ImageURL" xml:"ImageURL"`
	Boxes    []int    `json:"Boxes" xml:"Boxes"`
	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 ElementsInRecognizeTakeoutOrder added in v1.61.380

type ElementsInRecognizeTakeoutOrder struct {
	Element []Element `json:"Element" xml:"Element"`
}

ElementsInRecognizeTakeoutOrder is a nested struct in ocr response

type Emails

type Emails struct {
	Email []string `json:"Email" xml:"Email"`
}

Emails is a nested struct in ocr response

type Emblem

type Emblem struct {
	Top    int `json:"Top" xml:"Top"`
	Left   int `json:"Left" xml:"Left"`
	Height int `json:"Height" xml:"Height"`
	Width  int `json:"Width" xml:"Width"`
}

Emblem is a nested struct in ocr response

type FaceRectVertice

type FaceRectVertice struct {
	X float64 `json:"X" xml:"X"`
	Y float64 `json:"Y" xml:"Y"`
}

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"`
	Center Center  `json:"Center" xml:"Center"`
	Size   Size    `json:"Size" xml:"Size"`
}

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"`
	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 FrontResult

type FrontResult struct {
	Address          string            `json:"Address" xml:"Address"`
	Name             string            `json:"Name" xml:"Name"`
	Nationality      string            `json:"Nationality" xml:"Nationality"`
	IDNumber         string            `json:"IDNumber" xml:"IDNumber"`
	Gender           string            `json:"Gender" xml:"Gender"`
	BirthDate        string            `json:"BirthDate" xml:"BirthDate"`
	FaceRectangle    FaceRectangle     `json:"FaceRectangle" xml:"FaceRectangle"`
	CardAreas        []CardArea        `json:"CardAreas" xml:"CardAreas"`
	FaceRectVertices []FaceRectVertice `json:"FaceRectVertices" xml:"FaceRectVertices"`
}

FrontResult is a nested struct in ocr response

type GeneralText

type GeneralText struct {
	GeneralTextItem []GeneralTextItem `json:"GeneralText" xml:"GeneralText"`
}

GeneralText is a nested struct in ocr response

type GeneralTextItem

type GeneralTextItem struct {
	Content    string  `json:"Content" xml:"Content"`
	Confidence float64 `json:"Confidence" xml:"Confidence"`
}

GeneralTextItem is a nested struct in ocr response

type GetAsyncJobResultRequest added in v1.61.380

type GetAsyncJobResultRequest struct {
	*requests.RpcRequest
	Async requests.Boolean `position:"Body" name:"Async"`
	JobId string           `position:"Body" name:"JobId"`
}

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 struct {
	Head []string `json:"Head" xml:"Head"`
}

Head is a nested struct in ocr response

type InvalidStampArea

type InvalidStampArea struct {
	Left   int `json:"Left" xml:"Left"`
	Top    int `json:"Top" xml:"Top"`
	Height int `json:"Height" xml:"Height"`
	Width  int `json:"Width" xml:"Width"`
}

InvalidStampArea is a nested struct in ocr response

type InvalidStampAreas

type InvalidStampAreas struct {
	InvalidStampArea []InvalidStampArea `json:"InvalidStampArea" xml:"InvalidStampArea"`
}

InvalidStampAreas 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 {
	H float64 `json:"H" xml:"H"`
	W float64 `json:"W" xml:"W"`
	X float64 `json:"X" xml:"X"`
	Y float64 `json:"Y" xml:"Y"`
}

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 ItemRoi

type ItemRoi struct {
	Angle  float64 `json:"Angle" xml:"Angle"`
	Center Center  `json:"Center" xml:"Center"`
	Size   Size    `json:"Size" xml:"Size"`
}

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 OfficePhoneNumbers

type OfficePhoneNumbers struct {
	OfficePhoneNumber []string `json:"OfficePhoneNumber" xml:"OfficePhoneNumber"`
}

OfficePhoneNumbers is a nested struct in ocr response

type OtherStampArea

type OtherStampArea struct {
	Left   int `json:"Left" xml:"Left"`
	Top    int `json:"Top" xml:"Top"`
	Height int `json:"Height" xml:"Height"`
	Width  int `json:"Width" xml:"Width"`
}

OtherStampArea is a nested struct in ocr response

type OtherStampAreas

type OtherStampAreas struct {
	OtherStampArea []OtherStampArea `json:"OtherStampArea" xml:"OtherStampArea"`
}

OtherStampAreas 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 {
	Confidence          float64 `json:"Confidence" xml:"Confidence"`
	PlateNumber         string  `json:"PlateNumber" xml:"PlateNumber"`
	PlateType           string  `json:"PlateType" xml:"PlateType"`
	PlateTypeConfidence float64 `json:"PlateTypeConfidence" xml:"PlateTypeConfidence"`
	Roi                 Roi     `json:"Roi" xml:"Roi"`
}

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 Points added in v1.61.637

type Points struct {
	Points []int `json:"Points" xml:"Points"`
}

Points is a nested struct in ocr response

type QRCode

type QRCode struct {
	Top    int `json:"Top" xml:"Top"`
	Left   int `json:"Left" xml:"Left"`
	Height int `json:"Height" xml:"Height"`
	Width  int `json:"Width" xml:"Width"`
}

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 RecognizeAccountPageRequest

type RecognizeAccountPageRequest struct {
	*requests.RpcRequest
	ImageType requests.Integer `position:"Body" name:"ImageType"`
	ImageURL  string           `position:"Body" name:"ImageURL"`
}

RecognizeAccountPageRequest is the request struct for api RecognizeAccountPage

func CreateRecognizeAccountPageRequest

func CreateRecognizeAccountPageRequest() (request *RecognizeAccountPageRequest)

CreateRecognizeAccountPageRequest creates a request to invoke RecognizeAccountPage API

type RecognizeAccountPageResponse

type RecognizeAccountPageResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Data      Data   `json:"Data" xml:"Data"`
}

RecognizeAccountPageResponse is the response struct for api RecognizeAccountPage

func CreateRecognizeAccountPageResponse

func CreateRecognizeAccountPageResponse() (response *RecognizeAccountPageResponse)

CreateRecognizeAccountPageResponse creates a response to parse from RecognizeAccountPage 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 RecognizeBusinessCardRequest

type RecognizeBusinessCardRequest struct {
	*requests.RpcRequest
	ImageType requests.Integer `position:"Body" name:"ImageType"`
	ImageURL  string           `position:"Body" name:"ImageURL"`
}

RecognizeBusinessCardRequest is the request struct for api RecognizeBusinessCard

func CreateRecognizeBusinessCardRequest

func CreateRecognizeBusinessCardRequest() (request *RecognizeBusinessCardRequest)

CreateRecognizeBusinessCardRequest creates a request to invoke RecognizeBusinessCard API

type RecognizeBusinessCardResponse

type RecognizeBusinessCardResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Data      Data   `json:"Data" xml:"Data"`
}

RecognizeBusinessCardResponse is the response struct for api RecognizeBusinessCard

func CreateRecognizeBusinessCardResponse

func CreateRecognizeBusinessCardResponse() (response *RecognizeBusinessCardResponse)

CreateRecognizeBusinessCardResponse creates a response to parse from RecognizeBusinessCard 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
	ImageType         requests.Integer `position:"Body" name:"ImageType"`
	OutputProbability requests.Boolean `position:"Body" name:"OutputProbability"`
	ImageURL          string           `position:"Body" name:"ImageURL"`
	MinHeight         requests.Integer `position:"Body" name:"MinHeight"`
}

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 RecognizeChinapassportRequest added in v1.61.380

type RecognizeChinapassportRequest struct {
	*requests.RpcRequest
	ImageURL string `position:"Body" name:"ImageURL"`
}

RecognizeChinapassportRequest is the request struct for api RecognizeChinapassport

func CreateRecognizeChinapassportRequest added in v1.61.380

func CreateRecognizeChinapassportRequest() (request *RecognizeChinapassportRequest)

CreateRecognizeChinapassportRequest creates a request to invoke RecognizeChinapassport API

type RecognizeChinapassportResponse added in v1.61.380

type RecognizeChinapassportResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Data      Data   `json:"Data" xml:"Data"`
}

RecognizeChinapassportResponse is the response struct for api RecognizeChinapassport

func CreateRecognizeChinapassportResponse added in v1.61.380

func CreateRecognizeChinapassportResponse() (response *RecognizeChinapassportResponse)

CreateRecognizeChinapassportResponse creates a response to parse from RecognizeChinapassport 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"`
	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"`
	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 RecognizePassportMRZRequest added in v1.61.380

type RecognizePassportMRZRequest struct {
	*requests.RpcRequest
	ImageURL string `position:"Body" name:"ImageURL"`
}

RecognizePassportMRZRequest is the request struct for api RecognizePassportMRZ

func CreateRecognizePassportMRZRequest added in v1.61.380

func CreateRecognizePassportMRZRequest() (request *RecognizePassportMRZRequest)

CreateRecognizePassportMRZRequest creates a request to invoke RecognizePassportMRZ API

type RecognizePassportMRZResponse added in v1.61.380

type RecognizePassportMRZResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Data      Data   `json:"Data" xml:"Data"`
}

RecognizePassportMRZResponse is the response struct for api RecognizePassportMRZ

func CreateRecognizePassportMRZResponse added in v1.61.380

func CreateRecognizePassportMRZResponse() (response *RecognizePassportMRZResponse)

CreateRecognizePassportMRZResponse creates a response to parse from RecognizePassportMRZ response

type RecognizePoiNameRequest added in v1.61.637

type RecognizePoiNameRequest struct {
	*requests.RpcRequest
	ImageURL string `position:"Body" name:"ImageURL"`
}

RecognizePoiNameRequest is the request struct for api RecognizePoiName

func CreateRecognizePoiNameRequest added in v1.61.637

func CreateRecognizePoiNameRequest() (request *RecognizePoiNameRequest)

CreateRecognizePoiNameRequest creates a request to invoke RecognizePoiName API

type RecognizePoiNameResponse added in v1.61.637

type RecognizePoiNameResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Data      Data   `json:"Data" xml:"Data"`
}

RecognizePoiNameResponse is the response struct for api RecognizePoiName

func CreateRecognizePoiNameResponse added in v1.61.637

func CreateRecognizePoiNameResponse() (response *RecognizePoiNameResponse)

CreateRecognizePoiNameResponse creates a response to parse from RecognizePoiName 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 RecognizeStampRequest

type RecognizeStampRequest struct {
	*requests.RpcRequest
	ImageType requests.Integer `position:"Body" name:"ImageType"`
	ImageURL  string           `position:"Body" name:"ImageURL"`
}

RecognizeStampRequest is the request struct for api RecognizeStamp

func CreateRecognizeStampRequest

func CreateRecognizeStampRequest() (request *RecognizeStampRequest)

CreateRecognizeStampRequest creates a request to invoke RecognizeStamp API

type RecognizeStampResponse

type RecognizeStampResponse struct {
	*responses.BaseResponse
	RequestId string               `json:"RequestId" xml:"RequestId"`
	Data      DataInRecognizeStamp `json:"Data" xml:"Data"`
}

RecognizeStampResponse is the response struct for api RecognizeStamp

func CreateRecognizeStampResponse

func CreateRecognizeStampResponse() (response *RecognizeStampResponse)

CreateRecognizeStampResponse creates a response to parse from RecognizeStamp response

type RecognizeTableRequest

type RecognizeTableRequest struct {
	*requests.RpcRequest
	ImageType       requests.Integer `position:"Body" name:"ImageType"`
	UseFinanceModel requests.Boolean `position:"Body" name:"UseFinanceModel"`
	SkipDetection   requests.Boolean `position:"Body" name:"SkipDetection"`
	ImageURL        string           `position:"Body" name:"ImageURL"`
	OutputFormat    string           `position:"Body" name:"OutputFormat"`
	AssureDirection requests.Boolean `position:"Body" name:"AssureDirection"`
	HasLine         requests.Boolean `position:"Body" name:"HasLine"`
}

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 RecognizeTakeoutOrderRequest added in v1.61.380

type RecognizeTakeoutOrderRequest struct {
	*requests.RpcRequest
	ImageURL string `position:"Body" name:"ImageURL"`
}

RecognizeTakeoutOrderRequest is the request struct for api RecognizeTakeoutOrder

func CreateRecognizeTakeoutOrderRequest added in v1.61.380

func CreateRecognizeTakeoutOrderRequest() (request *RecognizeTakeoutOrderRequest)

CreateRecognizeTakeoutOrderRequest creates a request to invoke RecognizeTakeoutOrder API

type RecognizeTakeoutOrderResponse added in v1.61.380

type RecognizeTakeoutOrderResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Data      Data   `json:"Data" xml:"Data"`
}

RecognizeTakeoutOrderResponse is the response struct for api RecognizeTakeoutOrder

func CreateRecognizeTakeoutOrderResponse added in v1.61.380

func CreateRecognizeTakeoutOrderResponse() (response *RecognizeTakeoutOrderResponse)

CreateRecognizeTakeoutOrderResponse creates a response to parse from RecognizeTakeoutOrder 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 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 RecognizeVerificationcodeRequest added in v1.61.380

type RecognizeVerificationcodeRequest struct {
	*requests.RpcRequest
	ImageURL string `position:"Body" name:"ImageURL"`
}

RecognizeVerificationcodeRequest is the request struct for api RecognizeVerificationcode

func CreateRecognizeVerificationcodeRequest added in v1.61.380

func CreateRecognizeVerificationcodeRequest() (request *RecognizeVerificationcodeRequest)

CreateRecognizeVerificationcodeRequest creates a request to invoke RecognizeVerificationcode API

type RecognizeVerificationcodeResponse added in v1.61.380

type RecognizeVerificationcodeResponse struct {
	*responses.BaseResponse
	RequestId string                          `json:"RequestId" xml:"RequestId"`
	Data      DataInRecognizeVerificationcode `json:"Data" xml:"Data"`
}

RecognizeVerificationcodeResponse is the response struct for api RecognizeVerificationcode

func CreateRecognizeVerificationcodeResponse added in v1.61.380

func CreateRecognizeVerificationcodeResponse() (response *RecognizeVerificationcodeResponse)

CreateRecognizeVerificationcodeResponse creates a response to parse from RecognizeVerificationcode response

type Region added in v1.61.380

type Region struct {
	Name             string    `json:"Name" xml:"Name"`
	RecognitionScore float64   `json:"RecognitionScore" xml:"RecognitionScore"`
	Content          string    `json:"Content" xml:"Content"`
	DetectionScore   float64   `json:"DetectionScore" xml:"DetectionScore"`
	BandBoxes        []float64 `json:"BandBoxes" xml:"BandBoxes"`
}

Region is a nested struct in ocr response

type Regions added in v1.61.380

type Regions struct {
	Region []Region `json:"Region" xml:"Region"`
}

Regions is a nested struct in ocr response

type RegisterStampArea

type RegisterStampArea struct {
	Left   int `json:"Left" xml:"Left"`
	Top    int `json:"Top" xml:"Top"`
	Height int `json:"Height" xml:"Height"`
	Width  int `json:"Width" xml:"Width"`
}

RegisterStampArea is a nested struct in ocr response

type RegisterStampAreas

type RegisterStampAreas struct {
	RegisterStampArea []RegisterStampArea `json:"RegisterStampArea" xml:"RegisterStampArea"`
}

RegisterStampAreas is a nested struct in ocr response

type Result

type Result struct {
	Rate           float64        `json:"Rate" xml:"Rate"`
	Text           string         `json:"Text" xml:"Text"`
	Label          string         `json:"Label" xml:"Label"`
	Suggestion     string         `json:"Suggestion" xml:"Suggestion"`
	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 ResultMap added in v1.61.637

type ResultMap struct {
	ScreenScore     float64 `json:"ScreenScore" xml:"ScreenScore"`
	ScreenThreshold float64 `json:"ScreenThreshold" xml:"ScreenThreshold"`
}

ResultMap 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 ResultsInRecognizeStamp

type ResultsInRecognizeStamp struct {
	ResultsItem []ResultsItem `json:"Results" xml:"Results"`
}

ResultsInRecognizeStamp is a nested struct in ocr response

type ResultsItem

type ResultsItem struct {
	Roi         Roi               `json:"Roi" xml:"Roi"`
	Text        Text              `json:"Text" xml:"Text"`
	GeneralText []GeneralTextItem `json:"GeneralText" xml:"GeneralText"`
}

ResultsItem is a nested struct in ocr response

type Roi

type Roi struct {
	H      int `json:"H" xml:"H"`
	X      int `json:"X" xml:"X"`
	W      int `json:"W" xml:"W"`
	Y      int `json:"Y" xml:"Y"`
	Width  int `json:"Width" xml:"Width"`
	Height int `json:"Height" xml:"Height"`
	Top    int `json:"Top" xml:"Top"`
	Left   int `json:"Left" xml:"Left"`
}

Roi is a nested struct in ocr response

type Signboards added in v1.61.637

type Signboards struct {
	SignboardsItem []SignboardsItem `json:"Signboards" xml:"Signboards"`
}

Signboards is a nested struct in ocr response

type SignboardsItem added in v1.61.637

type SignboardsItem struct {
	Texts []TextsItem `json:"Texts" xml:"Texts"`
}

SignboardsItem 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 SpoofResult added in v1.61.637

type SpoofResult struct {
	IsSpoof   bool      `json:"IsSpoof" xml:"IsSpoof"`
	ResultMap ResultMap `json:"ResultMap" xml:"ResultMap"`
}

SpoofResult is a nested struct in ocr response

type Stamp

type Stamp struct {
	Top    int `json:"Top" xml:"Top"`
	Left   int `json:"Left" xml:"Left"`
	Height int `json:"Height" xml:"Height"`
	Width  int `json:"Width" xml:"Width"`
}

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 Summary added in v1.61.637

type Summary struct {
	Brand string  `json:"Brand" xml:"Brand"`
	Score float64 `json:"Score" xml:"Score"`
}

Summary 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 {
	StartColumn int      `json:"StartColumn" xml:"StartColumn"`
	StartRow    int      `json:"StartRow" xml:"StartRow"`
	EndColumn   int      `json:"EndColumn" xml:"EndColumn"`
	EndRow      int      `json:"EndRow" xml:"EndRow"`
	Height      int      `json:"Height" xml:"Height"`
	Width       int      `json:"Width" xml:"Width"`
	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 Text

type Text struct {
	Content    string  `json:"Content" xml:"Content"`
	Confidence float64 `json:"Confidence" xml:"Confidence"`
}

Text is a nested struct in ocr response

type TextRectangles

type TextRectangles struct {
	Angle  int `json:"Angle" xml:"Angle"`
	Left   int `json:"Left" xml:"Left"`
	Top    int `json:"Top" xml:"Top"`
	Width  int `json:"Width" xml:"Width"`
	Height int `json:"Height" xml:"Height"`
}

TextRectangles is a nested struct in ocr response

type TextsInRecognizePoiName added in v1.61.637

type TextsInRecognizePoiName struct {
	TextsItem []TextsItem `json:"Texts" xml:"Texts"`
}

TextsInRecognizePoiName is a nested struct in ocr response

type TextsInRecognizeTable added in v1.61.637

type TextsInRecognizeTable struct {
	Text []string `json:"Text" xml:"Text"`
}

TextsInRecognizeTable is a nested struct in ocr response

type TextsItem added in v1.61.637

type TextsItem struct {
	Label  string  `json:"Label" xml:"Label"`
	Score  float64 `json:"Score" xml:"Score"`
	Tag    string  `json:"Tag" xml:"Tag"`
	Type   string  `json:"Type" xml:"Type"`
	Points []int   `json:"Points" xml:"Points"`
}

TextsItem is a nested struct in ocr response

type Title

type Title struct {
	Top    int `json:"Top" xml:"Top"`
	Left   int `json:"Left" xml:"Left"`
	Height int `json:"Height" xml:"Height"`
	Width  int `json:"Width" xml:"Width"`
}

Title is a nested struct in ocr response

type TitleArea

type TitleArea struct {
	Left   int `json:"Left" xml:"Left"`
	Top    int `json:"Top" xml:"Top"`
	Height int `json:"Height" xml:"Height"`
	Width  int `json:"Width" xml:"Width"`
}

TitleArea is a nested struct in ocr response

type Titles

type Titles struct {
	Title []string `json:"Title" xml:"Title"`
}

Titles is a nested struct in ocr response

type TrimDocumentRequest added in v1.61.380

type TrimDocumentRequest struct {
	*requests.RpcRequest
	FileType   string           `position:"Body" name:"FileType"`
	Async      requests.Boolean `position:"Body" name:"Async"`
	FileURL    string           `position:"Body" name:"FileURL"`
	OutputType string           `position:"Body" name:"OutputType"`
}

TrimDocumentRequest is the request struct for api TrimDocument

func CreateTrimDocumentRequest added in v1.61.380

func CreateTrimDocumentRequest() (request *TrimDocumentRequest)

CreateTrimDocumentRequest creates a request to invoke TrimDocument API

type TrimDocumentResponse added in v1.61.380

type TrimDocumentResponse struct {
	*responses.BaseResponse
	RequestId string             `json:"RequestId" xml:"RequestId"`
	Data      DataInTrimDocument `json:"Data" xml:"Data"`
}

TrimDocumentResponse is the response struct for api TrimDocument

func CreateTrimDocumentResponse added in v1.61.380

func CreateTrimDocumentResponse() (response *TrimDocumentResponse)

CreateTrimDocumentResponse creates a response to parse from TrimDocument response

type UndertakeStampArea

type UndertakeStampArea struct {
	Left   int `json:"Left" xml:"Left"`
	Top    int `json:"Top" xml:"Top"`
	Height int `json:"Height" xml:"Height"`
	Width  int `json:"Width" xml:"Width"`
}

UndertakeStampArea is a nested struct in ocr response

type UndertakeStampAreas

type UndertakeStampAreas struct {
	UndertakeStampArea []UndertakeStampArea `json:"UndertakeStampArea" xml:"UndertakeStampArea"`
}

UndertakeStampAreas 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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL