model

package
v0.0.66 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnswerBlockList

type AnswerBlockList struct {
	Words string `json:"words"`

	Confidence float32 `json:"confidence"`

	Location []int32 `json:"location"`
}

func (AnswerBlockList) String

func (o AnswerBlockList) String() string

type AutoClassificationRequestBody

type AutoClassificationRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`

	TypeList *[]string `json:"type_list,omitempty"`
}

func (AutoClassificationRequestBody) String

type AutoClassificationResult

type AutoClassificationResult struct {
	Status *AutoClassificationResultStatus `json:"status"`

	Content *interface{} `json:"content"`

	Type string `json:"type"`

	Location [][]int32 `json:"location"`
}

func (AutoClassificationResult) String

func (o AutoClassificationResult) String() string

type AutoClassificationResultStatus added in v0.0.59

type AutoClassificationResultStatus struct {
	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg *string `json:"error_msg,omitempty"`
}

func (AutoClassificationResultStatus) String added in v0.0.59

type BankcardRequestBody

type BankcardRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`
}

func (BankcardRequestBody) String

func (o BankcardRequestBody) String() string

type BankcardResult

type BankcardResult struct {
	BankName *string `json:"bank_name,omitempty"`

	CardNumber *string `json:"card_number,omitempty"`

	IssueDate *string `json:"issue_date,omitempty"`

	ExpiryDate *string `json:"expiry_date,omitempty"`

	Type *string `json:"type,omitempty"`

	Confidence *interface{} `json:"confidence,omitempty"`
}

func (BankcardResult) String

func (o BankcardResult) String() string

type BusinessCardRequestBody

type BusinessCardRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`

	DetectDirection *bool `json:"detect_direction,omitempty"`

	ReturnAdjustedImage *bool `json:"return_adjusted_image,omitempty"`
}

func (BusinessCardRequestBody) String

func (o BusinessCardRequestBody) String() string

type BusinessCardResult

type BusinessCardResult struct {
	Name *[]string `json:"name,omitempty"`

	Title *[]string `json:"title,omitempty"`

	Company *[]string `json:"company,omitempty"`

	Department *[]string `json:"department,omitempty"`

	Phone *[]string `json:"phone,omitempty"`

	Address *[]string `json:"address,omitempty"`

	Email *[]string `json:"email,omitempty"`

	Fax *[]string `json:"fax,omitempty"`

	Postcode *[]string `json:"postcode,omitempty"`

	Website *[]string `json:"website,omitempty"`

	ExtraInfoList *[]ExtraInfoList `json:"extra_info_list,omitempty"`

	AdjustedImage *string `json:"adjusted_image,omitempty"`
}

func (BusinessCardResult) String

func (o BusinessCardResult) String() string

type BusinessLicenseRequestBody

type BusinessLicenseRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`
}

func (BusinessLicenseRequestBody) String

type BusinessLicenseResult

type BusinessLicenseResult struct {
	RegistrationNumber *string `json:"registration_number,omitempty"`

	Name *string `json:"name,omitempty"`

	Type *string `json:"type,omitempty"`

	Address *string `json:"address,omitempty"`

	LegalRepresentative *string `json:"legal_representative,omitempty"`

	RegisteredCapital *string `json:"registered_capital,omitempty"`

	FoundDate *string `json:"found_date,omitempty"`

	BusinessTerm *string `json:"business_term,omitempty"`

	BusinessScope *string `json:"business_scope,omitempty"`

	IssueDate *string `json:"issue_date,omitempty"`

	Confidence *interface{} `json:"confidence,omitempty"`
}

func (BusinessLicenseResult) String

func (o BusinessLicenseResult) String() string

type DriverLicenseRequestBody

type DriverLicenseRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`

	Side *string `json:"side,omitempty"`

	ReturnIssuingAuthority *bool `json:"return_issuing_authority,omitempty"`
}

func (DriverLicenseRequestBody) String

func (o DriverLicenseRequestBody) String() string

type DriverLicenseResult

type DriverLicenseResult struct {
	Number *string `json:"number,omitempty"`

	Name *string `json:"name,omitempty"`

	Sex *string `json:"sex,omitempty"`

	Nationality *string `json:"nationality,omitempty"`

	Address *string `json:"address,omitempty"`

	Birth *string `json:"birth,omitempty"`

	IssueDate *string `json:"issue_date,omitempty"`

	Class *string `json:"class,omitempty"`

	ValidFrom *string `json:"valid_from,omitempty"`

	ValidTo *string `json:"valid_to,omitempty"`

	IssuingAuthority *string `json:"issuing_authority,omitempty"`

	FileNumber *string `json:"file_number,omitempty"`

	Record *string `json:"record,omitempty"`
}

func (DriverLicenseResult) String

func (o DriverLicenseResult) String() string

type ExtraInfoList

type ExtraInfoList struct {
	Item *string `json:"item,omitempty"`

	Value *string `json:"value,omitempty"`

	Note *[]string `json:"note,omitempty"`
}

func (ExtraInfoList) String

func (o ExtraInfoList) String() string

type ExtractedData

type ExtractedData struct {
	MathInfo *MathInfo `json:"math_info,omitempty"`
}

func (ExtractedData) String

func (o ExtractedData) String() string

type FlightItineraryRequestBody

type FlightItineraryRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`
}

