v1

package
v0.1.126 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenReqDefForRecognizeAcceptanceBill added in v0.1.60

func GenReqDefForRecognizeAcceptanceBill() *def.HttpRequestDef

func GenReqDefForRecognizeAutoClassification

func GenReqDefForRecognizeAutoClassification() *def.HttpRequestDef

func GenReqDefForRecognizeBankReceipt added in v0.1.93

func GenReqDefForRecognizeBankReceipt() *def.HttpRequestDef

func GenReqDefForRecognizeBankcard

func GenReqDefForRecognizeBankcard() *def.HttpRequestDef

func GenReqDefForRecognizeBusinessCard

func GenReqDefForRecognizeBusinessCard() *def.HttpRequestDef

func GenReqDefForRecognizeBusinessLicense

func GenReqDefForRecognizeBusinessLicense() *def.HttpRequestDef

func GenReqDefForRecognizeCambodianIdCard added in v0.0.96

func GenReqDefForRecognizeCambodianIdCard() *def.HttpRequestDef

func GenReqDefForRecognizeChileIdCard added in v0.0.72

func GenReqDefForRecognizeChileIdCard() *def.HttpRequestDef

func GenReqDefForRecognizeColombiaIdCard added in v0.1.61

func GenReqDefForRecognizeColombiaIdCard() *def.HttpRequestDef

func GenReqDefForRecognizeCustomTemplate added in v0.1.22

func GenReqDefForRecognizeCustomTemplate() *def.HttpRequestDef

func GenReqDefForRecognizeDriverLicense

func GenReqDefForRecognizeDriverLicense() *def.HttpRequestDef

func GenReqDefForRecognizeExitEntryPermit added in v0.0.96

func GenReqDefForRecognizeExitEntryPermit() *def.HttpRequestDef

func GenReqDefForRecognizeFinancialStatement added in v0.0.67

func GenReqDefForRecognizeFinancialStatement() *def.HttpRequestDef

func GenReqDefForRecognizeFlightItinerary

func GenReqDefForRecognizeFlightItinerary() *def.HttpRequestDef

func GenReqDefForRecognizeGeneralTable

func GenReqDefForRecognizeGeneralTable() *def.HttpRequestDef

func GenReqDefForRecognizeGeneralText

func GenReqDefForRecognizeGeneralText() *def.HttpRequestDef

func GenReqDefForRecognizeHandwriting

func GenReqDefForRecognizeHandwriting() *def.HttpRequestDef

func GenReqDefForRecognizeHealthCode added in v0.0.88

func GenReqDefForRecognizeHealthCode() *def.HttpRequestDef

func GenReqDefForRecognizeHkIdCard added in v0.0.96

func GenReqDefForRecognizeHkIdCard() *def.HttpRequestDef

func GenReqDefForRecognizeHouseholdRegister added in v0.1.87

func GenReqDefForRecognizeHouseholdRegister() *def.HttpRequestDef

func GenReqDefForRecognizeIdCard

func GenReqDefForRecognizeIdCard() *def.HttpRequestDef

func GenReqDefForRecognizeIdDocument added in v0.0.93

func GenReqDefForRecognizeIdDocument() *def.HttpRequestDef

func GenReqDefForRecognizeInsurancePolicy added in v0.0.67

func GenReqDefForRecognizeInsurancePolicy() *def.HttpRequestDef

func GenReqDefForRecognizeInvoiceVerification added in v0.0.59

func GenReqDefForRecognizeInvoiceVerification() *def.HttpRequestDef

func GenReqDefForRecognizeLicensePlate

func GenReqDefForRecognizeLicensePlate() *def.HttpRequestDef

func GenReqDefForRecognizeMacaoIdCard added in v0.0.103

func GenReqDefForRecognizeMacaoIdCard() *def.HttpRequestDef

func GenReqDefForRecognizeMainlandTravelPermit added in v0.0.96

func GenReqDefForRecognizeMainlandTravelPermit() *def.HttpRequestDef

func GenReqDefForRecognizeMvsInvoice

func GenReqDefForRecognizeMvsInvoice() *def.HttpRequestDef

func GenReqDefForRecognizeMyanmarDriverLicense added in v0.0.72

func GenReqDefForRecognizeMyanmarDriverLicense() *def.HttpRequestDef

func GenReqDefForRecognizeMyanmarIdcard added in v0.0.72

func GenReqDefForRecognizeMyanmarIdcard() *def.HttpRequestDef

func GenReqDefForRecognizePassport

func GenReqDefForRecognizePassport() *def.HttpRequestDef

func GenReqDefForRecognizePcrTestRecord added in v0.0.89

func GenReqDefForRecognizePcrTestRecord() *def.HttpRequestDef

func GenReqDefForRecognizePeruIdCard added in v0.1.67

func GenReqDefForRecognizePeruIdCard() *def.HttpRequestDef

func GenReqDefForRecognizeQualificationCertificate added in v0.0.67

func GenReqDefForRecognizeQualificationCertificate() *def.HttpRequestDef

func GenReqDefForRecognizeQuotaInvoice

func GenReqDefForRecognizeQuotaInvoice() *def.HttpRequestDef

func GenReqDefForRecognizeRealEstateCertificate added in v0.1.60

func GenReqDefForRecognizeRealEstateCertificate() *def.HttpRequestDef

func GenReqDefForRecognizeSeal added in v0.1.78

func GenReqDefForRecognizeSeal() *def.HttpRequestDef

func GenReqDefForRecognizeSmartDocumentRecognizer added in v0.1.57

func GenReqDefForRecognizeSmartDocumentRecognizer() *def.HttpRequestDef

func GenReqDefForRecognizeTaxiInvoice

func GenReqDefForRecognizeTaxiInvoice() *def.HttpRequestDef

func GenReqDefForRecognizeThailandIdcard added in v0.0.72

func GenReqDefForRecognizeThailandIdcard() *def.HttpRequestDef

func GenReqDefForRecognizeThailandLicensePlate added in v0.0.72

func GenReqDefForRecognizeThailandLicensePlate() *def.HttpRequestDef

func GenReqDefForRecognizeTollInvoice

func GenReqDefForRecognizeTollInvoice() *def.HttpRequestDef

func GenReqDefForRecognizeTrainTicket

func GenReqDefForRecognizeTrainTicket() *def.HttpRequestDef

func GenReqDefForRecognizeTransportationLicense

func GenReqDefForRecognizeTransportationLicense() *def.HttpRequestDef

func GenReqDefForRecognizeVatInvoice

func GenReqDefForRecognizeVatInvoice() *def.HttpRequestDef

func GenReqDefForRecognizeVehicleCertificate added in v0.1.60

func GenReqDefForRecognizeVehicleCertificate() *def.HttpRequestDef

func GenReqDefForRecognizeVehicleLicense

func GenReqDefForRecognizeVehicleLicense() *def.HttpRequestDef

func GenReqDefForRecognizeVietnamIdCard added in v0.1.60

func GenReqDefForRecognizeVietnamIdCard() *def.HttpRequestDef

func GenReqDefForRecognizeVin

func GenReqDefForRecognizeVin() *def.HttpRequestDef

func GenReqDefForRecognizeWaybillElectronic added in v0.0.83

func GenReqDefForRecognizeWaybillElectronic() *def.HttpRequestDef

func GenReqDefForRecognizeWebImage

func GenReqDefForRecognizeWebImage() *def.HttpRequestDef

func OcrClientBuilder

func OcrClientBuilder() *httpclient.HcHttpClientBuilder

Types

type OcrClient

type OcrClient struct {
	HcClient *httpclient.HcHttpClient
}

func NewOcrClient

func NewOcrClient(hcClient *httpclient.HcHttpClient) *OcrClient

