Documentation ¶
Index ¶
- type AnswerBlockList
- type AutoClassificationRequestBody
- type AutoClassificationResult
- type BankcardRequestBody
- type BankcardResult
- type BusinessCardRequestBody
- type BusinessCardResult
- type BusinessLicenseRequestBody
- type BusinessLicenseResult
- type DriverLicenseRequestBody
- type DriverLicenseResult
- type ExtraInfoList
- type ExtractedData
- type FlightItineraryRequestBody
- type FlightItineraryResult
- type GeneralTableRequestBody
- type GeneralTableResult
- type GeneralTableWordsBlockList
- type GeneralTextRequestBody
- type GeneralTextResult
- type GeneralTextWordsBlockList
- type HandwritingRequestBody
- type HandwritingResult
- type HandwritingWordsBlockList
- type IdCardRequestBody
- type IdCardResult
- type ItemList
- type ItineraryList
- type LicensePlateRequestBody
- type LicensePlateResult
- type MathInfo
- type MvsInvoiceRequestBody
- type MvsInvoiceResult
- type PassportRequestBody
- type PassportResult
- type QuotaInvoiceRequestBody
- type QuotaInvoiceResult
- type RecognizeAutoClassificationRequest
- type RecognizeAutoClassificationResponse
- type RecognizeBankcardRequest
- type RecognizeBankcardResponse
- type RecognizeBusinessCardRequest
- type RecognizeBusinessCardResponse
- type RecognizeBusinessLicenseRequest
- type RecognizeBusinessLicenseResponse
- type RecognizeDriverLicenseRequest
- type RecognizeDriverLicenseResponse
- type RecognizeFlightItineraryRequest
- type RecognizeFlightItineraryResponse
- type RecognizeGeneralTableRequest
- type RecognizeGeneralTableResponse
- type RecognizeGeneralTextRequest
- type RecognizeGeneralTextResponse
- type RecognizeHandwritingRequest
- type RecognizeHandwritingResponse
- type RecognizeIdCardRequest
- type RecognizeIdCardResponse
- type RecognizeLicensePlateRequest
- type RecognizeLicensePlateResponse
- type RecognizeMvsInvoiceRequest
- type RecognizeMvsInvoiceResponse
- type RecognizePassportRequest
- type RecognizePassportResponse
- type RecognizeQuotaInvoiceRequest
- type RecognizeQuotaInvoiceResponse
- type RecognizeTaxiInvoiceRequest
- type RecognizeTaxiInvoiceResponse
- type RecognizeTollInvoiceRequest
- type RecognizeTollInvoiceResponse
- type RecognizeTrainTicketRequest
- type RecognizeTrainTicketResponse
- type RecognizeTransportationLicenseRequest
- type RecognizeTransportationLicenseResponse
- type RecognizeVatInvoiceRequest
- type RecognizeVatInvoiceResponse
- type RecognizeVehicleLicenseRequest
- type RecognizeVehicleLicenseResponse
- type RecognizeVinRequest
- type RecognizeVinResponse
- type RecognizeWebImageRequest
- type RecognizeWebImageResponse
- type TaxiInvoiceRequestBody
- type TaxiInvoiceResult
- type TollInvoiceRequestBody
- type TollInvoiceResult
- type TrainTicketRequestBody
- type TrainTicketResult
- type TransportationLicenseRequestBody
- type TransportationLicenseResult
- type VatInvoiceRequestBody
- type VatInvoiceResult
- type VehicleLicenseRequestBody
- type VehicleLicenseResult
- type VinRequestBody
- type VinResult
- type WebImageRequestBody
- type WebImageResult
- type WebImageWordsBlockList
- type WordsRegionList
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 ¶
func (o AutoClassificationRequestBody) String() string
type AutoClassificationResult ¶
type AutoClassificationResult struct { Status *interface{} `json:"status"` Content *interface{} `json:"content"` Type string `json:"type"` Location [][]int32 `json:"location"` Confidence *interface{} `json:"confidence,omitempty"` }
func (AutoClassificationResult) String ¶
func (o AutoClassificationResult) String() string
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 ¶
func (o BusinessLicenseRequestBody) String() 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 ¶
func (o FlightItineraryRequestBody) String() 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 ¶
func (o GeneralTableWordsBlockList) String() 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"` }
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"` }
func (IdCardResult) String ¶
func (o IdCardResult) String() string
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"` }
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"` }
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 ¶
func (o RecognizeAutoClassificationRequest) String() string
type RecognizeAutoClassificationResponse ¶
type RecognizeAutoClassificationResponse struct { Result *[]AutoClassificationResult `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RecognizeAutoClassificationResponse) String ¶
func (o RecognizeAutoClassificationResponse) String() 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 ¶
func (o RecognizeBusinessCardRequest) String() string
type RecognizeBusinessCardResponse ¶
type RecognizeBusinessCardResponse struct { Result *BusinessCardResult `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RecognizeBusinessCardResponse) String ¶
func (o RecognizeBusinessCardResponse) String() string
type RecognizeBusinessLicenseRequest ¶
type RecognizeBusinessLicenseRequest struct {
Body *BusinessLicenseRequestBody `json:"body,omitempty"`
}
Request Object
func (RecognizeBusinessLicenseRequest) String ¶
func (o RecognizeBusinessLicenseRequest) String() string
type RecognizeBusinessLicenseResponse ¶
type RecognizeBusinessLicenseResponse struct { Result *BusinessLicenseResult `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RecognizeBusinessLicenseResponse) String ¶
func (o RecognizeBusinessLicenseResponse) String() string
type RecognizeDriverLicenseRequest ¶
type RecognizeDriverLicenseRequest struct {
Body *DriverLicenseRequestBody `json:"body,omitempty"`
}
Request Object
func (RecognizeDriverLicenseRequest) String ¶
func (o RecognizeDriverLicenseRequest) String() string
type RecognizeDriverLicenseResponse ¶
type RecognizeDriverLicenseResponse struct { Result *DriverLicenseResult `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RecognizeDriverLicenseResponse) String ¶
func (o RecognizeDriverLicenseResponse) String() string
type RecognizeFlightItineraryRequest ¶
type RecognizeFlightItineraryRequest struct {
Body *FlightItineraryRequestBody `json:"body,omitempty"`
}
Request Object
func (RecognizeFlightItineraryRequest) String ¶
func (o RecognizeFlightItineraryRequest) String() string
type RecognizeFlightItineraryResponse ¶
type RecognizeFlightItineraryResponse struct { Result *FlightItineraryResult `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RecognizeFlightItineraryResponse) String ¶
func (o RecognizeFlightItineraryResponse) String() string
type RecognizeGeneralTableRequest ¶
type RecognizeGeneralTableRequest struct {
Body *GeneralTableRequestBody `json:"body,omitempty"`
}
Request Object
func (RecognizeGeneralTableRequest) String ¶
func (o RecognizeGeneralTableRequest) String() string
type RecognizeGeneralTableResponse ¶
type RecognizeGeneralTableResponse struct { Result *GeneralTableResult `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RecognizeGeneralTableResponse) String ¶
func (o RecognizeGeneralTableResponse) String() string
type RecognizeGeneralTextRequest ¶
type RecognizeGeneralTextRequest struct {
Body *GeneralTextRequestBody `json:"body,omitempty"`
}
Request Object
func (RecognizeGeneralTextRequest) String ¶
func (o RecognizeGeneralTextRequest) String() string
type RecognizeGeneralTextResponse ¶
type RecognizeGeneralTextResponse struct { Result *GeneralTextResult `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RecognizeGeneralTextResponse) String ¶
func (o RecognizeGeneralTextResponse) String() string
type RecognizeHandwritingRequest ¶
type RecognizeHandwritingRequest struct {
Body *HandwritingRequestBody `json:"body,omitempty"`
}
Request Object
func (RecognizeHandwritingRequest) String ¶
func (o RecognizeHandwritingRequest) String() string
type RecognizeHandwritingResponse ¶
type RecognizeHandwritingResponse struct { Result *HandwritingResult `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RecognizeHandwritingResponse) String ¶
func (o RecognizeHandwritingResponse) String() 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 RecognizeLicensePlateRequest ¶
type RecognizeLicensePlateRequest struct {
Body *LicensePlateRequestBody `json:"body,omitempty"`
}
Request Object
func (RecognizeLicensePlateRequest) String ¶
func (o RecognizeLicensePlateRequest) String() string
type RecognizeLicensePlateResponse ¶
type RecognizeLicensePlateResponse struct { Result *[]LicensePlateResult `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RecognizeLicensePlateResponse) String ¶
func (o RecognizeLicensePlateResponse) String() string
type RecognizeMvsInvoiceRequest ¶
type RecognizeMvsInvoiceRequest struct {
Body *MvsInvoiceRequestBody `json:"body,omitempty"`
}
Request Object
func (RecognizeMvsInvoiceRequest) String ¶
func (o RecognizeMvsInvoiceRequest) String() string
type RecognizeMvsInvoiceResponse ¶
type RecognizeMvsInvoiceResponse struct { Result *MvsInvoiceResult `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RecognizeMvsInvoiceResponse) String ¶
func (o RecognizeMvsInvoiceResponse) String() 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 ¶
func (o RecognizeQuotaInvoiceRequest) String() string
type RecognizeQuotaInvoiceResponse ¶
type RecognizeQuotaInvoiceResponse struct { Result *QuotaInvoiceResult `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RecognizeQuotaInvoiceResponse) String ¶
func (o RecognizeQuotaInvoiceResponse) String() string
type RecognizeTaxiInvoiceRequest ¶
type RecognizeTaxiInvoiceRequest struct {
Body *TaxiInvoiceRequestBody `json:"body,omitempty"`
}
Request Object
func (RecognizeTaxiInvoiceRequest) String ¶
func (o RecognizeTaxiInvoiceRequest) String() string
type RecognizeTaxiInvoiceResponse ¶
type RecognizeTaxiInvoiceResponse struct { Result *TaxiInvoiceResult `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RecognizeTaxiInvoiceResponse) String ¶
func (o RecognizeTaxiInvoiceResponse) String() string
type RecognizeTollInvoiceRequest ¶
type RecognizeTollInvoiceRequest struct {
Body *TollInvoiceRequestBody `json:"body,omitempty"`
}
Request Object
func (RecognizeTollInvoiceRequest) String ¶
func (o RecognizeTollInvoiceRequest) String() string
type RecognizeTollInvoiceResponse ¶
type RecognizeTollInvoiceResponse struct { Result *TollInvoiceResult `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RecognizeTollInvoiceResponse) String ¶
func (o RecognizeTollInvoiceResponse) String() string
type RecognizeTrainTicketRequest ¶
type RecognizeTrainTicketRequest struct {
Body *TrainTicketRequestBody `json:"body,omitempty"`
}
Request Object
func (RecognizeTrainTicketRequest) String ¶
func (o RecognizeTrainTicketRequest) String() string
type RecognizeTrainTicketResponse ¶
type RecognizeTrainTicketResponse struct { Result *TrainTicketResult `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RecognizeTrainTicketResponse) String ¶
func (o RecognizeTrainTicketResponse) String() string
type RecognizeTransportationLicenseRequest ¶
type RecognizeTransportationLicenseRequest struct {
Body *TransportationLicenseRequestBody `json:"body,omitempty"`
}
Request Object
func (RecognizeTransportationLicenseRequest) String ¶
func (o RecognizeTransportationLicenseRequest) String() string
type RecognizeTransportationLicenseResponse ¶
type RecognizeTransportationLicenseResponse struct { Result *TransportationLicenseResult `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RecognizeTransportationLicenseResponse) String ¶
func (o RecognizeTransportationLicenseResponse) String() string
type RecognizeVatInvoiceRequest ¶
type RecognizeVatInvoiceRequest struct {
Body *VatInvoiceRequestBody `json:"body,omitempty"`
}
Request Object
func (RecognizeVatInvoiceRequest) String ¶
func (o RecognizeVatInvoiceRequest) String() string
type RecognizeVatInvoiceResponse ¶
type RecognizeVatInvoiceResponse struct { Result *VatInvoiceResult `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RecognizeVatInvoiceResponse) String ¶
func (o RecognizeVatInvoiceResponse) String() string
type RecognizeVehicleLicenseRequest ¶
type RecognizeVehicleLicenseRequest struct {
Body *VehicleLicenseRequestBody `json:"body,omitempty"`
}
Request Object
func (RecognizeVehicleLicenseRequest) String ¶
func (o RecognizeVehicleLicenseRequest) String() string
type RecognizeVehicleLicenseResponse ¶
type RecognizeVehicleLicenseResponse struct { Result *VehicleLicenseResult `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RecognizeVehicleLicenseResponse) String ¶
func (o RecognizeVehicleLicenseResponse) String() 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 ¶
func (o TransportationLicenseRequestBody) String() 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 ¶
func (o TransportationLicenseResult) String() 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 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 ¶
- model_answer_block_list.go
- model_auto_classification_request_body.go
- model_auto_classification_result.go
- model_bankcard_request_body.go
- model_bankcard_result.go
- model_business_card_request_body.go
- model_business_card_result.go
- model_business_license_request_body.go
- model_business_license_result.go
- model_driver_license_request_body.go
- model_driver_license_result.go
- model_extra_info_list.go
- model_extracted_data.go
- model_flight_itinerary_request_body.go
- model_flight_itinerary_result.go
- model_general_table_request_body.go
- model_general_table_result.go
- model_general_table_words_block_list.go
- model_general_text_request_body.go
- model_general_text_result.go
- model_general_text_words_block_list.go
- model_handwriting_request_body.go
- model_handwriting_result.go
- model_handwriting_words_block_list.go
- model_id_card_request_body.go
- model_id_card_result.go
- model_item_list.go
- model_itinerary_list.go
- model_license_plate_request_body.go
- model_license_plate_result.go
- model_math_info.go
- model_mvs_invoice_request_body.go
- model_mvs_invoice_result.go
- model_passport_request_body.go
- model_passport_result.go
- model_quota_invoice_request_body.go
- model_quota_invoice_result.go
- model_recognize_auto_classification_request.go
- model_recognize_auto_classification_response.go
- model_recognize_bankcard_request.go
- model_recognize_bankcard_response.go
- model_recognize_business_card_request.go
- model_recognize_business_card_response.go
- model_recognize_business_license_request.go
- model_recognize_business_license_response.go
- model_recognize_driver_license_request.go
- model_recognize_driver_license_response.go
- model_recognize_flight_itinerary_request.go
- model_recognize_flight_itinerary_response.go
- model_recognize_general_table_request.go
- model_recognize_general_table_response.go
- model_recognize_general_text_request.go
- model_recognize_general_text_response.go
- model_recognize_handwriting_request.go
- model_recognize_handwriting_response.go
- model_recognize_id_card_request.go
- model_recognize_id_card_response.go
- model_recognize_license_plate_request.go
- model_recognize_license_plate_response.go
- model_recognize_mvs_invoice_request.go
- model_recognize_mvs_invoice_response.go
- model_recognize_passport_request.go
- model_recognize_passport_response.go
- model_recognize_quota_invoice_request.go
- model_recognize_quota_invoice_response.go
- model_recognize_taxi_invoice_request.go
- model_recognize_taxi_invoice_response.go
- model_recognize_toll_invoice_request.go
- model_recognize_toll_invoice_response.go
- model_recognize_train_ticket_request.go
- model_recognize_train_ticket_response.go
- model_recognize_transportation_license_request.go
- model_recognize_transportation_license_response.go
- model_recognize_vat_invoice_request.go
- model_recognize_vat_invoice_response.go
- model_recognize_vehicle_license_request.go
- model_recognize_vehicle_license_response.go
- model_recognize_vin_request.go
- model_recognize_vin_response.go
- model_recognize_web_image_request.go
- model_recognize_web_image_response.go
- model_taxi_invoice_request_body.go
- model_taxi_invoice_result.go
- model_toll_invoice_request_body.go
- model_toll_invoice_result.go
- model_train_ticket_request_body.go
- model_train_ticket_result.go
- model_transportation_license_request_body.go
- model_transportation_license_result.go
- model_vat_invoice_request_body.go
- model_vat_invoice_result.go
- model_vehicle_license_request_body.go
- model_vehicle_license_result.go
- model_vin_request_body.go
- model_vin_result.go
- model_web_image_request_body.go
- model_web_image_result.go
- model_web_image_words_block_list.go
- model_words_region_list.go