func (FlightItineraryRequestBody) String

type FlightItineraryResult

type FlightItineraryResult struct {
	SerialNumber *string `json:"serial_number,omitempty"`

	PassengerName *string `json:"passenger_name,omitempty"`

	IdNumber *string `json:"id_number,omitempty"`

	EndorsementsRestrictions *string `json:"endorsements_restrictions,omitempty"`

	OrderNumber *string `json:"order_number,omitempty"`

	Fare *string `json:"fare,omitempty"`

	CaacDevelopmentFund *string `json:"caac_development_fund,omitempty"`

	FuelSurcharge *string `json:"fuel_surcharge,omitempty"`

	OtherTaxes *string `json:"other_taxes,omitempty"`

	Total *string `json:"total,omitempty"`

	ETicketNumber *string `json:"e_ticket_number,omitempty"`

	CheckCode *string `json:"check_code,omitempty"`

	ReferenceInformation *string `json:"reference_information,omitempty"`

	Insurance *string `json:"insurance,omitempty"`

	AgentCode *string `json:"agent_code,omitempty"`

	IssueOrganization *string `json:"issue_organization,omitempty"`

	IssueDate *string `json:"issue_date,omitempty"`

	ItineraryList *[]ItineraryList `json:"itinerary_list,omitempty"`

	Confidence *interface{} `json:"confidence,omitempty"`
}

func (FlightItineraryResult) String

func (o FlightItineraryResult) String() string

type GeneralTableRequestBody

type GeneralTableRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`

	ReturnTextLocation *bool `json:"return_text_location,omitempty"`

	ReturnConfidence *bool `json:"return_confidence,omitempty"`

	ReturnExcel *bool `json:"return_excel,omitempty"`
}

func (GeneralTableRequestBody) String

func (o GeneralTableRequestBody) String() string

type GeneralTableResult

type GeneralTableResult struct {
	WordsRegionCount int32 `json:"words_region_count"`

	WordsRegionList []WordsRegionList `json:"words_region_list"`
}

func (GeneralTableResult) String

func (o GeneralTableResult) String() string

type GeneralTableWordsBlockList

type GeneralTableWordsBlockList struct {
	Words string `json:"words"`

	WordsList *[]interface{} `json:"words_list,omitempty"`

	Rows []int32 `json:"rows"`

	Columns []int32 `json:"columns"`

	Location *[][]int32 `json:"location,omitempty"`

	CellLocation *[][]int32 `json:"cell_location,omitempty"`

	Confidence *float32 `json:"confidence,omitempty"`

	Excel *string `json:"excel,omitempty"`
}

子区域识别文字块列表,输出顺序从左到右,先上后下。

func (GeneralTableWordsBlockList) String

type GeneralTextRequestBody

type GeneralTextRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`

	DetectDirection *bool `json:"detect_direction,omitempty"`

	QuickMode *bool `json:"quick_mode,omitempty"`
}

func (GeneralTextRequestBody) String

func (o GeneralTextRequestBody) String() string

type GeneralTextResult

type GeneralTextResult struct {
	Direction int32 `json:"direction"`

	WordsBlockCount int32 `json:"words_block_count"`

	WordsBlockList []GeneralTextWordsBlockList `json:"words_block_list"`
}

func (GeneralTextResult) String

func (o GeneralTextResult) String() string

type GeneralTextWordsBlockList

type GeneralTextWordsBlockList struct {
	Words string `json:"words"`

	Location [][]int32 `json:"location"`
}

识别文字块列表,输出顺序从左到右,先上后下。

func (GeneralTextWordsBlockList) String

func (o GeneralTextWordsBlockList) String() string

type HandwritingRequestBody

type HandwritingRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`

	QuickMode *bool `json:"quick_mode,omitempty"`

	CharSet *string `json:"char_set,omitempty"`

	DetectDirection *bool `json:"detect_direction,omitempty"`
}

func (HandwritingRequestBody) String

func (o HandwritingRequestBody) String() string

type HandwritingResult

type HandwritingResult struct {
	WordsBlockCount int32 `json:"words_block_count"`

	WordsBlockList []HandwritingWordsBlockList `json:"words_block_list"`

	ExtractedData *ExtractedData `json:"extracted_data,omitempty"`
}

func (HandwritingResult) String

func (o HandwritingResult) String() string

type HandwritingWordsBlockList

type HandwritingWordsBlockList struct {
	Words *string `json:"words,omitempty"`

	Type *string `json:"type,omitempty"`

	Confidence *float32 `json:"confidence,omitempty"`

	Location *[][]int32 `json:"location,omitempty"`
}

func (HandwritingWordsBlockList) String

func (o HandwritingWordsBlockList) String() string

type IdCardRequestBody

type IdCardRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`

	Side *string `json:"side,omitempty"`

	ReturnVerification *bool `json:"return_verification,omitempty"`
}