func (*OcrClient) RecognizeAcceptanceBill added in v0.1.60

RecognizeAcceptanceBill 承兑汇票识别

识别承兑汇票中的关键信息, 并以json格式返回结构化结果。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeAcceptanceBillInvoker added in v0.1.60

func (c *OcrClient) RecognizeAcceptanceBillInvoker(request *model.RecognizeAcceptanceBillRequest) *RecognizeAcceptanceBillInvoker

RecognizeAcceptanceBillInvoker 承兑汇票识别

func (*OcrClient) RecognizeAutoClassification

RecognizeAutoClassification 智能分类识别

检测定位图片上指定要识别的票证(票据、证件或其他文字载体),并对其进行结构化识别。接口以列表形式返回图片上要识别票证的位置坐标、结构化识别的内容以及对应的类别。该接口的使用限制请参见[约束与限制](https://support.huaweicloud.com/productdesc-ocr/ocr_01_0006.html#section3),详细使用指导请参见[OCR服务使用简介](https://support.huaweicloud.com/qs-ocr/ocr_05_0001.html)章节。 计费次数说明: 只对识别成功的票证进行计费,识别失败的票证不计费。例如图片中包含三张票证,有两张识别成功,一张识别失败,此时接口计费两次。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeAutoClassificationInvoker added in v0.0.90

func (c *OcrClient) RecognizeAutoClassificationInvoker(request *model.RecognizeAutoClassificationRequest) *RecognizeAutoClassificationInvoker

RecognizeAutoClassificationInvoker 智能分类识别

func (*OcrClient) RecognizeBankReceipt added in v0.1.93

RecognizeBankReceipt 银行回单识别

支持对银行回单版式进行文字识别及键值对提取,实现高效的自动化结构化返回。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeBankReceiptInvoker added in v0.1.93

func (c *OcrClient) RecognizeBankReceiptInvoker(request *model.RecognizeBankReceiptRequest) *RecognizeBankReceiptInvoker

RecognizeBankReceiptInvoker 银行回单识别

func (*OcrClient) RecognizeBankcard

func (c *OcrClient) RecognizeBankcard(request *model.RecognizeBankcardRequest) (*model.RecognizeBankcardResponse, error)

RecognizeBankcard 银行卡识别

识别银行卡上的关键文字信息,并返回识别的结构化结果。该接口的使用限制请参见[约束与限制](https://support.huaweicloud.com/productdesc-ocr/ocr_01_0006.html#section9),详细使用指导请参见[OCR服务使用简介](https://support.huaweicloud.com/qs-ocr/ocr_05_0001.html)章节。 说明: 如果图片中包含多张卡证票据,请调用[智能分类识别](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=OCR&api=AutoClassification)服务。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeBankcardInvoker added in v0.0.90

func (c *OcrClient) RecognizeBankcardInvoker(request *model.RecognizeBankcardRequest) *RecognizeBankcardInvoker

RecognizeBankcardInvoker 银行卡识别

func (*OcrClient) RecognizeBusinessCard

RecognizeBusinessCard 名片识别

识别名片图片上的文字信息,并返回识别的结构化结果。支持对多种不同版式名片进行结构化信息提取。该接口的使用限制请参见[约束与限制](https://support.huaweicloud.com/productdesc-ocr/ocr_01_0006.html#section13),详细使用指导请参见[OCR服务使用简介](https://support.huaweicloud.com/qs-ocr/ocr_05_0001.html)章节。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeBusinessCardInvoker added in v0.0.90

func (c *OcrClient) RecognizeBusinessCardInvoker(request *model.RecognizeBusinessCardRequest) *RecognizeBusinessCardInvoker

RecognizeBusinessCardInvoker 名片识别

func (*OcrClient) RecognizeBusinessLicense

RecognizeBusinessLicense 营业执照识别

识别营业执照首页图片中的文字信息,并返回识别的结构化结果。该接口的使用限制请参见[约束与限制](https://support.huaweicloud.com/productdesc-ocr/ocr_01_0006.html#section10),详细使用指导请参见[OCR服务使用简介](https://support.huaweicloud.com/qs-ocr/ocr_05_0001.html)章节。

说明:

如果图片中包含多张卡证票据,请调用[智能分类识别](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=OCR&api=AutoClassification)服务。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeBusinessLicenseInvoker added in v0.0.90

func (c *OcrClient) RecognizeBusinessLicenseInvoker(request *model.RecognizeBusinessLicenseRequest) *RecognizeBusinessLicenseInvoker

RecognizeBusinessLicenseInvoker 营业执照识别

func (*OcrClient) RecognizeCambodianIdCard added in v0.0.96

RecognizeCambodianIdCard 柬文身份证识别

识别柬文身份证图片中的文字内容,并将识别的结构化结果返回给用户。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeCambodianIdCardInvoker added in v0.0.96

func (c *OcrClient) RecognizeCambodianIdCardInvoker(request *model.RecognizeCambodianIdCardRequest) *RecognizeCambodianIdCardInvoker

RecognizeCambodianIdCardInvoker 柬文身份证识别

func (*OcrClient) RecognizeChileIdCard added in v0.0.72

RecognizeChileIdCard 智利身份证识别

识别智利身份证图片中的文字内容,并返回识别的结构化结果。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeChileIdCardInvoker added in v0.0.90

func (c *OcrClient) RecognizeChileIdCardInvoker(request *model.RecognizeChileIdCardRequest) *RecognizeChileIdCardInvoker

RecognizeChileIdCardInvoker 智利身份证识别

func (*OcrClient) RecognizeColombiaIdCard added in v0.1.61

RecognizeColombiaIdCard 哥伦比亚身份证识别

识别哥伦比亚身份证中的文字信息,并将识别的结构化结果返回给用户。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeColombiaIdCardInvoker added in v0.1.61

func (c *OcrClient) RecognizeColombiaIdCardInvoker(request *model.RecognizeColombiaIdCardRequest) *RecognizeColombiaIdCardInvoker

RecognizeColombiaIdCardInvoker 哥伦比亚身份证识别

func (*OcrClient) RecognizeCustomTemplate added in v0.1.22

RecognizeCustomTemplate 自定义模板OCR

自定义模板OCR,支持用户自定义模板,对于版式固定的各种票据和卡证,通过可视化界面操作,指定需要识别的关键字段,实现用户特定格式图片的自动识别和结构化提取。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeCustomTemplateInvoker added in v0.1.22

func (c *OcrClient) RecognizeCustomTemplateInvoker(request *model.RecognizeCustomTemplateRequest) *RecognizeCustomTemplateInvoker

RecognizeCustomTemplateInvoker 自定义模板OCR

func (*OcrClient) RecognizeDriverLicense

RecognizeDriverLicense 驾驶证识别

识别用户上传的驾驶证图片(或者用户提供的华为云上OBS的驾驶证图片文件的URL)中主页与副页的文字内容,并将识别的结果返回给用户。该接口的使用限制请参见[约束与限制](https://support.huaweicloud.com/productdesc-ocr/ocr_01_0006.html#section6),详细使用指导请参见[OCR服务使用简介](https://support.huaweicloud.com/qs-ocr/ocr_05_0001.html)章节。

说明:

如果图片中包含多张卡证票据,请调用[智能分类识别](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=OCR&api=AutoClassification)服务。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeDriverLicenseInvoker added in v0.0.90

func (c *OcrClient) RecognizeDriverLicenseInvoker(request *model.RecognizeDriverLicenseRequest) *RecognizeDriverLicenseInvoker

RecognizeDriverLicenseInvoker 驾驶证识别

func (*OcrClient) RecognizeExitEntryPermit added in v0.0.96

RecognizeExitEntryPermit 往来港澳台通行证识别

识别往来港澳台证件图片中的文字内容,并将识别的结构化结果返回给用户。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeExitEntryPermitInvoker added in v0.0.96

func (c *OcrClient) RecognizeExitEntryPermitInvoker(request *model.RecognizeExitEntryPermitRequest) *RecognizeExitEntryPermitInvoker

RecognizeExitEntryPermitInvoker 往来港澳台通行证识别

func (*OcrClient) RecognizeFinancialStatement added in v0.0.67

RecognizeFinancialStatement 财务报表识别

识别用户上传的表格图片中的文字内容,并将识别的结果返回给用户。该接口的使用限制请参见[约束与限制](https://support.huaweicloud.com/productdesc-ocr/ocr_01_0006.html#section24),详细使用指导请参见[OCR服务使用简介](https://support.huaweicloud.com/qs-ocr/ocr_05_0001.html)章节。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeFinancialStatementInvoker added in v0.0.90

func (c *OcrClient) RecognizeFinancialStatementInvoker(request *model.RecognizeFinancialStatementRequest) *RecognizeFinancialStatementInvoker

RecognizeFinancialStatementInvoker 财务报表识别

func (*OcrClient) RecognizeFlightItinerary

RecognizeFlightItinerary 飞机行程单识别

识别飞机行程单中的文字信息,并返回识别的结构化结果。该接口的使用限制请参见[约束与限制](https://support.huaweicloud.com/productdesc-ocr/ocr_01_0006.html#section20),详细使用指导请参见[OCR服务使用简介](https://support.huaweicloud.com/qs-ocr/ocr_05_0001.html)章节。 说明: 如果图片中包含多张卡证票据,请调用[智能分类识别](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=OCR&api=AutoClassification)服务。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeFlightItineraryInvoker added in v0.0.90

func (c *OcrClient) RecognizeFlightItineraryInvoker(request *model.RecognizeFlightItineraryRequest) *RecognizeFlightItineraryInvoker

RecognizeFlightItineraryInvoker 飞机行程单识别

func (*OcrClient) RecognizeGeneralTable

RecognizeGeneralTable 通用表格识别

用于识别用户上传的通用表格图片(或者用户提供的华为云上OBS的通用表格图片文件的URL)中的文字内容,并将识别的结果返回给用户。该接口的使用限制请参见[约束与限制](https://support.huaweicloud.com/productdesc-ocr/ocr_01_0006.html#section0),详细使用指导请参见[OCR服务使用简介](https://support.huaweicloud.com/qs-ocr/ocr_05_0001.html)章节。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeGeneralTableInvoker added in v0.0.90

func (c *OcrClient) RecognizeGeneralTableInvoker(request *model.RecognizeGeneralTableRequest) *RecognizeGeneralTableInvoker

RecognizeGeneralTableInvoker 通用表格识别

func (*OcrClient) RecognizeGeneralText

RecognizeGeneralText 通用文字识别

识别图片上的文字信息,返回识别的文字和坐标。支持扫描文件、电子文档、书籍、票据和表单等多种场景的文字识别。该接口的使用限制请参见[约束与限制](https://support.huaweicloud.com/productdesc-ocr/ocr_01_0006.html#section1),详细使用指导请参见[OCR服务使用简介](https://support.huaweicloud.com/qs-ocr/ocr_05_0001.html)章节。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeGeneralTextInvoker added in v0.0.90

func (c *OcrClient) RecognizeGeneralTextInvoker(request *model.RecognizeGeneralTextRequest) *RecognizeGeneralTextInvoker

RecognizeGeneralTextInvoker 通用文字识别

func (*OcrClient) RecognizeHandwriting

RecognizeHandwriting 手写文字识别

识别文档中的手写文字信息,并将识别的结构化结果返回给用户。该接口的使用限制请参见[约束与限制](https://support.huaweicloud.com/productdesc-ocr/ocr_01_0006.html#section4),详细使用指导请参见[OCR服务使用简介](https://support.huaweicloud.com/qs-ocr/ocr_05_0001.html)章节。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeHandwritingInvoker added in v0.0.90

func (c *OcrClient) RecognizeHandwritingInvoker(request *model.RecognizeHandwritingRequest) *RecognizeHandwritingInvoker

RecognizeHandwritingInvoker 手写文字识别

func (*OcrClient) RecognizeHealthCode added in v0.0.88

RecognizeHealthCode 防疫健康码识别

支持对全国各地区不同版式的防疫健康码、核酸检测记录、行程卡中的14个关键字段进行结构化识别;支持识别4种健康码颜色,包括绿码、黄码、红码、灰码;支持返回各个关键字段的置信度,以便提高人工校验效率。该接口的使用限制请参见[约束与限制](https://support.huaweicloud.com/productdesc-ocr/ocr_01_0006.html#section26),详细使用指导请参见[OCR服务使用简介](https://support.huaweicloud.com/qs-ocr/ocr_05_0001.html)章节。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeHealthCodeInvoker added in v0.0.90

func (c *OcrClient) RecognizeHealthCodeInvoker(request *model.RecognizeHealthCodeRequest) *RecognizeHealthCodeInvoker

RecognizeHealthCodeInvoker 防疫健康码识别

func (*OcrClient) RecognizeHkIdCard added in v0.0.96

func (c *OcrClient) RecognizeHkIdCard(request *model.RecognizeHkIdCardRequest) (*model.RecognizeHkIdCardResponse, error)

RecognizeHkIdCard 香港身份证识别

识别香港身份证中的文字内容,并将识别的结果返回给用户。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeHkIdCardInvoker added in v0.0.96

func (c *OcrClient) RecognizeHkIdCardInvoker(request *model.RecognizeHkIdCardRequest) *RecognizeHkIdCardInvoker

RecognizeHkIdCardInvoker 香港身份证识别

func (*OcrClient) RecognizeHouseholdRegister added in v0.1.87

RecognizeHouseholdRegister 户口本识别

识别户口本中的文字信息,并返回识别的结构化结果。该接口的使用限制请参见[约束与限制](https://support.huaweicloud.com/productdesc-ocr/ocr_01_0006.html#section11),详细使用指导请参见[OCR服务使用简介](https://support.huaweicloud.com/qs-ocr/ocr_05_0001.html)章节。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeHouseholdRegisterInvoker added in v0.1.87

func (c *OcrClient) RecognizeHouseholdRegisterInvoker(request *model.RecognizeHouseholdRegisterRequest) *RecognizeHouseholdRegisterInvoker

RecognizeHouseholdRegisterInvoker 户口本识别

func (*OcrClient) RecognizeIdCard

func (c *OcrClient) RecognizeIdCard(request *model.RecognizeIdCardRequest) (*model.RecognizeIdCardResponse, error)

RecognizeIdCard 身份证识别

识别身份证图片中的文字内容,并将识别的结果返回给用户。该接口的使用限制请参见[约束与限制](https://support.huaweicloud.com/productdesc-ocr/ocr_01_0006.html#section5),详细使用指导请参见[OCR服务使用简介](https://support.huaweicloud.com/qs-ocr/ocr_05_0001.html)章节。

说明:

身份证识别支持中华人民共和国居民身份证识别。

如果图片中包含多张卡证票据,请调用[智能分类识别](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=OCR&api=AutoClassification)服务。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeIdCardInvoker added in v0.0.90

func (c *OcrClient) RecognizeIdCardInvoker(request *model.RecognizeIdCardRequest) *RecognizeIdCardInvoker

RecognizeIdCardInvoker 身份证识别

func (*OcrClient) RecognizeIdDocument added in v0.0.93

RecognizeIdDocument 通用证件识别

识别身份证件图像,并将识别的结构化结果返回给用户。支持多个国家/地区的身份证、驾驶证和护照,具体国家/地区和证件列表详见表1国家/地区和证件列表。

**表1国家/地区和证件列表**

| 国家/地区 | 英文名称 | 国家/地区代码 country_region | 支持证件类型 id_type | | ---------- | ----------- | ---------------------------- | ------------------------- | | 越南 | Vietnam | VNM | PP、DL、ID | | 印度 | India | IND | PP | | 菲律宾 | Philippines | PHL | PP、DL、ID(仅支持UUMID) | | 阿尔巴尼亚 | Albania | ALB | PP、DL、ID | | 巴西 | BRAZIL | BRA | PP | | 印度尼西亚 | INDONESIA | IDN | PP | | 马来西亚 | MALAYSIA | MYS | PP | | 尼日利亚 | NIGERIA | NGA | PP | | 巴基斯坦 | PAKISTAN | PAK | PP | | 俄罗斯 | RUSSIA | RUS | PP(仅支持国际标准版本) | | 中国台湾 | TAIWAN | TWN | PP | | 乌克兰 | UKRAINE | UKR | PP | | 泰国 | THAILAND | THA | ID、PP | | 智利 | CHILE | CHL | ID、PP | | 中国香港 | HONGKONG | HKG | ID |

- PP: passport,国际护照 - DL: driving license,驾驶证 - ID: identification card,各国颁发的身份证类型证件,比如身份证、选民证、社保卡等。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeIdDocumentInvoker added in v0.0.93

func (c *OcrClient) RecognizeIdDocumentInvoker(request *model.RecognizeIdDocumentRequest) *RecognizeIdDocumentInvoker

RecognizeIdDocumentInvoker 通用证件识别

func (*OcrClient) RecognizeInsurancePolicy added in v0.0.67

RecognizeInsurancePolicy 保险单识别

识别保险单图片上的文字信息,并将识别的结构化结果返回给用户。支持对多种版式保险单的扫描图片及手机照片进行结构化信息提取。该接口的使用限制请参见[约束与限制](https://support.huaweicloud.com/productdesc-ocr/ocr_01_0006.html#section23),详细使用指导请参见[OCR服务使用简介](https://support.huaweicloud.com/qs-ocr/ocr_05_0001.html)章节。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeInsurancePolicyInvoker added in v0.0.90

func (c *OcrClient) RecognizeInsurancePolicyInvoker(request *model.RecognizeInsurancePolicyRequest) *RecognizeInsurancePolicyInvoker

RecognizeInsurancePolicyInvoker 保险单识别

func (*OcrClient) RecognizeInvoiceVerification added in v0.0.59

RecognizeInvoiceVerification 发票验真

发票验真服务支持10种增值税发票的信息核验,包括增值税专用发票、增值税普通发票、增值税普通发票(卷式)、增值税电子专用发票、增值税电子普通发票、增值税电子普通发票(通行费)、二手车销售统一发票、机动车销售统一发票、区块链电子发票、全电发票,支持返回票面的全部信息。该接口的使用限制请参见[约束与限制](https://support.huaweicloud.com/productdesc-ocr/ocr_01_0006.html#section16),详细使用指导请参见[OCR服务使用简介](https://support.huaweicloud.com/qs-ocr/ocr_05_0001.html)章节。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeInvoiceVerificationInvoker added in v0.0.90

func (c *OcrClient) RecognizeInvoiceVerificationInvoker(request *model.RecognizeInvoiceVerificationRequest) *RecognizeInvoiceVerificationInvoker

RecognizeInvoiceVerificationInvoker 发票验真

func (*OcrClient) RecognizeLicensePlate

RecognizeLicensePlate 车牌识别

识别输入图片中的车牌信息,并返回其坐标和内容。该接口的使用限制请参见[约束与限制](https://support.huaweicloud.com/productdesc-ocr/ocr_01_0006.html#section12),详细使用指导请参见[OCR服务使用简介](https://support.huaweicloud.com/qs-ocr/ocr_05_0001.html)章节。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeLicensePlateInvoker added in v0.0.90

func (c *OcrClient) RecognizeLicensePlateInvoker(request *model.RecognizeLicensePlateRequest) *RecognizeLicensePlateInvoker

RecognizeLicensePlateInvoker 车牌识别

func (*OcrClient) RecognizeMacaoIdCard added in v0.0.103

RecognizeMacaoIdCard 澳门身份证识别

识别澳门身份证图片中的文字内容,并将识别的结果返回给用户。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeMacaoIdCardInvoker added in v0.0.103

func (c *OcrClient) RecognizeMacaoIdCardInvoker(request *model.RecognizeMacaoIdCardRequest) *RecognizeMacaoIdCardInvoker

RecognizeMacaoIdCardInvoker 澳门身份证识别

func (*OcrClient) RecognizeMainlandTravelPermit added in v0.0.96

RecognizeMainlandTravelPermit 港澳台居民来往内地通行证识别

识别港澳居民来往内地通行证上的文字内容,并将识别的结构化结果返回给用户。支持港澳居民来往内地通行证和台湾居民来往内地通行证两种卡证。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeMainlandTravelPermitInvoker added in v0.0.96

func (c *OcrClient) RecognizeMainlandTravelPermitInvoker(request *model.RecognizeMainlandTravelPermitRequest) *RecognizeMainlandTravelPermitInvoker

RecognizeMainlandTravelPermitInvoker 港澳台居民来往内地通行证识别

func (*OcrClient) RecognizeMvsInvoice

RecognizeMvsInvoice 机动车销售发票识别

识别机动车销售发票、二手车销售发票图片(服务能自动分辨两种类型,返回对应的字段)中的文字内容,并将识别的结果以JSON格式返回给用户。该接口的使用限制请参见[约束与限制](https://support.huaweicloud.com/productdesc-ocr/ocr_01_0006.html#section17),详细使用指导请参见[OCR服务使用简介](https://support.huaweicloud.com/qs-ocr/ocr_05_0001.html)章节。 说明: 该增值税发票仅限于中华人民共和国境内使用的增值税发票。 如果图片中包含多张卡证票据,请调用[智能分类识别](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=OCR&api=AutoClassification)服务。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeMvsInvoiceInvoker added in v0.0.90

func (c *OcrClient) RecognizeMvsInvoiceInvoker(request *model.RecognizeMvsInvoiceRequest) *RecognizeMvsInvoiceInvoker

RecognizeMvsInvoiceInvoker 机动车销售发票识别

func (*OcrClient) RecognizeMyanmarDriverLicense added in v0.0.72

RecognizeMyanmarDriverLicense 缅文驾驶证识别

识别缅甸驾驶证中的文字信息,并返回识别的结构化结果。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeMyanmarDriverLicenseInvoker added in v0.0.90

func (c *OcrClient) RecognizeMyanmarDriverLicenseInvoker(request *model.RecognizeMyanmarDriverLicenseRequest) *RecognizeMyanmarDriverLicenseInvoker

RecognizeMyanmarDriverLicenseInvoker 缅文驾驶证识别

func (*OcrClient) RecognizeMyanmarIdcard added in v0.0.72

RecognizeMyanmarIdcard 缅文身份证识别

识别缅文身份证中的文字信息,并返回识别的结构化结果。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeMyanmarIdcardInvoker added in v0.0.90

func (c *OcrClient) RecognizeMyanmarIdcardInvoker(request *model.RecognizeMyanmarIdcardRequest) *RecognizeMyanmarIdcardInvoker

RecognizeMyanmarIdcardInvoker 缅文身份证识别

func (*OcrClient) RecognizePassport

func (c *OcrClient) RecognizePassport(request *model.RecognizePassportRequest) (*model.RecognizePassportResponse, error)

RecognizePassport 护照识别

识别用户上传的护照首页图片中的文字信息,并返回识别的结构化结果。当前版本支持中国护照的全字段识别。外国护照支持护照下方两行国际标准化的机读码识别,并可从中提取6-7个关键字段信息。该接口的使用限制请参见[约束与限制](https://support.huaweicloud.com/productdesc-ocr/ocr_01_0006.html#section8),详细使用指导请参见[OCR服务使用简介](https://support.huaweicloud.com/qs-ocr/ocr_05_0001.html)章节。 说明: 如果图片中包含多张卡证票据,请调用[智能分类识别](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=OCR&api=AutoClassification)服务。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizePassportInvoker added in v0.0.90

func (c *OcrClient) RecognizePassportInvoker(request *model.RecognizePassportRequest) *RecognizePassportInvoker

RecognizePassportInvoker 护照识别

func (*OcrClient) RecognizePcrTestRecord added in v0.0.89

RecognizePcrTestRecord 核酸检测记录识别

识别核酸检测记录中的文字信息,并将识别的结构化结果返回给用户。PCR,全称Polymerase chain reaction,即聚合酶链式反应。PCR-test也为大众所认知为新型冠状病毒核酸检测测试。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizePcrTestRecordInvoker added in v0.0.90

func (c *OcrClient) RecognizePcrTestRecordInvoker(request *model.RecognizePcrTestRecordRequest) *RecognizePcrTestRecordInvoker

RecognizePcrTestRecordInvoker 核酸检测记录识别

func (*OcrClient) RecognizePeruIdCard added in v0.1.67

RecognizePeruIdCard 秘鲁身份证识别

识别秘鲁身份证图片中的文字内容,并将识别的结构化结果返回给用户。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizePeruIdCardInvoker added in v0.1.67

func (c *OcrClient) RecognizePeruIdCardInvoker(request *model.RecognizePeruIdCardRequest) *RecognizePeruIdCardInvoker

RecognizePeruIdCardInvoker 秘鲁身份证识别

func (*OcrClient) RecognizeQualificationCertificate added in v0.0.67

RecognizeQualificationCertificate 道路运输从业资格证识别

识别道路运输从业资格证上的关键文字信息,并返回识别的结构化结果。该接口的使用限制请参见[约束与限制](https://support.huaweicloud.com/productdesc-ocr/ocr_01_0006.html#section25),详细使用指导请参见[OCR服务使用简介](https://support.huaweicloud.com/qs-ocr/ocr_05_0001.html)章节。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeQualificationCertificateInvoker added in v0.0.90

func (c *OcrClient) RecognizeQualificationCertificateInvoker(request *model.RecognizeQualificationCertificateRequest) *RecognizeQualificationCertificateInvoker

RecognizeQualificationCertificateInvoker 道路运输从业资格证识别

func (*OcrClient) RecognizeQuotaInvoice

RecognizeQuotaInvoice 定额发票识别

识别定额发票中的文字信息,并返回识别的结构化结果。该接口的使用限制请参见[约束与限制](https://support.huaweicloud.com/productdesc-ocr/ocr_01_0006.html#section21),详细使用指导请参见[OCR服务使用简介](https://support.huaweicloud.com/qs-ocr/ocr_05_0001.html)章节。

说明:

如果图片中包含多张卡证票据,请调用[智能分类识别](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=OCR&api=AutoClassification)服务。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeQuotaInvoiceInvoker added in v0.0.90

func (c *OcrClient) RecognizeQuotaInvoiceInvoker(request *model.RecognizeQuotaInvoiceRequest) *RecognizeQuotaInvoiceInvoker

RecognizeQuotaInvoiceInvoker 定额发票识别

func (*OcrClient) RecognizeRealEstateCertificate added in v0.1.60

RecognizeRealEstateCertificate 不动产证识别

识别不动产证中的文字信息,并返回识别的结构化结果。该接口的使用限制请参见[约束与限制](https://support.huaweicloud.com/productdesc-ocr/ocr_01_0006.html#section11),详细使用指导请参见[OCR服务使用简介](https://support.huaweicloud.com/qs-ocr/ocr_05_0001.html)章节。 说明: 如果图片中包含多张卡证票据,请调用[智能分类识别](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=OCR&api=AutoClassification)服务。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeRealEstateCertificateInvoker added in v0.1.60

func (c *OcrClient) RecognizeRealEstateCertificateInvoker(request *model.RecognizeRealEstateCertificateRequest) *RecognizeRealEstateCertificateInvoker

RecognizeRealEstateCertificateInvoker 不动产证识别

func (*OcrClient) RecognizeSeal added in v0.1.78

func (c *OcrClient) RecognizeSeal(request *model.RecognizeSealRequest) (*model.RecognizeSealResponse, error)

RecognizeSeal 印章识别

检测和识别合同文件或常用票据中的印章,并可擦除和提取图片中的印章,通过JSON格式返回印章检测、识别、擦除和提取的结果。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeSealInvoker added in v0.1.78

func (c *OcrClient) RecognizeSealInvoker(request *model.RecognizeSealRequest) *RecognizeSealInvoker

RecognizeSealInvoker 印章识别

func (*OcrClient) RecognizeSmartDocumentRecognizer added in v0.1.57

RecognizeSmartDocumentRecognizer 智能文档解析

对证件、票据、表单等任意版式文档进行键值对提取、文字识别、以及表格识别等任务,实现进阶高效的自动化结构化返回。该接口的使用限制请参见[约束与限制](https://support.huaweicloud.com/productdesc-ocr/ocr_01_0006.html#section11),详细使用指导请参见[OCR服务使用简介](https://support.huaweicloud.com/qs-ocr/ocr_05_0001.html)章节。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeSmartDocumentRecognizerInvoker added in v0.1.57

func (c *OcrClient) RecognizeSmartDocumentRecognizerInvoker(request *model.RecognizeSmartDocumentRecognizerRequest) *RecognizeSmartDocumentRecognizerInvoker

RecognizeSmartDocumentRecognizerInvoker 智能文档解析

func (*OcrClient) RecognizeTaxiInvoice

RecognizeTaxiInvoice 出租车发票识别

识别出租车发票中的文字信息,并返回识别的结构化结果。该接口的使用限制请参见[约束与限制](https://support.huaweicloud.com/productdesc-ocr/ocr_01_0006.html#section18),详细使用指导请参见[OCR服务使用简介](https://support.huaweicloud.com/qs-ocr/ocr_05_0001.html)章节。

说明: 如果图片中包含多张卡证票据,请调用[智能分类识别](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=OCR&api=AutoClassification)服务。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeTaxiInvoiceInvoker added in v0.0.90

func (c *OcrClient) RecognizeTaxiInvoiceInvoker(request *model.RecognizeTaxiInvoiceRequest) *RecognizeTaxiInvoiceInvoker

RecognizeTaxiInvoiceInvoker 出租车发票识别

func (*OcrClient) RecognizeThailandIdcard added in v0.0.72

RecognizeThailandIdcard 泰文身份证识别

识别泰国身份证中的文字信息,并返回识别的结构化结果。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeThailandIdcardInvoker added in v0.0.90

func (c *OcrClient) RecognizeThailandIdcardInvoker(request *model.RecognizeThailandIdcardRequest) *RecognizeThailandIdcardInvoker

RecognizeThailandIdcardInvoker 泰文身份证识别

func (*OcrClient) RecognizeThailandLicensePlate added in v0.0.72

RecognizeThailandLicensePlate 泰国车牌识别

识别泰国车牌图片中的车牌信息,并返回识别的结构化结果。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeThailandLicensePlateInvoker added in v0.0.90

func (c *OcrClient) RecognizeThailandLicensePlateInvoker(request *model.RecognizeThailandLicensePlateRequest) *RecognizeThailandLicensePlateInvoker

RecognizeThailandLicensePlateInvoker 泰国车牌识别

func (*OcrClient) RecognizeTollInvoice

RecognizeTollInvoice 车辆通行费发票识别

识别车辆通行费发票中的文字信息,并返回识别的结构化结果。该接口的使用限制请参见[约束与限制](https://support.huaweicloud.com/productdesc-ocr/ocr_01_0006.html#section19),详细使用指导请参见[OCR服务使用简介](https://support.huaweicloud.com/qs-ocr/ocr_05_0001.html)章节。 说明: 如果图片中包含多张卡证票据,请调用[智能分类识别](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=OCR&api=AutoClassification)服务。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeTollInvoiceInvoker added in v0.0.90

func (c *OcrClient) RecognizeTollInvoiceInvoker(request *model.RecognizeTollInvoiceRequest) *RecognizeTollInvoiceInvoker

RecognizeTollInvoiceInvoker 车辆通行费发票识别

func (*OcrClient) RecognizeTrainTicket

RecognizeTrainTicket 火车票识别

识别火车票中的文字信息,并返回识别的结构化结果。该接口的使用限制请参见[约束与限制](https://support.huaweicloud.com/productdesc-ocr/ocr_01_0006.html#section22),详细使用指导请参见[OCR服务使用简介](https://support.huaweicloud.com/qs-ocr/ocr_05_0001.html)章节。 说明: 如果图片中包含多张卡证票据,请调用[智能分类识别](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=OCR&api=AutoClassification)服务。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeTrainTicketInvoker added in v0.0.90

func (c *OcrClient) RecognizeTrainTicketInvoker(request *model.RecognizeTrainTicketRequest) *RecognizeTrainTicketInvoker

RecognizeTrainTicketInvoker 火车票识别

func (*OcrClient) RecognizeTransportationLicense

RecognizeTransportationLicense 道路运输证识别

识别道路运输证首页中的文字信息,并返回识别的结构化结果。该接口的使用限制请参见[约束与限制](https://support.huaweicloud.com/productdesc-ocr/ocr_01_0006.html#section11),详细使用指导请参见[OCR服务使用简介](https://support.huaweicloud.com/qs-ocr/ocr_05_0001.html)章节。 说明: 如果图片中包含多张卡证票据,请调用[智能分类识别](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=OCR&api=AutoClassification)服务。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeTransportationLicenseInvoker added in v0.0.90

func (c *OcrClient) RecognizeTransportationLicenseInvoker(request *model.RecognizeTransportationLicenseRequest) *RecognizeTransportationLicenseInvoker

RecognizeTransportationLicenseInvoker 道路运输证识别

func (*OcrClient) RecognizeVatInvoice

RecognizeVatInvoice 增值税发票识别

识别增值税发票的类别,以及图片中的文字内容,并以json格式返回识别的结构化结果,不支持真伪验证。该接口的使用限制请参见[约束与限制](https://support.huaweicloud.com/productdesc-ocr/ocr_01_0006.html#section15),详细使用指导请参见[OCR服务使用简介](https://support.huaweicloud.com/qs-ocr/ocr_05_0001.html)章节。 说明: 该增值税发票仅限于中华人民共和国境内使用的增值税发票。 支持的增值税发票包括:增值税专用发票、增值税普通发票、增值税电子普通发票、增值税电子专用发票、增值税电子普通发票(通行费)、增值税普通发票(卷票)。 如果图片中包含多张卡证票据,请调用智能分类识别服务。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeVatInvoiceInvoker added in v0.0.90

func (c *OcrClient) RecognizeVatInvoiceInvoker(request *model.RecognizeVatInvoiceRequest) *RecognizeVatInvoiceInvoker

RecognizeVatInvoiceInvoker 增值税发票识别

func (*OcrClient) RecognizeVehicleCertificate added in v0.1.60

RecognizeVehicleCertificate 车辆合格证识别

识别车辆合格证中的文字信息,并返回识别的结构化结果。该接口的使用限制请参见[约束与限制](https://support.huaweicloud.com/productdesc-ocr/ocr_01_0006.html#section11),详细使用指导请参见[OCR服务使用简介](https://support.huaweicloud.com/qs-ocr/ocr_05_0001.html)章节。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeVehicleCertificateInvoker added in v0.1.60

func (c *OcrClient) RecognizeVehicleCertificateInvoker(request *model.RecognizeVehicleCertificateRequest) *RecognizeVehicleCertificateInvoker

RecognizeVehicleCertificateInvoker 车辆合格证识别

func (*OcrClient) RecognizeVehicleLicense

RecognizeVehicleLicense 行驶证识别

识别用户上传的行驶证图片(或者用户提供的华为云上OBS的行驶证图片文件的URL)中主页和副页的文字内容,并将识别的结果返回给用户。该接口的使用限制请参见[约束与限制](https://support.huaweicloud.com/productdesc-ocr/ocr_01_0006.html#section7),详细使用指导请参见[OCR服务使用简介](https://support.huaweicloud.com/qs-ocr/ocr_05_0001.html)章节。 说明: 如果图片中包含多张卡证票据,请调用[智能分类识别](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=OCR&api=AutoClassification)服务。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeVehicleLicenseInvoker added in v0.0.90

func (c *OcrClient) RecognizeVehicleLicenseInvoker(request *model.RecognizeVehicleLicenseRequest) *RecognizeVehicleLicenseInvoker

RecognizeVehicleLicenseInvoker 行驶证识别

func (*OcrClient) RecognizeVietnamIdCard added in v0.1.60

RecognizeVietnamIdCard 越南身份证识别

识别越南身份证中的文字信息,并将识别的结构化结果返回给用户。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeVietnamIdCardInvoker added in v0.1.60

func (c *OcrClient) RecognizeVietnamIdCardInvoker(request *model.RecognizeVietnamIdCardRequest) *RecognizeVietnamIdCardInvoker

RecognizeVietnamIdCardInvoker 越南身份证识别

func (*OcrClient) RecognizeVin

func (c *OcrClient) RecognizeVin(request *model.RecognizeVinRequest) (*model.RecognizeVinResponse, error)

RecognizeVin VIN码识别

识别图片中的车架号信息,并将识别结果返回给用户。该接口的使用限制请参见[约束与限制](https://support.huaweicloud.com/productdesc-ocr/ocr_01_0006.html#section14),详细使用指导请参见[OCR服务使用简介](https://support.huaweicloud.com/qs-ocr/ocr_05_0001.html)章节。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeVinInvoker added in v0.0.90

func (c *OcrClient) RecognizeVinInvoker(request *model.RecognizeVinRequest) *RecognizeVinInvoker

RecognizeVinInvoker VIN码识别

func (*OcrClient) RecognizeWaybillElectronic added in v0.0.83

RecognizeWaybillElectronic 电子面单识别

识别用户上传的电子面单图片中的文字内容,并将识别的结果以json格式返回给用户。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeWaybillElectronicInvoker added in v0.0.90

func (c *OcrClient) RecognizeWaybillElectronicInvoker(request *model.RecognizeWaybillElectronicRequest) *RecognizeWaybillElectronicInvoker

RecognizeWaybillElectronicInvoker 电子面单识别

func (*OcrClient) RecognizeWebImage

func (c *OcrClient) RecognizeWebImage(request *model.RecognizeWebImageRequest) (*model.RecognizeWebImageResponse, error)

RecognizeWebImage 网络图片识别

识别网络图片中的文字内容,并返回识别的结构化结果。该接口的使用限制请参见[约束与限制](https://support.huaweicloud.com/productdesc-ocr/ocr_01_0006.html#section2),详细使用指导请参见[OCR服务使用简介](https://support.huaweicloud.com/qs-ocr/ocr_05_0001.html)章节。

Please refer to HUAWEI cloud API Explorer for details.

func (*OcrClient) RecognizeWebImageInvoker added in v0.0.90

func (c *OcrClient) RecognizeWebImageInvoker(request *model.RecognizeWebImageRequest) *RecognizeWebImageInvoker

RecognizeWebImageInvoker 网络图片识别

type RecognizeAcceptanceBillInvoker added in v0.1.60

type RecognizeAcceptanceBillInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeAcceptanceBillInvoker) GetBaseInvoker added in v0.1.118

func (i *RecognizeAcceptanceBillInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RecognizeAcceptanceBillInvoker) Invoke added in v0.1.60

type RecognizeAutoClassificationInvoker added in v0.0.90

type RecognizeAutoClassificationInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeAutoClassificationInvoker) GetBaseInvoker added in v0.1.118

func (*RecognizeAutoClassificationInvoker) Invoke added in v0.0.90

type RecognizeBankReceiptInvoker added in v0.1.93

type RecognizeBankReceiptInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeBankReceiptInvoker) GetBaseInvoker added in v0.1.118

func (i *RecognizeBankReceiptInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RecognizeBankReceiptInvoker) Invoke added in v0.1.93

type RecognizeBankcardInvoker added in v0.0.90

type RecognizeBankcardInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeBankcardInvoker) GetBaseInvoker added in v0.1.118

func (i *RecognizeBankcardInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RecognizeBankcardInvoker) Invoke added in v0.0.90

type RecognizeBusinessCardInvoker added in v0.0.90

type RecognizeBusinessCardInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeBusinessCardInvoker) GetBaseInvoker added in v0.1.118

func (i *RecognizeBusinessCardInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RecognizeBusinessCardInvoker) Invoke added in v0.0.90

type RecognizeBusinessLicenseInvoker added in v0.0.90

type RecognizeBusinessLicenseInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeBusinessLicenseInvoker) GetBaseInvoker added in v0.1.118

func (*RecognizeBusinessLicenseInvoker) Invoke added in v0.0.90

type RecognizeCambodianIdCardInvoker added in v0.0.96

type RecognizeCambodianIdCardInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeCambodianIdCardInvoker) GetBaseInvoker added in v0.1.118

func (*RecognizeCambodianIdCardInvoker) Invoke added in v0.0.96

type RecognizeChileIdCardInvoker added in v0.0.90

type RecognizeChileIdCardInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeChileIdCardInvoker) GetBaseInvoker added in v0.1.118

func (i *RecognizeChileIdCardInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RecognizeChileIdCardInvoker) Invoke added in v0.0.90

type RecognizeColombiaIdCardInvoker added in v0.1.61

type RecognizeColombiaIdCardInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeColombiaIdCardInvoker) GetBaseInvoker added in v0.1.118

func (i *RecognizeColombiaIdCardInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RecognizeColombiaIdCardInvoker) Invoke added in v0.1.61

type RecognizeCustomTemplateInvoker added in v0.1.22

type RecognizeCustomTemplateInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeCustomTemplateInvoker) GetBaseInvoker added in v0.1.118

func (i *RecognizeCustomTemplateInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RecognizeCustomTemplateInvoker) Invoke added in v0.1.22

type RecognizeDriverLicenseInvoker added in v0.0.90

type RecognizeDriverLicenseInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeDriverLicenseInvoker) GetBaseInvoker added in v0.1.118

func (i *RecognizeDriverLicenseInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RecognizeDriverLicenseInvoker) Invoke added in v0.0.90

type RecognizeExitEntryPermitInvoker added in v0.0.96

type RecognizeExitEntryPermitInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeExitEntryPermitInvoker) GetBaseInvoker added in v0.1.118

func (*RecognizeExitEntryPermitInvoker) Invoke added in v0.0.96

type RecognizeFinancialStatementInvoker added in v0.0.90

type RecognizeFinancialStatementInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeFinancialStatementInvoker) GetBaseInvoker added in v0.1.118

func (*RecognizeFinancialStatementInvoker) Invoke added in v0.0.90

type RecognizeFlightItineraryInvoker added in v0.0.90

type RecognizeFlightItineraryInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeFlightItineraryInvoker) GetBaseInvoker added in v0.1.118

func (*RecognizeFlightItineraryInvoker) Invoke added in v0.0.90

type RecognizeGeneralTableInvoker added in v0.0.90

type RecognizeGeneralTableInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeGeneralTableInvoker) GetBaseInvoker added in v0.1.118

func (i *RecognizeGeneralTableInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RecognizeGeneralTableInvoker) Invoke added in v0.0.90

type RecognizeGeneralTextInvoker added in v0.0.90

type RecognizeGeneralTextInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeGeneralTextInvoker) GetBaseInvoker added in v0.1.118

func (i *RecognizeGeneralTextInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RecognizeGeneralTextInvoker) Invoke added in v0.0.90

type RecognizeHandwritingInvoker added in v0.0.90

type RecognizeHandwritingInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeHandwritingInvoker) GetBaseInvoker added in v0.1.118

func (i *RecognizeHandwritingInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RecognizeHandwritingInvoker) Invoke added in v0.0.90

type RecognizeHealthCodeInvoker added in v0.0.90

type RecognizeHealthCodeInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeHealthCodeInvoker) GetBaseInvoker added in v0.1.118

func (i *RecognizeHealthCodeInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RecognizeHealthCodeInvoker) Invoke added in v0.0.90

type RecognizeHkIdCardInvoker added in v0.0.96

type RecognizeHkIdCardInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeHkIdCardInvoker) GetBaseInvoker added in v0.1.118

func (i *RecognizeHkIdCardInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RecognizeHkIdCardInvoker) Invoke added in v0.0.96

type RecognizeHouseholdRegisterInvoker added in v0.1.87

type RecognizeHouseholdRegisterInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeHouseholdRegisterInvoker) GetBaseInvoker added in v0.1.118

func (*RecognizeHouseholdRegisterInvoker) Invoke added in v0.1.87

type RecognizeIdCardInvoker added in v0.0.90

type RecognizeIdCardInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeIdCardInvoker) GetBaseInvoker added in v0.1.118

func (i *RecognizeIdCardInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RecognizeIdCardInvoker) Invoke added in v0.0.90

type RecognizeIdDocumentInvoker added in v0.0.93

type RecognizeIdDocumentInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeIdDocumentInvoker) GetBaseInvoker added in v0.1.118

func (i *RecognizeIdDocumentInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RecognizeIdDocumentInvoker) Invoke added in v0.0.93

type RecognizeInsurancePolicyInvoker added in v0.0.90

type RecognizeInsurancePolicyInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeInsurancePolicyInvoker) GetBaseInvoker added in v0.1.118

func (*RecognizeInsurancePolicyInvoker) Invoke added in v0.0.90

type RecognizeInvoiceVerificationInvoker added in v0.0.90

type RecognizeInvoiceVerificationInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeInvoiceVerificationInvoker) GetBaseInvoker added in v0.1.118

func (*RecognizeInvoiceVerificationInvoker) Invoke added in v0.0.90

type RecognizeLicensePlateInvoker added in v0.0.90

type RecognizeLicensePlateInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeLicensePlateInvoker) GetBaseInvoker added in v0.1.118

func (i *RecognizeLicensePlateInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RecognizeLicensePlateInvoker) Invoke added in v0.0.90

type RecognizeMacaoIdCardInvoker added in v0.0.103

type RecognizeMacaoIdCardInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeMacaoIdCardInvoker) GetBaseInvoker added in v0.1.118

func (i *RecognizeMacaoIdCardInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RecognizeMacaoIdCardInvoker) Invoke added in v0.0.103

type RecognizeMainlandTravelPermitInvoker added in v0.0.96

type RecognizeMainlandTravelPermitInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeMainlandTravelPermitInvoker) GetBaseInvoker added in v0.1.118

func (*RecognizeMainlandTravelPermitInvoker) Invoke added in v0.0.96

type RecognizeMvsInvoiceInvoker added in v0.0.90

type RecognizeMvsInvoiceInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeMvsInvoiceInvoker) GetBaseInvoker added in v0.1.118

func (i *RecognizeMvsInvoiceInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RecognizeMvsInvoiceInvoker) Invoke added in v0.0.90

type RecognizeMyanmarDriverLicenseInvoker added in v0.0.90

type RecognizeMyanmarDriverLicenseInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeMyanmarDriverLicenseInvoker) GetBaseInvoker added in v0.1.118

func (*RecognizeMyanmarDriverLicenseInvoker) Invoke added in v0.0.90

type RecognizeMyanmarIdcardInvoker added in v0.0.90

type RecognizeMyanmarIdcardInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeMyanmarIdcardInvoker) GetBaseInvoker added in v0.1.118

func (i *RecognizeMyanmarIdcardInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RecognizeMyanmarIdcardInvoker) Invoke added in v0.0.90

type RecognizePassportInvoker added in v0.0.90

type RecognizePassportInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizePassportInvoker) GetBaseInvoker added in v0.1.118