func (IdCardRequestBody) String

func (o IdCardRequestBody) String() string

type IdCardResult

type IdCardResult struct {
	Name *string `json:"name,omitempty"`

	Sex *string `json:"sex,omitempty"`

	Birth *string `json:"birth,omitempty"`

	Ethnicity *string `json:"ethnicity,omitempty"`

	Address *string `json:"address,omitempty"`

	Number *string `json:"number,omitempty"`

	Issue *string `json:"issue,omitempty"`

	ValidFrom *string `json:"valid_from,omitempty"`

	ValidTo *string `json:"valid_to,omitempty"`

	VerificationResult *IdcardVerificationResult `json:"verification_result,omitempty"`
}

func (IdCardResult) String

func (o IdCardResult) String() string

type IdcardVerificationResult added in v0.0.59

type IdcardVerificationResult struct {
	ValidNumber *bool `json:"valid_number,omitempty"`

	ValidBirth *bool `json:"valid_birth,omitempty"`

	ValidSex *bool `json:"valid_sex,omitempty"`

	ValidDate *bool `json:"valid_date,omitempty"`
}

校验信息。仅在输入参数return_verification为true时返回该字段。

func (IdcardVerificationResult) String added in v0.0.59

func (o IdcardVerificationResult) String() string

type InvoiceVerificationRequestBody added in v0.0.59

type InvoiceVerificationRequestBody struct {
	Code string `json:"code"`

	Number string `json:"number"`

	IssueDate string `json:"issue_date"`

	CheckCode *string `json:"check_code,omitempty"`

	SubtotalAmount *string `json:"subtotal_amount,omitempty"`
}

func (InvoiceVerificationRequestBody) String added in v0.0.59

type ItemList

type ItemList struct {
	Name *string `json:"name,omitempty"`

	Specification *string `json:"specification,omitempty"`

	Unit *string `json:"unit,omitempty"`

	Quantity *string `json:"quantity,omitempty"`

	UnitPrice *string `json:"unit_price,omitempty"`

	LicensePlateNumber *string `json:"license_plate_number,omitempty"`

	Amount *string `json:"amount,omitempty"`

	TaxRate *string `json:"tax_rate,omitempty"`

	Tax *string `json:"tax,omitempty"`

	EndDate *string `json:"end_date,omitempty"`

	StartDate *string `json:"start_date,omitempty"`

	VehicleType *string `json:"vehicle_type,omitempty"`
}

func (ItemList) String

func (o ItemList) String() string

type ItineraryList

type ItineraryList struct {
	DepartureStation *string `json:"departure_station,omitempty"`

	DestinationStation *string `json:"destination_station,omitempty"`

	Carrier *string `json:"carrier,omitempty"`

	Flight *string `json:"flight,omitempty"`

	CabinClass *string `json:"cabin_class,omitempty"`

	Date *string `json:"date,omitempty"`

	Time *string `json:"time,omitempty"`

	FareBasis *string `json:"fare_basis,omitempty"`

	EffectiveDate *string `json:"effective_date,omitempty"`

	ExpiryDate *string `json:"expiry_date,omitempty"`

	BaggageAllowance *string `json:"baggage_allowance,omitempty"`
}

机票行程列表。

func (ItineraryList) String

func (o ItineraryList) String() string

type LicensePlateRequestBody

type LicensePlateRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`
}

func (LicensePlateRequestBody) String

func (o LicensePlateRequestBody) String() string

type LicensePlateResult

type LicensePlateResult struct {
	PlateNumber string `json:"plate_number"`

	PlateColor string `json:"plate_color"`

	PlateLocation [][]int32 `json:"plate_location"`

	Confidence float32 `json:"confidence"`
}

func (LicensePlateResult) String

func (o LicensePlateResult) String() string

type MathInfo

type MathInfo struct {
	QuestionNumber *string `json:"question_number,omitempty"`

	AnswerBlockCount *int32 `json:"answer_block_count,omitempty"`

	AnswerBlockList *[]AnswerBlockList `json:"answer_block_list,omitempty"`
}

func (MathInfo) String

func (o MathInfo) String() string

type MvsInvoiceRequestBody

type MvsInvoiceRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`
}

func (MvsInvoiceRequestBody) String

func (o MvsInvoiceRequestBody) String() string

type MvsInvoiceResult

type MvsInvoiceResult struct {
	Code *string `json:"code,omitempty"`

	Number *string `json:"number,omitempty"`

	MachinePrintedCode *string `json:"machine_printed_code,omitempty"`

	MachinePrintedNumber *string `json:"machine_printed_number,omitempty"`

	IssueDate *string `json:"issue_date,omitempty"`

	MachineNumber *string `json:"machine_number,omitempty"`

	BuyerName *string `json:"buyer_name,omitempty"`

	BuyerOrganizationNumber *string `json:"buyer_organization_number,omitempty"`

	BuyerId *string `json:"buyer_id,omitempty"`

	SellerName *string `json:"seller_name,omitempty"`

	SellerPhone *string `json:"seller_phone,omitempty"`

	SellerId *string `json:"seller_id,omitempty"`

	SellerAccount *string `json:"seller_account,omitempty"`

	SellerAddress *string `json:"seller_address,omitempty"`

	SellerBank *string `json:"seller_bank,omitempty"`

	VehicleType *string `json:"vehicle_type,omitempty"`

	BrandModel *string `json:"brand_model,omitempty"`

	ManufacturingLocation *string `json:"manufacturing_location,omitempty"`

	QualityCertificate *string `json:"quality_certificate,omitempty"`

	ImportCertificate *string `json:"import_certificate,omitempty"`

	InspectionNumber *string `json:"inspection_number,omitempty"`

	EngineNumber *string `json:"engine_number,omitempty"`

	VehicleIdentificationNumber *string `json:"vehicle_identification_number,omitempty"`

	Tonnage *string `json:"tonnage,omitempty"`

	SeatingCapacity *string `json:"seating_capacity,omitempty"`

	TaxAuthority *string `json:"tax_authority,omitempty"`

	TaxAuthorityCode *string `json:"tax_authority_code,omitempty"`

	TaxPaymentReceipt *string `json:"tax_payment_receipt,omitempty"`

	TaxRate *string `json:"tax_rate,omitempty"`

	Tax *string `json:"tax,omitempty"`

	TaxExclusivePrice *string `json:"tax_exclusive_price,omitempty"`

	Total *string `json:"total,omitempty"`

	TotalChinese *string `json:"total_chinese,omitempty"`

	FiscalCode *string `json:"fiscal_code,omitempty"`
}

func (MvsInvoiceResult) String

func (o MvsInvoiceResult) String() string

type PassportRequestBody

type PassportRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`

	CountryCode *string `json:"country_code,omitempty"`
}

func (PassportRequestBody) String

func (o PassportRequestBody) String() string

type PassportResult

type PassportResult struct {
	PassportType *string `json:"passport_type,omitempty"`

	CountryCode *string `json:"country_code,omitempty"`

	PassportNumber *string `json:"passport_number,omitempty"`

	Nationality *string `json:"nationality,omitempty"`

	Surname *string `json:"surname,omitempty"`

	GivenName *string `json:"given_name,omitempty"`

	Sex *string `json:"sex,omitempty"`

	DateOfBirth *string `json:"date_of_birth,omitempty"`

	DateOfExpiry *string `json:"date_of_expiry,omitempty"`

	DateOfIssue *string `json:"date_of_issue,omitempty"`

	PlaceOfBirth *string `json:"place_of_birth,omitempty"`

	PlaceOfIssue *string `json:"place_of_issue,omitempty"`

	IssuingAuthority *string `json:"issuing_authority,omitempty"`

	Confidence *interface{} `json:"confidence,omitempty"`

	ExtraInfo *interface{} `json:"extra_info,omitempty"`
}

func (PassportResult) String

func (o PassportResult) String() string

type QuotaInvoiceRequestBody

type QuotaInvoiceRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`
}

func (QuotaInvoiceRequestBody) String

func (o QuotaInvoiceRequestBody) String() string

type QuotaInvoiceResult

type QuotaInvoiceResult struct {
	Number *string `json:"number,omitempty"`

	Code *string `json:"code,omitempty"`

	Location *string `json:"location,omitempty"`

	Amount *string `json:"amount,omitempty"`

	Confidence *interface{} `json:"confidence,omitempty"`
}

func (QuotaInvoiceResult) String

func (o QuotaInvoiceResult) String() string

type RecognizeAutoClassificationRequest

type RecognizeAutoClassificationRequest struct {
	Body *AutoClassificationRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeAutoClassificationRequest) String

type RecognizeAutoClassificationResponse

type RecognizeAutoClassificationResponse struct {
	Result         *[]AutoClassificationResult `json:"result,omitempty"`
	HttpStatusCode int                         `json:"-"`
}

Response Object

func (RecognizeAutoClassificationResponse) String

type RecognizeBankcardRequest

type RecognizeBankcardRequest struct {
	Body *BankcardRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeBankcardRequest) String

func (o RecognizeBankcardRequest) String() string

type RecognizeBankcardResponse