func (i *RecognizePassportInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RecognizePassportInvoker) Invoke added in v0.0.90

type RecognizePcrTestRecordInvoker added in v0.0.90

type RecognizePcrTestRecordInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizePcrTestRecordInvoker) GetBaseInvoker added in v0.1.118

func (i *RecognizePcrTestRecordInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RecognizePcrTestRecordInvoker) Invoke added in v0.0.90

type RecognizePeruIdCardInvoker added in v0.1.67

type RecognizePeruIdCardInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizePeruIdCardInvoker) GetBaseInvoker added in v0.1.118

func (i *RecognizePeruIdCardInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RecognizePeruIdCardInvoker) Invoke added in v0.1.67

type RecognizeQualificationCertificateInvoker added in v0.0.90

type RecognizeQualificationCertificateInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeQualificationCertificateInvoker) GetBaseInvoker added in v0.1.118

func (*RecognizeQualificationCertificateInvoker) Invoke added in v0.0.90

type RecognizeQuotaInvoiceInvoker added in v0.0.90

type RecognizeQuotaInvoiceInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeQuotaInvoiceInvoker) GetBaseInvoker added in v0.1.118

func (i *RecognizeQuotaInvoiceInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RecognizeQuotaInvoiceInvoker) Invoke added in v0.0.90