type RecognizeBankcardResponse struct {
	Result         *BankcardResult `json:"result,omitempty"`
	HttpStatusCode int             `json:"-"`
}

Response Object

func (RecognizeBankcardResponse) String

func (o RecognizeBankcardResponse) String() string

type RecognizeBusinessCardRequest

type RecognizeBusinessCardRequest struct {
	Body *BusinessCardRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeBusinessCardRequest) String

type RecognizeBusinessCardResponse

type RecognizeBusinessCardResponse struct {
	Result         *BusinessCardResult `json:"result,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

Response Object

func (RecognizeBusinessCardResponse) String

type RecognizeBusinessLicenseRequest

type RecognizeBusinessLicenseRequest struct {
	Body *BusinessLicenseRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeBusinessLicenseRequest) String

type RecognizeBusinessLicenseResponse

type RecognizeBusinessLicenseResponse struct {
	Result         *BusinessLicenseResult `json:"result,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (RecognizeBusinessLicenseResponse) String

type RecognizeDriverLicenseRequest

type RecognizeDriverLicenseRequest struct {
	Body *DriverLicenseRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeDriverLicenseRequest) String

type RecognizeDriverLicenseResponse

type RecognizeDriverLicenseResponse struct {
	Result         *DriverLicenseResult `json:"result,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

Response Object

func (RecognizeDriverLicenseResponse) String

type RecognizeFlightItineraryRequest

type RecognizeFlightItineraryRequest struct {
	Body *FlightItineraryRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeFlightItineraryRequest) String

type RecognizeFlightItineraryResponse

type RecognizeFlightItineraryResponse struct {
	Result         *FlightItineraryResult `json:"result,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (RecognizeFlightItineraryResponse) String

type RecognizeGeneralTableRequest

type RecognizeGeneralTableRequest struct {
	Body *GeneralTableRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeGeneralTableRequest) String

type RecognizeGeneralTableResponse

type RecognizeGeneralTableResponse struct {
	Result         *GeneralTableResult `json:"result,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

Response Object

func (RecognizeGeneralTableResponse) String

type RecognizeGeneralTextRequest

type RecognizeGeneralTextRequest struct {
	Body *GeneralTextRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeGeneralTextRequest) String

type RecognizeGeneralTextResponse

type RecognizeGeneralTextResponse struct {
	Result         *GeneralTextResult `json:"result,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (RecognizeGeneralTextResponse) String

type RecognizeHandwritingRequest

type RecognizeHandwritingRequest struct {
	Body *HandwritingRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeHandwritingRequest) String

type RecognizeHandwritingResponse

type RecognizeHandwritingResponse struct {
	Result         *HandwritingResult `json:"result,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (RecognizeHandwritingResponse) String

type RecognizeIdCardRequest

type RecognizeIdCardRequest struct {
	Body *IdCardRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeIdCardRequest) String

func (o RecognizeIdCardRequest) String() string

type RecognizeIdCardResponse

type RecognizeIdCardResponse struct {
	Result         *IdCardResult `json:"result,omitempty"`
	HttpStatusCode int           `json:"-"`
}

Response Object

func (RecognizeIdCardResponse) String

func (o RecognizeIdCardResponse) String() string

type RecognizeInvoiceVerificationRequest added in v0.0.59

type RecognizeInvoiceVerificationRequest struct {
	Body *InvoiceVerificationRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeInvoiceVerificationRequest) String added in v0.0.59

type RecognizeInvoiceVerificationResponse added in v0.0.59

type RecognizeInvoiceVerificationResponse struct {
	Result         *interface{} `json:"result,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (RecognizeInvoiceVerificationResponse) String added in v0.0.59

type RecognizeLicensePlateRequest

type RecognizeLicensePlateRequest struct {
	Body *LicensePlateRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeLicensePlateRequest) String

type RecognizeLicensePlateResponse

type RecognizeLicensePlateResponse struct {
	Result         *[]LicensePlateResult `json:"result,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

Response Object

func (RecognizeLicensePlateResponse) String

type RecognizeMvsInvoiceRequest

type RecognizeMvsInvoiceRequest struct {
	Body *MvsInvoiceRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeMvsInvoiceRequest) String

type RecognizeMvsInvoiceResponse

type RecognizeMvsInvoiceResponse struct {
	Result         *MvsInvoiceResult `json:"result,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (RecognizeMvsInvoiceResponse) String

type RecognizePassportRequest

type RecognizePassportRequest struct {
	Body *PassportRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizePassportRequest) String

func (o RecognizePassportRequest) String() string

type RecognizePassportResponse

type RecognizePassportResponse struct {
	Result         *PassportResult `json:"result,omitempty"`
	HttpStatusCode int             `json:"-"`
}

Response Object

func (RecognizePassportResponse) String

func (o RecognizePassportResponse) String() string

type RecognizeQuotaInvoiceRequest

type RecognizeQuotaInvoiceRequest struct {
	Body *QuotaInvoiceRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeQuotaInvoiceRequest) String

type RecognizeQuotaInvoiceResponse

type RecognizeQuotaInvoiceResponse struct {
	Result         *QuotaInvoiceResult `json:"result,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

Response Object

func (RecognizeQuotaInvoiceResponse) String

type RecognizeTaxiInvoiceRequest

type RecognizeTaxiInvoiceRequest struct {
	Body *TaxiInvoiceRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeTaxiInvoiceRequest) String

type RecognizeTaxiInvoiceResponse

type RecognizeTaxiInvoiceResponse struct {
	Result         *TaxiInvoiceResult `json:"result,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (RecognizeTaxiInvoiceResponse) String

type RecognizeTollInvoiceRequest

type RecognizeTollInvoiceRequest struct {
	Body *TollInvoiceRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeTollInvoiceRequest) String

type RecognizeTollInvoiceResponse

type RecognizeTollInvoiceResponse struct {
	Result         *TollInvoiceResult `json:"result,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (RecognizeTollInvoiceResponse) String

type RecognizeTrainTicketRequest

type RecognizeTrainTicketRequest struct {
	Body *TrainTicketRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeTrainTicketRequest) String

type RecognizeTrainTicketResponse

type RecognizeTrainTicketResponse struct {
	Result         *TrainTicketResult `json:"result,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (RecognizeTrainTicketResponse) String

type RecognizeTransportationLicenseRequest

type RecognizeTransportationLicenseRequest struct {
	Body *TransportationLicenseRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeTransportationLicenseRequest) String

type RecognizeTransportationLicenseResponse

type RecognizeTransportationLicenseResponse struct {
	Result         *TransportationLicenseResult `json:"result,omitempty"`
	HttpStatusCode int                          `json:"-"`
}

Response Object

func (RecognizeTransportationLicenseResponse) String

type RecognizeVatInvoiceRequest

type RecognizeVatInvoiceRequest struct {
	Body *VatInvoiceRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeVatInvoiceRequest) String

type RecognizeVatInvoiceResponse

type RecognizeVatInvoiceResponse struct {
	Result         *VatInvoiceResult `json:"result,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (RecognizeVatInvoiceResponse) String

type RecognizeVehicleLicenseRequest

type RecognizeVehicleLicenseRequest struct {
	Body *VehicleLicenseRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeVehicleLicenseRequest) String

type RecognizeVehicleLicenseResponse

type RecognizeVehicleLicenseResponse struct {
	Result         *VehicleLicenseResult `json:"result,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

Response Object

func (RecognizeVehicleLicenseResponse) String

type RecognizeVinRequest

type RecognizeVinRequest struct {
	Body *VinRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeVinRequest) String

func (o RecognizeVinRequest) String() string

type RecognizeVinResponse

type RecognizeVinResponse struct {
	Result         *VinResult `json:"result,omitempty"`
	HttpStatusCode int        `json:"-"`
}

Response Object

func (RecognizeVinResponse) String

func (o RecognizeVinResponse) String() string

type RecognizeWebImageRequest

type RecognizeWebImageRequest struct {
	Body *WebImageRequestBody `json:"body,omitempty"`
}

Request Object

func (RecognizeWebImageRequest) String

func (o RecognizeWebImageRequest) String() string

type RecognizeWebImageResponse

type RecognizeWebImageResponse struct {
	Result         *WebImageResult `json:"result,omitempty"`
	HttpStatusCode int             `json:"-"`
}

Response Object

func (RecognizeWebImageResponse) String

func (o RecognizeWebImageResponse) String() string

type TaxiInvoiceRequestBody

type TaxiInvoiceRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`
}

func (TaxiInvoiceRequestBody) String

func (o TaxiInvoiceRequestBody) String() string

type TaxiInvoiceResult

type TaxiInvoiceResult struct {
	Location *string `json:"location,omitempty"`

	Code *string `json:"code,omitempty"`

	Number *string `json:"number,omitempty"`

	PhoneNumber *string `json:"phone_number,omitempty"`

	Company *string `json:"company,omitempty"`

	TaxiNumber *string `json:"taxi_number,omitempty"`

	CertificateNumber *string `json:"certificate_number,omitempty"`

	IdentificationNumber *string `json:"identification_number,omitempty"`

	Date *string `json:"date,omitempty"`

	BoardingTime *string `json:"boarding_time,omitempty"`

	AlightingTime *string `json:"alighting_time,omitempty"`

	Time *string `json:"time,omitempty"`

	UnitPrice *string `json:"unit_price,omitempty"`

	Distance *string `json:"distance,omitempty"`

	WaitingTime *string `json:"waiting_time,omitempty"`

	Fare *string `json:"fare,omitempty"`

	FuelOilSurcharge *string `json:"fuel_oil_surcharge,omitempty"`

	CallServiceSurcharge *string `json:"call_service_surcharge,omitempty"`

	Total *string `json:"total,omitempty"`

	Confidence *interface{} `json:"confidence,omitempty"`
}

func (TaxiInvoiceResult) String

func (o TaxiInvoiceResult) String() string

type TollInvoiceRequestBody

type TollInvoiceRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`
}

func (TollInvoiceRequestBody) String

func (o TollInvoiceRequestBody) String() string

type TollInvoiceResult

type TollInvoiceResult struct {
	Code *string `json:"code,omitempty"`

	Number *string `json:"number,omitempty"`

	Entry *string `json:"entry,omitempty"`

	Exit *string `json:"exit,omitempty"`

	Amount *string `json:"amount,omitempty"`

	Cashier *string `json:"cashier,omitempty"`

	VehicleType *string `json:"vehicle_type,omitempty"`

	Date *string `json:"date,omitempty"`

	Time *string `json:"time,omitempty"`

	Confidence *interface{} `json:"confidence,omitempty"`
}

func (TollInvoiceResult) String

func (o TollInvoiceResult) String() string

type TrainTicketRequestBody

type TrainTicketRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`
}

func (TrainTicketRequestBody) String

func (o TrainTicketRequestBody) String() string

type TrainTicketResult

type TrainTicketResult struct {
	TicketId *string `json:"ticket_id,omitempty"`

	CheckPort *string `json:"check_port,omitempty"`

	TrainNumber *string `json:"train_number,omitempty"`

	DepartureStation *string `json:"departure_station,omitempty"`

	DestinationStation *string `json:"destination_station,omitempty"`

	DepartureStationEn *string `json:"departure_station_en,omitempty"`

	DestinationStationEn *string `json:"destination_station_en,omitempty"`

	DepartureTime *string `json:"departure_time,omitempty"`

	SeatNumber *string `json:"seat_number,omitempty"`

	TicketPrice *string `json:"ticket_price,omitempty"`

	SaleMethod *string `json:"sale_method,omitempty"`

	SeatCategory *string `json:"seat_category,omitempty"`

	TicketChanging *string `json:"ticket_changing,omitempty"`

	IdNumber *string `json:"id_number,omitempty"`

	Name *string `json:"name,omitempty"`

	LogId *string `json:"log_id,omitempty"`

	SaleLocation *string `json:"sale_location,omitempty"`

	Confidence *interface{} `json:"confidence,omitempty"`
}

func (TrainTicketResult) String

func (o TrainTicketResult) String() string

type TransportationLicenseRequestBody

type TransportationLicenseRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`
}

func (TransportationLicenseRequestBody) String

type TransportationLicenseResult

type TransportationLicenseResult struct {
	OwnerName *string `json:"owner_name,omitempty"`

	LicenseNumber *string `json:"license_number,omitempty"`

	VehicleNumber *string `json:"vehicle_number,omitempty"`

	VehicleType *string `json:"vehicle_type,omitempty"`

	VehicleWeight *string `json:"vehicle_weight,omitempty"`

	VehicleSize *string `json:"vehicle_size,omitempty"`

	IssuingAuthority *string `json:"issuing_authority,omitempty"`

	IssueDate *string `json:"issue_date,omitempty"`

	OwnerAddress *string `json:"owner_address,omitempty"`

	EconomicType *string `json:"economic_type,omitempty"`

	BusinessCertificate *string `json:"business_certificate,omitempty"`

	BusinessScope *string `json:"business_scope,omitempty"`

	Confidence *interface{} `json:"confidence,omitempty"`
}

func (TransportationLicenseResult) String

type VatInvoiceRequestBody

type VatInvoiceRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`

	AdvancedMode *bool `json:"advanced_mode,omitempty"`
}

func (VatInvoiceRequestBody) String

func (o VatInvoiceRequestBody) String() string

type VatInvoiceResult

type VatInvoiceResult struct {
	Type *string `json:"type,omitempty"`

	SerialNumber *string `json:"serial_number,omitempty"`

	Attribution *string `json:"attribution,omitempty"`

	SupervisionSeal *[]string `json:"supervision_seal,omitempty"`

	Code *string `json:"code,omitempty"`

	MachineNumber *string `json:"machine_number,omitempty"`

	PrintNumber *string `json:"print_number,omitempty"`

	CheckCode *string `json:"check_code,omitempty"`

	Number *string `json:"number,omitempty"`

	IssueDate *string `json:"issue_date,omitempty"`

	EncryptionBlock *string `json:"encryption_block,omitempty"`

	BuyerName *string `json:"buyer_name,omitempty"`

	BuyerId *string `json:"buyer_id,omitempty"`

	BuyerAddress *string `json:"buyer_address,omitempty"`

	BuyerBank *string `json:"buyer_bank,omitempty"`

	SellerName *string `json:"seller_name,omitempty"`

	SellerId *string `json:"seller_id,omitempty"`

	SellerAddress *string `json:"seller_address,omitempty"`

	SellerBank *string `json:"seller_bank,omitempty"`

	SubtotalAmount *string `json:"subtotal_amount,omitempty"`

	SubtotalTax *string `json:"subtotal_tax,omitempty"`

	Total *string `json:"total,omitempty"`

	TotalInWords *string `json:"total_in_words,omitempty"`

	Remarks *string `json:"remarks,omitempty"`

	Receiver *string `json:"receiver,omitempty"`

	Reviewer *string `json:"reviewer,omitempty"`

	Issuer *string `json:"issuer,omitempty"`

	SellerSeal *[]string `json:"seller_seal,omitempty"`

	ItemList *[]ItemList `json:"item_list,omitempty"`

	Confidence *interface{} `json:"confidence,omitempty"`
}

func (VatInvoiceResult) String

func (o VatInvoiceResult) String() string

type VehicleLicenseRequestBody

type VehicleLicenseRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`

	Side *string `json:"side,omitempty"`

	ReturnIssuingAuthority *bool `json:"return_issuing_authority,omitempty"`
}

func (VehicleLicenseRequestBody) String

func (o VehicleLicenseRequestBody) String() string

type VehicleLicenseResult

type VehicleLicenseResult struct {
	Number *string `json:"number,omitempty"`

	VehicleType *string `json:"vehicle_type,omitempty"`

	Name *string `json:"name,omitempty"`

	Address *string `json:"address,omitempty"`

	UseCharacter *string `json:"use_character,omitempty"`

	Model *string `json:"model,omitempty"`

	EngineNo *string `json:"engine_no,omitempty"`

	Vin *string `json:"vin,omitempty"`

	RegisterDate *string `json:"register_date,omitempty"`

	IssueDate *string `json:"issue_date,omitempty"`

	IssuingAuthority *string `json:"issuing_authority,omitempty"`

	FileNo *string `json:"file_no,omitempty"`

	ApprovedPassengers *string `json:"approved_passengers,omitempty"`

	GrossMass *string `json:"gross_mass,omitempty"`

	UnladenMass *string `json:"unladen_mass,omitempty"`

	ApprovedLoad *string `json:"approved_load,omitempty"`

	Dimension *string `json:"dimension,omitempty"`

	TractionMass *string `json:"traction_mass,omitempty"`

	Remarks *string `json:"remarks,omitempty"`

	InspectionRecord *string `json:"inspection_record,omitempty"`

	CodeNumber *string `json:"code_number,omitempty"`
}

func (VehicleLicenseResult) String

func (o VehicleLicenseResult) String() string

type VinRequestBody

type VinRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`
}

func (VinRequestBody) String

func (o VinRequestBody) String() string

type VinResult

type VinResult struct {
	Vin string `json:"vin"`
}

func (VinResult) String

func (o VinResult) String() string

type WebImageRequestBody

type WebImageRequestBody struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`

	DetectDirection *bool `json:"detect_direction,omitempty"`

	ExtractType *[]string `json:"extract_type,omitempty"`
}

func (WebImageRequestBody) String

func (o WebImageRequestBody) String() string

type WebImageResult

type WebImageResult struct {
	WordsBlockCount int32 `json:"words_block_count"`

	WordsBlockList []WebImageWordsBlockList `json:"words_block_list"`
}

func (WebImageResult) String

func (o WebImageResult) String() string

type WebImageWordsBlockList

type WebImageWordsBlockList struct {
	Words *string `json:"words,omitempty"`

	Confidence *float32 `json:"confidence,omitempty"`

	Location *[][]int32 `json:"location,omitempty"`

	ExtractedData *interface{} `json:"extracted_data,omitempty"`

	ContactInfo *interface{} `json:"contact_info,omitempty"`

	ImageSize *interface{} `json:"image_size,omitempty"`

	Height *int32 `json:"height,omitempty"`

	Width *int32 `json:"width,omitempty"`

	Name *string `json:"name,omitempty"`

	Phone *string `json:"phone,omitempty"`

	Province *string `json:"province,omitempty"`

	City *string `json:"city,omitempty"`

	District *string `json:"district,omitempty"`

	DetailAddress *string `json:"detail_address,omitempty"`
}

func (WebImageWordsBlockList) String

func (o WebImageWordsBlockList) String() string

type WordsRegionList

type WordsRegionList struct {
	Type string `json:"type"`

	WordsBlockCount int32 `json:"words_block_count"`

	WordsBlockList []GeneralTableWordsBlockList `json:"words_block_list"`
}

文字区域识别结果列表,输出顺序从左到右,先上后下。

func (WordsRegionList) String

func (o WordsRegionList) String() string

Source Files

Jump to

Keyboard shortcuts

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