type RecognizeRealEstateCertificateInvoker added in v0.1.60

type RecognizeRealEstateCertificateInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeRealEstateCertificateInvoker) GetBaseInvoker added in v0.1.118

func (*RecognizeRealEstateCertificateInvoker) Invoke added in v0.1.60

type RecognizeSealInvoker added in v0.1.78

type RecognizeSealInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeSealInvoker) GetBaseInvoker added in v0.1.118

func (i *RecognizeSealInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RecognizeSealInvoker) Invoke added in v0.1.78

type RecognizeSmartDocumentRecognizerInvoker added in v0.1.57

type RecognizeSmartDocumentRecognizerInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeSmartDocumentRecognizerInvoker) GetBaseInvoker added in v0.1.118

func (*RecognizeSmartDocumentRecognizerInvoker) Invoke added in v0.1.57

type RecognizeTaxiInvoiceInvoker added in v0.0.90

type RecognizeTaxiInvoiceInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeTaxiInvoiceInvoker) GetBaseInvoker added in v0.1.118

func (i *RecognizeTaxiInvoiceInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RecognizeTaxiInvoiceInvoker) Invoke added in v0.0.90

type RecognizeThailandIdcardInvoker added in v0.0.90

type RecognizeThailandIdcardInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeThailandIdcardInvoker) GetBaseInvoker added in v0.1.118

func (i *RecognizeThailandIdcardInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RecognizeThailandIdcardInvoker) Invoke added in v0.0.90

type RecognizeThailandLicensePlateInvoker added in v0.0.90

type RecognizeThailandLicensePlateInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeThailandLicensePlateInvoker) GetBaseInvoker added in v0.1.118

func (*RecognizeThailandLicensePlateInvoker) Invoke added in v0.0.90

type RecognizeTollInvoiceInvoker added in v0.0.90

type RecognizeTollInvoiceInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeTollInvoiceInvoker) GetBaseInvoker added in v0.1.118

func (i *RecognizeTollInvoiceInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RecognizeTollInvoiceInvoker) Invoke added in v0.0.90

type RecognizeTrainTicketInvoker added in v0.0.90

type RecognizeTrainTicketInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeTrainTicketInvoker) GetBaseInvoker added in v0.1.118

func (i *RecognizeTrainTicketInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RecognizeTrainTicketInvoker) Invoke added in v0.0.90

type RecognizeTransportationLicenseInvoker added in v0.0.90

type RecognizeTransportationLicenseInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeTransportationLicenseInvoker) GetBaseInvoker added in v0.1.118

func (*RecognizeTransportationLicenseInvoker) Invoke added in v0.0.90

type RecognizeVatInvoiceInvoker added in v0.0.90

type RecognizeVatInvoiceInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeVatInvoiceInvoker) GetBaseInvoker added in v0.1.118

func (i *RecognizeVatInvoiceInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RecognizeVatInvoiceInvoker) Invoke added in v0.0.90

type RecognizeVehicleCertificateInvoker added in v0.1.60

type RecognizeVehicleCertificateInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeVehicleCertificateInvoker) GetBaseInvoker added in v0.1.118

func (*RecognizeVehicleCertificateInvoker) Invoke added in v0.1.60

type RecognizeVehicleLicenseInvoker added in v0.0.90

type RecognizeVehicleLicenseInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeVehicleLicenseInvoker) GetBaseInvoker added in v0.1.118

func (i *RecognizeVehicleLicenseInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RecognizeVehicleLicenseInvoker) Invoke added in v0.0.90

type RecognizeVietnamIdCardInvoker added in v0.1.60

type RecognizeVietnamIdCardInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeVietnamIdCardInvoker) GetBaseInvoker added in v0.1.118

func (i *RecognizeVietnamIdCardInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RecognizeVietnamIdCardInvoker) Invoke added in v0.1.60

type RecognizeVinInvoker added in v0.0.90

type RecognizeVinInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeVinInvoker) GetBaseInvoker added in v0.1.118

func (i *RecognizeVinInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RecognizeVinInvoker) Invoke added in v0.0.90

type RecognizeWaybillElectronicInvoker added in v0.0.90

type RecognizeWaybillElectronicInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeWaybillElectronicInvoker) GetBaseInvoker added in v0.1.118

func (*RecognizeWaybillElectronicInvoker) Invoke added in v0.0.90

type RecognizeWebImageInvoker added in v0.0.90

type RecognizeWebImageInvoker struct {
	*invoker.BaseInvoker
}

func (*RecognizeWebImageInvoker) GetBaseInvoker added in v0.1.118

func (i *RecognizeWebImageInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RecognizeWebImageInvoker) Invoke added in v0.0.90

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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