tencentcloud-sdk-nodejs-ocr 4.1.8 → 4.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
2
|
-
import { RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, BankCardOCRRequest, SmartStructuralOCRResponse, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, FlightInvoiceOCRRequest, MLIDPassportOCRRequest, RecognizeGeneralTextImageWarnResponse, SmartStructuralOCRV2Request, TextDetectResponse, TollInvoiceOCRResponse, GetOCRTokenResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, ClassifyStoreNameRequest, InvoiceGeneralOCRRequest, QuestionSplitOCRRequest, HmtResidentPermitOCRResponse, EnterpriseLicenseOCRResponse, QuestionOCRResponse, InstitutionOCRResponse, DriverLicenseOCRRequest, SmartStructuralProRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, SmartStructuralOCRV2Response, EnterpriseLicenseOCRRequest, QuestionSplitOCRResponse, TableOCRResponse, RecognizeStoreNameRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, RecognizeFormulaOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, RecognizeGeneralCardWarnRequest, RecognizeEncryptedIDCardOCRRequest, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RideHailingDriverLicenseOCRRequest, GeneralAccurateOCRResponse, QrcodeOCRRequest, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeMedicalInvoiceOCRResponse, RecognizeValidIDCardOCRRequest, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VinOCRRequest, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, TollInvoiceOCRRequest, LicensePlateOCRResponse, HKIDCardOCRResponse, RecognizeThaiIDCardOCRResponse, OrgCodeCertOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, VatInvoiceVerifyNewResponse, TaxiInvoiceOCRRequest, RecognizeContainerOCRRequest, TextDetectRequest, VatRollInvoiceOCRResponse, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, PropOwnerCertOCRRequest, ImageEnhancementResponse, PassportOCRResponse, VehicleRegCertOCRRequest, RecognizeTravelCardOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest,
|
2
|
+
import { RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, BankCardOCRRequest, SmartStructuralOCRResponse, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, FlightInvoiceOCRRequest, MLIDPassportOCRRequest, RecognizeGeneralTextImageWarnResponse, SmartStructuralOCRV2Request, TextDetectResponse, TollInvoiceOCRResponse, GetOCRTokenResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, ClassifyStoreNameRequest, InvoiceGeneralOCRRequest, QuestionSplitOCRRequest, HmtResidentPermitOCRResponse, EnterpriseLicenseOCRResponse, QuestionOCRResponse, InstitutionOCRResponse, DriverLicenseOCRRequest, SmartStructuralProRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, SmartStructuralOCRV2Response, EnterpriseLicenseOCRRequest, QuestionSplitOCRResponse, TableOCRResponse, RecognizeStoreNameRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, RecognizeFormulaOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, RecognizeGeneralCardWarnRequest, RecognizeEncryptedIDCardOCRRequest, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RideHailingDriverLicenseOCRRequest, GeneralAccurateOCRResponse, QrcodeOCRRequest, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeMedicalInvoiceOCRResponse, RecognizeValidIDCardOCRRequest, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VinOCRRequest, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, TollInvoiceOCRRequest, LicensePlateOCRResponse, HKIDCardOCRResponse, RecognizeThaiIDCardOCRResponse, OrgCodeCertOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, VatInvoiceVerifyNewResponse, TaxiInvoiceOCRRequest, RecognizeContainerOCRRequest, TextDetectRequest, VatRollInvoiceOCRResponse, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, PropOwnerCertOCRRequest, ImageEnhancementResponse, PassportOCRResponse, VehicleRegCertOCRRequest, RecognizeTravelCardOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest, GeneralEfficientOCRRequest, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, EnglishOCRRequest, RecognizeValidIDCardOCRResponse, IDCardOCRResponse, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, RecognizeFormulaOCRRequest, FlightInvoiceOCRResponse, VatInvoiceVerifyNewRequest, InstitutionOCRRequest, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, FinanBillSliceOCRRequest, RecognizeGeneralCardWarnResponse, ClassifyStoreNameResponse, VatRollInvoiceOCRRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, RecognizeHealthCodeOCRRequest, BankSlipOCRResponse, RecognizeEncryptedIDCardOCRResponse, VinOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, ShipInvoiceOCRResponse, RecognizeGeneralInvoiceResponse, QuestionOCRRequest, RecognizeMedicalInvoiceOCRRequest, InsuranceBillOCRResponse, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, MLIDPassportOCRResponse, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, HmtResidentPermitOCRRequest, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, GetOCRResultRequest, BusInvoiceOCRResponse, GetOCRResultResponse, MainlandPermitOCRResponse, MLIDCardOCRRequest, EnglishOCRResponse, RecognizeForeignPermanentResidentIdCardResponse, BusInvoiceOCRRequest, QuotaInvoiceOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, SmartStructuralProResponse, PermitOCRResponse, InsuranceBillOCRRequest, GeneralHandwritingOCRResponse, AdvertiseOCRResponse, VehicleLicenseOCRRequest, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, WaybillOCRRequest, RecognizeStoreNameResponse, GetOCRTokenRequest, RideHailingTransportLicenseOCRRequest, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, QuotaInvoiceOCRRequest, BankCardOCRResponse, TableOCRRequest, BusinessCardOCRRequest, FinanBillOCRRequest, RecognizeGeneralTextImageWarnRequest, RecognizeForeignPermanentResidentIdCardRequest, GeneralFastOCRResponse } from "./ocr_models";
|
3
3
|
/**
|
4
4
|
* ocr client
|
5
5
|
* @class
|
@@ -7,17 +7,117 @@ import { RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOC
|
|
7
7
|
export declare class Client extends TencentCloudCommon.AbstractClient {
|
8
8
|
constructor(clientConfig: TencentCloudCommon.ClientConfig);
|
9
9
|
/**
|
10
|
-
*
|
10
|
+
* 本接口支持病案首页、费用清单、结算单、医疗发票四种保险理赔单据的文本识别和结构化输出。
|
11
|
+
|
12
|
+
默认接口请求频率限制:1次/秒。
|
13
|
+
*/
|
14
|
+
InsuranceBillOCR(req: InsuranceBillOCRRequest, cb?: (error: string, rep: InsuranceBillOCRResponse) => void): Promise<InsuranceBillOCRResponse>;
|
15
|
+
/**
|
16
|
+
* 文本图像增强是面向文档类图片提供的图像增强处理能力,包括切边增强、图像矫正、阴影去除、摩尔纹去除等;可以有效优化文档类的图片质量,提升文字的清晰度。
|
17
|
+
|
18
|
+
默认接口请求频率限制:10次/秒。
|
19
|
+
*/
|
20
|
+
ImageEnhancement(req: ImageEnhancementRequest, cb?: (error: string, rep: ImageEnhancementResponse) => void): Promise<ImageEnhancementResponse>;
|
21
|
+
/**
|
22
|
+
* 试卷切题识别可将整页练习册、试卷或教辅中的题目进行自动切题,并识别出其中的文字内容和坐标位置。
|
11
23
|
|
12
24
|
默认接口请求频率限制:2次/秒。
|
13
25
|
*/
|
14
|
-
|
26
|
+
QuestionSplitOCR(req: QuestionSplitOCRRequest, cb?: (error: string, rep: QuestionSplitOCRResponse) => void): Promise<QuestionSplitOCRResponse>;
|
15
27
|
/**
|
16
|
-
*
|
28
|
+
* 本接口支持智能提取各类证照、票据、表单、合同等结构化场景的key:value字段信息,并支持提取表格信息的key:value组的结构化,灵活高效,适用于各类非标准材料的信息录入场景,点击[立即体验](https://ocrdemo.cloud.tencent.com/)。
|
17
29
|
|
18
30
|
默认接口请求频率限制:5次/秒。
|
19
31
|
*/
|
20
|
-
|
32
|
+
SmartStructuralOCRV2(req: SmartStructuralOCRV2Request, cb?: (error: string, rep: SmartStructuralOCRV2Response) => void): Promise<SmartStructuralOCRV2Response>;
|
33
|
+
/**
|
34
|
+
* 本接口支持智能化识别各类企业登记证书、许可证书、企业执照、三证合一类证书,结构化输出统一社会信用代码、公司名称、法定代表人、公司地址、注册资金、企业类型、经营范围、成立日期、有效期、开办资金、经费来源、举办单位等关键字段。
|
35
|
+
|
36
|
+
默认接口请求频率限制:5次/秒。
|
37
|
+
*/
|
38
|
+
EnterpriseLicenseOCR(req: EnterpriseLicenseOCRRequest, cb?: (error: string, rep: EnterpriseLicenseOCRResponse) => void): Promise<EnterpriseLicenseOCRResponse>;
|
39
|
+
/**
|
40
|
+
* 本接口支持中英文名片各字段的自动定位与识别,包含姓名、电话、手机号、邮箱、公司、部门、职位、网址、地址、QQ、微信、MSN等。
|
41
|
+
|
42
|
+
默认接口请求频率限制:10次/秒。
|
43
|
+
*/
|
44
|
+
BusinessCardOCR(req: BusinessCardOCRRequest, cb?: (error: string, rep: BusinessCardOCRResponse) => void): Promise<BusinessCardOCRResponse>;
|
45
|
+
/**
|
46
|
+
* 本接口支持网约车行程单关键字段的识别,包括行程起止日期、上车时间、起点、终点、里程、金额等字段。
|
47
|
+
|
48
|
+
默认接口请求频率限制:20次/秒。
|
49
|
+
*/
|
50
|
+
RecognizeOnlineTaxiItineraryOCR(req: RecognizeOnlineTaxiItineraryOCRRequest, cb?: (error: string, rep: RecognizeOnlineTaxiItineraryOCRResponse) => void): Promise<RecognizeOnlineTaxiItineraryOCRResponse>;
|
51
|
+
/**
|
52
|
+
* 本接口支持中国大陆居民二代身份证正反面所有字段的识别,包括姓名、性别、民族、出生日期、住址、公民身份证号、签发机关、有效期限,识别准确度达到99%以上。
|
53
|
+
|
54
|
+
另外,本接口还支持多种扩展能力,满足不同场景的需求。如身份证照片、人像照片的裁剪功能,同时具备8种告警功能,如下表所示。
|
55
|
+
|
56
|
+
<table style="width:650px">
|
57
|
+
<thead>
|
58
|
+
<tr>
|
59
|
+
<th width="150">扩展能力</th>
|
60
|
+
<th width="500">能力项</th>
|
61
|
+
</tr>
|
62
|
+
</thead>
|
63
|
+
<tbody>
|
64
|
+
<tr>
|
65
|
+
<td rowspan="2">裁剪功能</td>
|
66
|
+
<td>身份证照片裁剪(去掉证件外多余的边缘、自动矫正拍摄角度)</td>
|
67
|
+
</tr>
|
68
|
+
<tr>
|
69
|
+
<td>人像照片裁剪(自动抠取身份证头像区域)</td>
|
70
|
+
</tr>
|
71
|
+
<tr>
|
72
|
+
<td rowspan="9">告警功能</td>
|
73
|
+
<td>身份证有效日期不合法,即有效日期不符合5年、10年、20年、长期期限
|
74
|
+
|
75
|
+
</td>
|
76
|
+
</tr>
|
77
|
+
<tr>
|
78
|
+
<td>身份证边框不完整告警</td>
|
79
|
+
</tr>
|
80
|
+
<tr>
|
81
|
+
<td>身份证复印件告警</td>
|
82
|
+
</tr>
|
83
|
+
<tr>
|
84
|
+
<td>身份证翻拍告警</td>
|
85
|
+
</tr>
|
86
|
+
<tr>
|
87
|
+
<td>身份证框内遮挡告警</td>
|
88
|
+
</tr>
|
89
|
+
<tr>
|
90
|
+
<td>临时身份证告警</td>
|
91
|
+
</tr>
|
92
|
+
<tr>
|
93
|
+
<td>身份证疑似存在PS痕迹告警</td>
|
94
|
+
</tr>
|
95
|
+
<tr>
|
96
|
+
<td>图片模糊告警(可根据图片质量分数判断)</td>
|
97
|
+
</tr>
|
98
|
+
</tbody>
|
99
|
+
</table>
|
100
|
+
|
101
|
+
默认接口请求频率限制:20次/秒。
|
102
|
+
*/
|
103
|
+
IDCardOCR(req: IDCardOCRRequest, cb?: (error: string, rep: IDCardOCRResponse) => void): Promise<IDCardOCRResponse>;
|
104
|
+
/**
|
105
|
+
* 本接口支持过路过桥费发票关键字段的识别,包括发票代码、发票号码、日期、金额、入口、出口、时间、发票消费类型、高速标志等。
|
106
|
+
|
107
|
+
默认接口请求频率限制:5次/秒。
|
108
|
+
*/
|
109
|
+
TollInvoiceOCR(req: TollInvoiceOCRRequest, cb?: (error: string, rep: TollInvoiceOCRResponse) => void): Promise<TollInvoiceOCRResponse>;
|
110
|
+
/**
|
111
|
+
* 本接口支持马来西亚身份证识别,识别字段包括身份证号、姓名、性别、地址;具备身份证人像照片的裁剪功能和翻拍、复印件告警功能。
|
112
|
+
本接口暂未完全对外开放,如需咨询,请[联系商务](https://cloud.tencent.com/about/connect)
|
113
|
+
*/
|
114
|
+
MLIDCardOCR(req: MLIDCardOCRRequest, cb?: (error: string, rep: MLIDCardOCRResponse) => void): Promise<MLIDCardOCRResponse>;
|
115
|
+
/**
|
116
|
+
* 本接口支持增值税发票的准确性核验,您可以通过输入增值税发票的关键字段提供所需的验证信息,接口返回真实的票面相关信息,包括发票代码、发票号码、开票日期、金额、消费类型、购方名称、购方税号、销方名称、销方税号等多个常用字段。支持多种发票类型核验,包括增值税专用发票、增值税普通发票(含电子普通发票、卷式发票、通行费发票)、全电发票、机动车销售统一发票、货物运输业增值税专用发票、二手车销售统一发票、通用机打电子发票(广东和浙江)。
|
117
|
+
|
118
|
+
默认接口请求频率限制:20次/秒。
|
119
|
+
*/
|
120
|
+
VatInvoiceVerifyNew(req: VatInvoiceVerifyNewRequest, cb?: (error: string, rep: VatInvoiceVerifyNewResponse) => void): Promise<VatInvoiceVerifyNewResponse>;
|
21
121
|
/**
|
22
122
|
* 本接口支持条形码和二维码的识别(包括 DataMatrix 和 PDF417)。
|
23
123
|
|
@@ -90,11 +190,23 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
90
190
|
默认接口请求频率限制:10次/秒。
|
91
191
|
*/
|
92
192
|
GeneralAccurateOCR(req: GeneralAccurateOCRRequest, cb?: (error: string, rep: GeneralAccurateOCRResponse) => void): Promise<GeneralAccurateOCRResponse>;
|
193
|
+
/**
|
194
|
+
* 本接口支持机票行程单关键字段的识别,包括旅客姓名、有效身份证件号码、电子客票号码、验证码、填开单位、其他税费、燃油附加费、民航发展基金、保险费、销售单位代号、始发地、目的地、航班号、时间、日期、座位等级、承运人、发票消费类型、票价、合计金额、填开日期、国内国际标签、印刷序号、客票级别/类别、客票生效日期、有效期截止日期、免费行李等字段,支持航班信息多行明细输出。
|
195
|
+
|
196
|
+
默认接口请求频率限制:5次/秒。
|
197
|
+
*/
|
198
|
+
FlightInvoiceOCR(req: FlightInvoiceOCRRequest, cb?: (error: string, rep: FlightInvoiceOCRResponse) => void): Promise<FlightInvoiceOCRResponse>;
|
93
199
|
/**
|
94
200
|
* 本接口支持集装箱箱门信息识别,识别字段包括集装箱箱号、类型、总重量、有效承重、容量、自身重量,具备集装箱箱号、类型不完整或者不清晰的告警功能。
|
95
201
|
默认接口请求频率限制:5次/秒。
|
96
202
|
*/
|
97
203
|
RecognizeContainerOCR(req: RecognizeContainerOCRRequest, cb?: (error: string, rep: RecognizeContainerOCRResponse) => void): Promise<RecognizeContainerOCRResponse>;
|
204
|
+
/**
|
205
|
+
* 本接口支持中英文图片/PDF内常规表格、无线表格、多表格的检测和识别,返回每个单元格的文字内容,支持旋转的表格图片识别,且支持将识别结果保存为 Excel 格式。识别效果比表格识别V2更好,覆盖场景更加广泛,对表格难例场景,如无线表格、嵌套表格(有线表格中包含无线表格)的识别效果均优于表格识别V2。
|
206
|
+
|
207
|
+
默认接口请求频率限制:2次/秒。
|
208
|
+
*/
|
209
|
+
RecognizeTableAccurateOCR(req: RecognizeTableAccurateOCRRequest, cb?: (error: string, rep: RecognizeTableAccurateOCRResponse) => void): Promise<RecognizeTableAccurateOCRResponse>;
|
98
210
|
/**
|
99
211
|
* 身份证识别(安全加密版)接口实现了数据加密传输,能够有效防止个人身份证隐私信息不被窃取泄露。
|
100
212
|
|
@@ -150,6 +262,23 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
150
262
|
默认接口请求频率限制:20次/秒。
|
151
263
|
*/
|
152
264
|
RecognizeEncryptedIDCardOCR(req: RecognizeEncryptedIDCardOCRRequest, cb?: (error: string, rep: RecognizeEncryptedIDCardOCRResponse) => void): Promise<RecognizeEncryptedIDCardOCRResponse>;
|
265
|
+
/**
|
266
|
+
* 本接口支持多张、多类型票据的混合检测和自动分类,返回对应票据类型。目前已支持增值税发票、增值税发票(卷票)、定额发票、通用机打发票、购车发票、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票、酒店账单、客运限额发票、购物小票、完税证明共15种票据。
|
267
|
+
默认接口请求频率限制:5次/秒。
|
268
|
+
*/
|
269
|
+
MixedInvoiceDetect(req: MixedInvoiceDetectRequest, cb?: (error: string, rep: MixedInvoiceDetectResponse) => void): Promise<MixedInvoiceDetectResponse>;
|
270
|
+
/**
|
271
|
+
* 本接口支持国内机动车登记证书主要字段的结构化识别,包括机动车所有人、身份证明名称、号码、车辆型号、车辆识别代号、发动机号、制造厂名称等。
|
272
|
+
|
273
|
+
默认接口请求频率限制:5次/秒。
|
274
|
+
*/
|
275
|
+
VehicleRegCertOCR(req: VehicleRegCertOCRRequest, cb?: (error: string, rep: VehicleRegCertOCRResponse) => void): Promise<VehicleRegCertOCRResponse>;
|
276
|
+
/**
|
277
|
+
* 本接口支持识别轮船票的发票代码、发票号码、日期、姓名、票价、始发地、目的地、姓名、时间、发票消费类型、省、市、币种字段。
|
278
|
+
|
279
|
+
默认接口请求频率限制:5次/秒。
|
280
|
+
*/
|
281
|
+
ShipInvoiceOCR(req: ShipInvoiceOCRRequest, cb?: (error: string, rep: ShipInvoiceOCRResponse) => void): Promise<ShipInvoiceOCRResponse>;
|
153
282
|
/**
|
154
283
|
* 本接口用于识别门头照文字识别结果以及对应分类标签信息
|
155
284
|
默认接口请求频率限制:1次/秒
|
@@ -163,63 +292,65 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
163
292
|
*/
|
164
293
|
MLIDPassportOCR(req: MLIDPassportOCRRequest, cb?: (error: string, rep: MLIDPassportOCRResponse) => void): Promise<MLIDPassportOCRResponse>;
|
165
294
|
/**
|
166
|
-
*
|
295
|
+
* 本接口支持对增值税发票(卷票)关键字段的识别,包括的发票代码、合计金额(小写)、合计金额(大写)、开票日期、发票号码、购买方识别号、销售方识别号、校验码、销售方名称、购买方名称、发票消费类型、省、市、是否有公司印章、单价、金额、数量、服务类型、品名、种类等。
|
167
296
|
|
168
297
|
默认接口请求频率限制:5次/秒。
|
169
298
|
*/
|
170
|
-
|
299
|
+
VatRollInvoiceOCR(req: VatRollInvoiceOCRRequest, cb?: (error: string, rep: VatRollInvoiceOCRResponse) => void): Promise<VatRollInvoiceOCRResponse>;
|
171
300
|
/**
|
172
|
-
*
|
173
|
-
目前接口对合肥、成都、佛山三个城市的房产证版式识别较好。
|
301
|
+
* 本接口支持定额发票的发票号码、发票代码、金额(大小写)、发票消费类型、地区及是否有公司印章等关键字段的识别。
|
174
302
|
|
175
303
|
默认接口请求频率限制:5次/秒。
|
176
304
|
*/
|
177
|
-
|
305
|
+
QuotaInvoiceOCR(req: QuotaInvoiceOCRRequest, cb?: (error: string, rep: QuotaInvoiceOCRResponse) => void): Promise<QuotaInvoiceOCRResponse>;
|
178
306
|
/**
|
179
|
-
*
|
307
|
+
* 本接口支持市面上主流版式电子运单的识别,包括收件人和寄件人的姓名、电话、地址以及运单号等字段。
|
180
308
|
|
181
|
-
默认接口请求频率限制:
|
309
|
+
默认接口请求频率限制:10次/秒。
|
182
310
|
*/
|
183
|
-
|
311
|
+
WaybillOCR(req: WaybillOCRRequest, cb?: (error: string, rep: WaybillOCRResponse) => void): Promise<WaybillOCRResponse>;
|
184
312
|
/**
|
185
|
-
|
186
|
-
|
187
|
-
|
313
|
+
* 本接口支持图片内车辆识别代号(VIN)的检测和识别。
|
314
|
+
默认接口请求频率限制:10次/秒。
|
315
|
+
*/
|
316
|
+
VinOCR(req: VinOCRRequest, cb?: (error: string, rep: VinOCRResponse) => void): Promise<VinOCRResponse>;
|
188
317
|
/**
|
189
|
-
*
|
318
|
+
* 本接口支持图片中整体文字的检测和识别,返回文字框位置与文字内容。相比通用印刷体识别接口,识别速度更快。
|
190
319
|
|
191
|
-
默认接口请求频率限制:
|
320
|
+
默认接口请求频率限制:10次/秒。
|
192
321
|
*/
|
193
|
-
|
322
|
+
GeneralFastOCR(req: GeneralFastOCRRequest, cb?: (error: string, rep: GeneralFastOCRResponse) => void): Promise<GeneralFastOCRResponse>;
|
194
323
|
/**
|
195
|
-
*
|
324
|
+
* 本接口支持房产证关键字段的识别,包括房地产权利人、共有情况、登记时间、规划用途、房屋性质、房屋坐落等。
|
325
|
+
目前接口对合肥、成都、佛山三个城市的房产证版式识别较好。
|
196
326
|
|
197
|
-
默认接口请求频率限制:
|
327
|
+
默认接口请求频率限制:5次/秒。
|
198
328
|
*/
|
199
|
-
|
329
|
+
PropOwnerCertOCR(req: PropOwnerCertOCRRequest, cb?: (error: string, rep: PropOwnerCertOCRResponse) => void): Promise<PropOwnerCertOCRResponse>;
|
200
330
|
/**
|
201
|
-
*
|
331
|
+
* 本接口支持智能提取各类证照、票据、表单、合同等结构化场景的key:value字段信息,并支持提取表格信息的key:value组的结构化,灵活高效,适用于各类非标准材料的信息录入场景,点击[立即体验](https://ocrdemo.cloud.tencent.com/)。
|
202
332
|
|
203
333
|
默认接口请求频率限制:5次/秒。
|
204
334
|
*/
|
205
|
-
|
335
|
+
SmartStructuralPro(req: SmartStructuralProRequest, cb?: (error: string, rep: SmartStructuralProResponse) => void): Promise<SmartStructuralProResponse>;
|
206
336
|
/**
|
207
|
-
*
|
337
|
+
* 本接口支持快速精准识别营业执照上的字段,包括统一社会信用代码、公司名称、主体类型、法定代表人、注册资本、组成形式、成立日期、营业期限和经营范围等字段。
|
208
338
|
|
209
339
|
默认接口请求频率限制:10次/秒。
|
210
340
|
*/
|
211
|
-
|
341
|
+
BizLicenseOCR(req: BizLicenseOCRRequest, cb?: (error: string, rep: BizLicenseOCRResponse) => void): Promise<BizLicenseOCRResponse>;
|
212
342
|
/**
|
213
|
-
*
|
343
|
+
* 本接口支持图片内手写体文字的检测和识别,针对手写字体无规则、字迹潦草、模糊等特点进行了识别能力的增强。
|
214
344
|
|
215
|
-
默认接口请求频率限制:
|
345
|
+
默认接口请求频率限制:10次/秒。
|
216
346
|
*/
|
217
|
-
|
347
|
+
GeneralHandwritingOCR(req: GeneralHandwritingOCRRequest, cb?: (error: string, rep: GeneralHandwritingOCRResponse) => void): Promise<GeneralHandwritingOCRResponse>;
|
218
348
|
/**
|
219
|
-
*
|
220
|
-
|
349
|
+
* 题目识别是教育的基础OCR识别能力。可支持扫描、拍照场景的单题题目识别。接口支持印刷体文本、手写体文本及公式的OCR识别和坐标返回,此外,接口还可对题目中的配图位置进行检测并返回坐标位置。适用于智能批改等场景的题目内容识别作为检索输入。
|
350
|
+
|
351
|
+
默认接口请求频率限制:2次/秒。
|
221
352
|
*/
|
222
|
-
|
353
|
+
QuestionOCR(req: QuestionOCRRequest, cb?: (error: string, rep: QuestionOCRResponse) => void): Promise<QuestionOCRResponse>;
|
223
354
|
/**
|
224
355
|
* 本接口支持出租车发票关键字段的识别,包括发票号码、发票代码、金额、日期、上下车时间、里程、车牌号、发票类型及所属地区等字段。
|
225
356
|
|
@@ -227,21 +358,45 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
227
358
|
*/
|
228
359
|
TaxiInvoiceOCR(req: TaxiInvoiceOCRRequest, cb?: (error: string, rep: TaxiInvoiceOCRResponse) => void): Promise<TaxiInvoiceOCRResponse>;
|
229
360
|
/**
|
230
|
-
*
|
361
|
+
* 本接口支持对通用机打发票的发票代码、发票号码、日期、合计金额(小写)、合计金额(大写)、购买方识别号、销售方识别号、校验码、购买方名称、销售方名称、时间、种类、发票消费类型、省、市、是否有公司印章、发票名称、购买方地址、电话、销售方地址、电话、购买方开户行及账号、销售方开户行及账号、经办人取票用户、经办人支付信息、经办人商户号、经办人订单号、货物或应税劳务、服务名称、数量、单价、税率、税额、金额、单位、规格型号、合计税额、合计金额、备注、收款人、复核、开票人、密码区、行业分类等字段的识别。
|
231
362
|
|
232
363
|
默认接口请求频率限制:5次/秒。
|
233
364
|
*/
|
234
|
-
|
365
|
+
InvoiceGeneralOCR(req: InvoiceGeneralOCRRequest, cb?: (error: string, rep: InvoiceGeneralOCRResponse) => void): Promise<InvoiceGeneralOCRResponse>;
|
235
366
|
/**
|
236
|
-
|
367
|
+
* 医疗发票识别目前支持全国统一门诊发票、全国统一住院发票、以及部分地方的门诊和住院发票的识别。
|
368
|
+
|
369
|
+
默认接口请求频率限制:5次/秒。
|
370
|
+
*/
|
371
|
+
RecognizeMedicalInvoiceOCR(req: RecognizeMedicalInvoiceOCRRequest, cb?: (error: string, rep: RecognizeMedicalInvoiceOCRResponse) => void): Promise<RecognizeMedicalInvoiceOCRResponse>;
|
372
|
+
/**
|
373
|
+
* 获取ocr结果
|
237
374
|
*/
|
238
|
-
|
375
|
+
GetOCRResult(req: GetOCRResultRequest, cb?: (error: string, rep: GetOCRResultResponse) => void): Promise<GetOCRResultResponse>;
|
239
376
|
/**
|
240
|
-
*
|
377
|
+
* 本接口支持中国香港身份证人像面中关键字段的识别,包括中文姓名、英文姓名、姓名电码、出生日期、性别、证件符号、首次签发日期、最近领用日期、身份证号、是否是永久性居民身份证;具备人像照片裁剪等扩展功能。
|
241
378
|
|
242
|
-
默认接口请求频率限制:
|
379
|
+
默认接口请求频率限制:5次/秒。
|
243
380
|
*/
|
244
|
-
|
381
|
+
HKIDCardOCR(req: HKIDCardOCRRequest, cb?: (error: string, rep: HKIDCardOCRResponse) => void): Promise<HKIDCardOCRResponse>;
|
382
|
+
/**
|
383
|
+
* 本接口支持中英文图片/ PDF内常规表格、无线表格、多表格的检测和识别,支持日文有线表格识别,返回每个单元格的文字内容,支持旋转的表格图片识别,且支持将识别结果保存为 Excel 格式。
|
384
|
+
|
385
|
+
默认接口请求频率限制:10次/秒。
|
386
|
+
*/
|
387
|
+
RecognizeTableOCR(req: RecognizeTableOCRRequest, cb?: (error: string, rep: RecognizeTableOCRResponse) => void): Promise<RecognizeTableOCRResponse>;
|
388
|
+
/**
|
389
|
+
* 支持通用证照的有效性检测告警,包括卡证复印件告警、卡证翻拍告警等功能,支持通用证照的ps伪造检测,可以应用于各种证件信息有效性校验场景。
|
390
|
+
|
391
|
+
默认接口请求频率限制:5次/秒。
|
392
|
+
*/
|
393
|
+
RecognizeGeneralCardWarn(req: RecognizeGeneralCardWarnRequest, cb?: (error: string, rep: RecognizeGeneralCardWarnResponse) => void): Promise<RecognizeGeneralCardWarnResponse>;
|
394
|
+
/**
|
395
|
+
* 本接口支持对完税证明的税号、纳税人识别号、纳税人名称、金额合计大写、金额合计小写、填发日期、税务机关、填票人等关键字段的识别。
|
396
|
+
|
397
|
+
默认接口请求频率限制:5次/秒。
|
398
|
+
*/
|
399
|
+
DutyPaidProofOCR(req: DutyPaidProofOCRRequest, cb?: (error: string, rep: DutyPaidProofOCRResponse) => void): Promise<DutyPaidProofOCRResponse>;
|
245
400
|
/**
|
246
401
|
* 本接口支持图像整体文字的检测和识别。可以识别中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语,阿拉伯语20种语言,且各种语言均支持与英文混合的文字识别。
|
247
402
|
|
@@ -309,249 +464,87 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
309
464
|
*/
|
310
465
|
GeneralBasicOCR(req: GeneralBasicOCRRequest, cb?: (error: string, rep: GeneralBasicOCRResponse) => void): Promise<GeneralBasicOCRResponse>;
|
311
466
|
/**
|
312
|
-
*
|
313
|
-
本接口暂未完全对外开放,如需咨询,请[联系商务](https://cloud.tencent.com/about/connect)
|
467
|
+
* 本接口支持对卡式港澳台通行证的识别,包括签发地点、签发机关、有效期限、性别、出生日期、英文姓名、姓名、证件号等字段。
|
314
468
|
|
315
|
-
默认接口请求频率限制:10
|
469
|
+
默认接口请求频率限制:10次/秒。
|
316
470
|
*/
|
317
|
-
|
471
|
+
PermitOCR(req: PermitOCRRequest, cb?: (error: string, rep: PermitOCRResponse) => void): Promise<PermitOCRResponse>;
|
318
472
|
/**
|
319
|
-
*
|
473
|
+
* 本接口支持组织机构代码证关键字段的识别,包括代码、有效期、地址、机构名称等。
|
320
474
|
|
321
475
|
默认接口请求频率限制:5次/秒。
|
476
|
+
*/
|
477
|
+
OrgCodeCertOCR(req: OrgCodeCertOCRRequest, cb?: (error: string, rep: OrgCodeCertOCRResponse) => void): Promise<OrgCodeCertOCRResponse>;
|
478
|
+
/**
|
479
|
+
* 本接口通过检测图片中的文字信息特征,快速判断图片中有无文字并返回判断结果,帮助用户过滤无文字的图片。
|
322
480
|
|
481
|
+
默认接口请求频率限制:5次/秒。
|
482
|
+
*/
|
483
|
+
TextDetect(req: TextDetectRequest, cb?: (error: string, rep: TextDetectResponse) => void): Promise<TextDetectResponse>;
|
484
|
+
/**
|
485
|
+
* 本接口支持常见银行票据的自动分类和识别。切片识别包括金融行业常见票据的重要切片字段识别,包括金额、账号、日期、凭证号码等。(金融票据切片:金融票据中待识别字段及其周围局部区域的裁剪图像。)
|
323
486
|
|
324
|
-
|
325
|
-
<table style="width:715px">
|
326
|
-
<thead>
|
327
|
-
<tr>
|
328
|
-
<th style="width:200px">SubType 子票种英文</th>
|
329
|
-
<th style="width:200px">TypeDescription子票种中文</th>
|
330
|
-
<th >Type 所属大类票种</th>
|
331
|
-
</tr>
|
332
|
-
</thead>
|
333
|
-
<tbody>
|
334
|
-
<tr>
|
335
|
-
<td> VatSpecialInvoice</td>
|
336
|
-
<td> 增值税专用发票 </td>
|
337
|
-
<td> 3 </td>
|
338
|
-
</tr>
|
339
|
-
<tr>
|
340
|
-
<td> VatCommonInvoice</td>
|
341
|
-
<td> 增值税普通发票 </td>
|
342
|
-
<td> 3 </td>
|
343
|
-
</tr>
|
344
|
-
<tr>
|
345
|
-
<td> VatElectronicCommonInvoice </td>
|
346
|
-
<td> 增值税电子普通发票 </td>
|
347
|
-
<td> 3 </td>
|
348
|
-
</tr>
|
349
|
-
<tr>
|
350
|
-
<td> VatElectronicSpecialInvoice </td>
|
351
|
-
<td> 增值税电子专用发票 </td>
|
352
|
-
<td> 3 </td>
|
353
|
-
</tr>
|
354
|
-
<tr>
|
355
|
-
<td> VatElectronicInvoiceBlockchain</td>
|
356
|
-
<td> 区块链电子发票 </td>
|
357
|
-
<td> 3 </td>
|
358
|
-
</tr>
|
359
|
-
<tr>
|
360
|
-
<td> VatElectronicInvoiceToll</td>
|
361
|
-
<td> 增值税电子普通发票(通行费)</td>
|
362
|
-
<td> 3 </td>
|
363
|
-
</tr>
|
364
|
-
<tr>
|
365
|
-
<td> VatSalesList</td>
|
366
|
-
<td> 增值税销货清单</td>
|
367
|
-
<td> 3 </td>
|
368
|
-
</tr>
|
369
|
-
<tr>
|
370
|
-
<td> VatElectronicSpecialInvoiceFull</td>
|
371
|
-
<td> 电子发票(专用发票)</td>
|
372
|
-
<td> 16 </td>
|
373
|
-
</tr>
|
374
|
-
<tr>
|
375
|
-
<td> VatElectronicInvoiceFull</td>
|
376
|
-
<td> 电子发票(普通发票) </td>
|
377
|
-
<td> 16 </td>
|
378
|
-
</tr>
|
379
|
-
<tr>
|
380
|
-
<td> ElectronicFlightTicketFull</td>
|
381
|
-
<td> 电子发票(机票行程单)</td>
|
382
|
-
<td> 16 </td>
|
383
|
-
</tr>
|
384
|
-
<tr>
|
385
|
-
<td> ElectronicTrainTicketFull</td>
|
386
|
-
<td> 电子发票(铁路电子客票)</td>
|
387
|
-
<td> 16 </td>
|
388
|
-
</tr>
|
389
|
-
<tr>
|
390
|
-
<td> MotorVehicleSaleInvoice </td>
|
391
|
-
<td> 机动车销售统一发票 </td>
|
392
|
-
<td> 12 </td>
|
393
|
-
</tr>
|
394
|
-
<tr>
|
395
|
-
<td> UsedCarPurchaseInvoice </td>
|
396
|
-
<td> 二手车销售统一发票 </td>
|
397
|
-
<td> 12 </td>
|
398
|
-
</tr>
|
399
|
-
<tr>
|
400
|
-
<td> VatInvoiceRoll </td>
|
401
|
-
<td> 增值税普通发票(卷票) </td>
|
402
|
-
<td> 11 </td>
|
403
|
-
</tr>
|
404
|
-
<tr>
|
405
|
-
<td> TaxiTicket </td>
|
406
|
-
<td> 出租车发票 </td>
|
407
|
-
<td> 0 </td>
|
408
|
-
</tr>
|
409
|
-
<tr>
|
410
|
-
<td> QuotaInvoice </td>
|
411
|
-
<td> 定额发票 </td>
|
412
|
-
<td> 1 </td>
|
413
|
-
</tr>
|
414
|
-
<tr>
|
415
|
-
<td> TrainTicket </td>
|
416
|
-
<td> 火车票 </td>
|
417
|
-
<td> 2 </td>
|
418
|
-
</tr>
|
419
|
-
<tr>
|
420
|
-
<td> AirTransport </td>
|
421
|
-
<td> 机票行程单 </td>
|
422
|
-
<td> 5 </td>
|
423
|
-
</tr>
|
424
|
-
<tr>
|
425
|
-
<td> MachinePrintedInvoice </td>
|
426
|
-
<td> 通用机打发票 </td>
|
427
|
-
<td> 8 </td>
|
428
|
-
</tr>
|
429
|
-
<tr>
|
430
|
-
<td> BusInvoice </td>
|
431
|
-
<td> 汽车票 </td>
|
432
|
-
<td> 9 </td>
|
433
|
-
</tr>
|
434
|
-
<tr>
|
435
|
-
<td> ShippingInvoice </td>
|
436
|
-
<td> 轮船票 </td>
|
437
|
-
<td> 10 </td>
|
438
|
-
</tr>
|
439
|
-
<tr>
|
440
|
-
<td> NonTaxIncomeGeneralBill </td>
|
441
|
-
<td> 非税收入通用票据 </td>
|
442
|
-
<td> 15 </td>
|
443
|
-
</tr>
|
444
|
-
<tr>
|
445
|
-
<td> NonTaxIncomeElectronicBill </td>
|
446
|
-
<td> 非税收入一般缴款书(电子) </td>
|
447
|
-
<td> 15 </td>
|
448
|
-
</tr>
|
449
|
-
<tr>
|
450
|
-
<td> TollInvoice </td>
|
451
|
-
<td> 过路过桥费发票 </td>
|
452
|
-
<td> 13 </td>
|
453
|
-
</tr>
|
454
|
-
<tr>
|
455
|
-
<td> MedicalOutpatientInvoice </td>
|
456
|
-
<td> 医疗门诊收费票据(电子) </td>
|
457
|
-
<td> 17 </td>
|
458
|
-
</tr>
|
459
|
-
<tr>
|
460
|
-
<td> MedicalHospitalizedInvoice </td>
|
461
|
-
<td> 医疗住院收费票据(电子) </td>
|
462
|
-
<td> 17 </td>
|
463
|
-
</tr>
|
464
|
-
<tr>
|
465
|
-
<td> TaxPayment </td>
|
466
|
-
<td> 完税凭证 </td>
|
467
|
-
<td> 18 </td>
|
468
|
-
</tr>
|
469
|
-
<tr>
|
470
|
-
<td> CustomsPaymentReceipt </td>
|
471
|
-
<td> 海关缴款 </td>
|
472
|
-
<td> 19 </td>
|
473
|
-
</tr>
|
474
|
-
<tr>
|
475
|
-
<td> BankSlip </td>
|
476
|
-
<td> 银行回单 </td>
|
477
|
-
<td> 20 </td>
|
478
|
-
</tr>
|
479
|
-
<tr>
|
480
|
-
<td> OtherInvoice </td>
|
481
|
-
<td> 其他发票 </td>
|
482
|
-
<td> -1 </td>
|
483
|
-
</tr>
|
484
|
-
</tbody>
|
485
|
-
</table>
|
486
|
-
*/
|
487
|
-
RecognizeGeneralInvoice(req: RecognizeGeneralInvoiceRequest, cb?: (error: string, rep: RecognizeGeneralInvoiceResponse) => void): Promise<RecognizeGeneralInvoiceResponse>;
|
488
|
-
/**
|
489
|
-
* 本接口支持病案首页、费用清单、结算单、医疗发票四种保险理赔单据的文本识别和结构化输出。
|
490
|
-
|
491
|
-
默认接口请求频率限制:1次/秒。
|
487
|
+
默认接口请求频率限制:5次/秒。
|
492
488
|
*/
|
493
|
-
|
489
|
+
FinanBillSliceOCR(req: FinanBillSliceOCRRequest, cb?: (error: string, rep: FinanBillSliceOCRResponse) => void): Promise<FinanBillSliceOCRResponse>;
|
494
490
|
/**
|
495
|
-
*
|
491
|
+
* 本接口支持识别公路汽车客票关键字段的识别,包括发票代码、发票号码、日期、票价、始发地、目的地、姓名、时间、发票消费类型、身份证号、省、市、开票日期、乘车地点、检票口、客票类型、车型、座位号、车次等。
|
496
492
|
|
497
|
-
默认接口请求频率限制:
|
498
|
-
*/
|
499
|
-
VatInvoiceVerifyNew(req: VatInvoiceVerifyNewRequest, cb?: (error: string, rep: VatInvoiceVerifyNewResponse) => void): Promise<VatInvoiceVerifyNewResponse>;
|
500
|
-
/**
|
501
|
-
* 本接口支持图片内车辆识别代号(VIN)的检测和识别。
|
502
|
-
默认接口请求频率限制:10次/秒。
|
493
|
+
默认接口请求频率限制:5次/秒。
|
503
494
|
*/
|
504
|
-
|
495
|
+
BusInvoiceOCR(req: BusInvoiceOCRRequest, cb?: (error: string, rep: BusInvoiceOCRResponse) => void): Promise<BusInvoiceOCRResponse>;
|
505
496
|
/**
|
506
|
-
*
|
507
|
-
|
508
|
-
行驶证主页:车牌号码、车辆类型、所有人、住址、使用性质、品牌型号、识别代码、发动机号、注册日期、发证日期、发证单位。
|
509
|
-
|
510
|
-
行驶证副页:号牌号码、档案编号、核定载人数、总质量、整备质量、核定载质量、外廓尺寸、准牵引总质量、备注、检验记录。
|
497
|
+
* <b>此接口为表格识别的旧版本服务,不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/49525">新版表格识别</a>。</b>
|
511
498
|
|
512
|
-
|
499
|
+
本接口支持图片内表格文档的检测和识别,返回每个单元格的文字内容,支持将识别结果保存为 Excel 格式。
|
513
500
|
|
514
501
|
默认接口请求频率限制:10次/秒。
|
515
502
|
*/
|
516
|
-
|
503
|
+
TableOCR(req: TableOCRRequest, cb?: (error: string, rep: TableOCRResponse) => void): Promise<TableOCRResponse>;
|
517
504
|
/**
|
518
|
-
*
|
505
|
+
* 本接口支持增值税专用发票、增值税普通发票、增值税电子专票、增值税电子普票、电子发票(普通发票)、电子发票(增值税专用发票)全字段的内容检测和识别,包括发票代码、发票号码、打印发票代码、打印发票号码、开票日期、合计金额、校验码、税率、合计税额、价税合计、购买方识别号、复核、销售方识别号、开票人、密码区1、密码区2、密码区3、密码区4、发票名称、购买方名称、销售方名称、服务名称、备注、规格型号、数量、单价、金额、税额、收款人等字段,点击[立即试用](https://cloud.tencent.com/product/ocr)。
|
519
506
|
|
520
507
|
默认接口请求频率限制:10次/秒。
|
521
508
|
*/
|
522
|
-
|
509
|
+
VatInvoiceOCR(req: VatInvoiceOCRRequest, cb?: (error: string, rep: VatInvoiceOCRResponse) => void): Promise<VatInvoiceOCRResponse>;
|
523
510
|
/**
|
524
|
-
|
511
|
+
* 外国人永久居留身份证识别
|
512
|
+
*/
|
513
|
+
RecognizeForeignPermanentResidentIdCard(req: RecognizeForeignPermanentResidentIdCardRequest, cb?: (error: string, rep: RecognizeForeignPermanentResidentIdCardResponse) => void): Promise<RecognizeForeignPermanentResidentIdCardResponse>;
|
514
|
+
/**
|
515
|
+
* 本接口支持网约车驾驶证关键字段的识别,包括姓名、证号、起始日期、截止日期、发证日期。
|
525
516
|
|
526
517
|
默认接口请求频率限制:5次/秒。
|
527
518
|
*/
|
528
|
-
|
519
|
+
RideHailingDriverLicenseOCR(req: RideHailingDriverLicenseOCRRequest, cb?: (error: string, rep: RideHailingDriverLicenseOCRResponse) => void): Promise<RideHailingDriverLicenseOCRResponse>;
|
529
520
|
/**
|
530
|
-
*
|
521
|
+
* 港澳台居住证OCR支持港澳台居住证正反面全字段内容检测识别功能,包括姓名、性别、出生日期、地址、身份证号、签发机关、有效期限、签发次数、通行证号码关键字段识别。可以应用于港澳台居住证信息识别场景,例如银行开户、用户注册等。
|
531
522
|
|
532
|
-
默认接口请求频率限制:
|
523
|
+
默认接口请求频率限制:20次/秒。
|
533
524
|
*/
|
534
|
-
|
525
|
+
HmtResidentPermitOCR(req: HmtResidentPermitOCRRequest, cb?: (error: string, rep: HmtResidentPermitOCRResponse) => void): Promise<HmtResidentPermitOCRResponse>;
|
535
526
|
/**
|
536
|
-
|
527
|
+
* 本接口支持多种类型证件有效性检测告警,包括卡证复印件告警、卡证翻拍告警等功能。可以应用于各种证件信息有效性校验场景,例如银行开户、用户注册等场景。
|
528
|
+
*/
|
529
|
+
RecognizeGeneralTextImageWarn(req: RecognizeGeneralTextImageWarnRequest, cb?: (error: string, rep: RecognizeGeneralTextImageWarnResponse) => void): Promise<RecognizeGeneralTextImageWarnResponse>;
|
530
|
+
/**
|
531
|
+
* 本接口支持识别并提取各类证照、票据、表单、合同等结构化场景的字段信息。无需任何配置,灵活高效。适用于各类结构化信息录入场景。
|
537
532
|
|
538
533
|
默认接口请求频率限制:5次/秒。
|
539
534
|
*/
|
540
|
-
|
535
|
+
SmartStructuralOCR(req: SmartStructuralOCRRequest, cb?: (error: string, rep: SmartStructuralOCRResponse) => void): Promise<SmartStructuralOCRResponse>;
|
541
536
|
/**
|
542
|
-
*
|
543
|
-
|
544
|
-
本接口支持图片内表格文档的检测和识别,返回每个单元格的文字内容,支持将识别结果保存为 Excel 格式。
|
537
|
+
* 本接口支持作业算式题目的自动识别和判分,目前覆盖 K12 学力范围内的 11 种题型,包括加减乘除四则、加减乘除已知结果求运算因子、判断大小、约等于估算、带余数除法、分数四则运算、单位换算、竖式加减法、竖式乘除法、脱式计算和解方程,平均识别精度达到93%以上。
|
545
538
|
|
546
539
|
默认接口请求频率限制:10次/秒。
|
547
540
|
*/
|
548
|
-
|
541
|
+
ArithmeticOCR(req: ArithmeticOCRRequest, cb?: (error: string, rep: ArithmeticOCRResponse) => void): Promise<ArithmeticOCRResponse>;
|
549
542
|
/**
|
550
|
-
*
|
543
|
+
* 本接口支持对中国大陆机动车车牌的自动定位和识别,返回地域编号和车牌号码与车牌颜色信息。
|
551
544
|
|
552
545
|
默认接口请求频率限制:10次/秒。
|
553
546
|
*/
|
554
|
-
|
547
|
+
LicensePlateOCR(req: LicensePlateOCRRequest, cb?: (error: string, rep: LicensePlateOCRResponse) => void): Promise<LicensePlateOCRResponse>;
|
555
548
|
/**
|
556
549
|
* 本接口支持不动产权证关键字段的识别,包括使用期限、面积、用途、权利性质、权利类型、坐落、共有情况、权利人、权利其他状况等。
|
557
550
|
|
@@ -559,207 +552,156 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
559
552
|
*/
|
560
553
|
EstateCertOCR(req: EstateCertOCRRequest, cb?: (error: string, rep: EstateCertOCRResponse) => void): Promise<EstateCertOCRResponse>;
|
561
554
|
/**
|
562
|
-
*
|
555
|
+
* 支持身份证、护照、名片、银行卡、行驶证、驾驶证、港澳台通行证、户口本、港澳台来往内地通行证、港澳台居住证、不动产证、营业执照的智能分类。
|
563
556
|
|
564
|
-
默认接口请求频率限制:
|
557
|
+
默认接口请求频率限制:20次/秒。
|
565
558
|
*/
|
566
|
-
|
559
|
+
ClassifyDetectOCR(req: ClassifyDetectOCRRequest, cb?: (error: string, rep: ClassifyDetectOCRResponse) => void): Promise<ClassifyDetectOCRResponse>;
|
567
560
|
/**
|
568
|
-
*
|
561
|
+
* 公式识别是教育的基础OCR识别能力,可支持理科(数学、物理、化学、生物)的印刷体和手写体的公式识别。
|
569
562
|
|
570
|
-
默认接口请求频率限制:
|
563
|
+
默认接口请求频率限制:2次/秒。
|
571
564
|
*/
|
572
|
-
|
573
|
-
/**
|
574
|
-
* 获取ocr的token值
|
575
|
-
*/
|
576
|
-
GetOCRToken(req: GetOCRTokenRequest, cb?: (error: string, rep: GetOCRTokenResponse) => void): Promise<GetOCRTokenResponse>;
|
565
|
+
RecognizeFormulaOCR(req: RecognizeFormulaOCRRequest, cb?: (error: string, rep: RecognizeFormulaOCRResponse) => void): Promise<RecognizeFormulaOCRResponse>;
|
577
566
|
/**
|
578
|
-
*
|
567
|
+
* 本接口支持各类印章主体内容、印章其他内容及形状识别,支持单图多印章识别,包括发票章、财务章等,适用于公文票据等场景。
|
579
568
|
|
580
569
|
默认接口请求频率限制:5次/秒。
|
581
570
|
*/
|
582
|
-
|
571
|
+
SealOCR(req: SealOCRRequest, cb?: (error: string, rep: SealOCRResponse) => void): Promise<SealOCRResponse>;
|
583
572
|
/**
|
584
|
-
*
|
585
|
-
|
586
|
-
默认接口请求频率限制:5次/秒。
|
573
|
+
* 本接口用于识别门头照分类标签信息
|
574
|
+
默认接口请求频率限制:1次/秒
|
587
575
|
*/
|
588
|
-
|
576
|
+
ClassifyStoreName(req: ClassifyStoreNameRequest, cb?: (error: string, rep: ClassifyStoreNameResponse) => void): Promise<ClassifyStoreNameResponse>;
|
589
577
|
/**
|
590
|
-
*
|
578
|
+
* 本接口支持银行回单全字段的识别,包括付款开户行、收款开户行、付款账号、收款账号、回单类型、回单编号、币种、流水号、凭证号码、交易机构、交易金额、手续费、日期等字段信息。
|
591
579
|
|
592
580
|
默认接口请求频率限制:10次/秒。
|
593
581
|
*/
|
594
|
-
|
582
|
+
BankSlipOCR(req: BankSlipOCRRequest, cb?: (error: string, rep: BankSlipOCRResponse) => void): Promise<BankSlipOCRResponse>;
|
595
583
|
/**
|
596
|
-
*
|
584
|
+
* 本接口支持图像整体文字的检测和识别。支持中文、英文、中英文、数字和特殊字符号的识别,并返回文字框位置和文字内容。
|
597
585
|
|
598
|
-
|
586
|
+
适用于快速文本识别场景。
|
599
587
|
|
600
|
-
|
601
|
-
|
588
|
+
产品优势:与通用印刷体识别接口相比,精简版虽然在准确率和召回率上有一定损失,但价格更加优惠。
|
589
|
+
|
590
|
+
通用印刷体识别不同版本的差异如下:
|
591
|
+
<table style="width:715px">
|
592
|
+
<thead>
|
602
593
|
<tr>
|
603
|
-
|
604
|
-
<th
|
594
|
+
<th style="width:150px"></th>
|
595
|
+
<th >通用印刷体识别(精简版)</th>
|
596
|
+
<th style="width:200px"><a href="https://cloud.tencent.com/document/product/866/33526">【荐】通用印刷体识别</a></th>
|
597
|
+
<th><a href="https://cloud.tencent.com/document/product/866/34937">【荐】通用印刷体识别(高精度版)</a></th>
|
605
598
|
</tr>
|
606
599
|
</thead>
|
607
600
|
<tbody>
|
608
601
|
<tr>
|
609
|
-
<td
|
610
|
-
<td
|
602
|
+
<td> 适用场景</td>
|
603
|
+
<td>适用于快速文本识别场景,准召率有一定损失,价格更优惠</td>
|
604
|
+
<td>适用于所有通用场景的印刷体识别</td>
|
605
|
+
<td>适用于文字较多、长串数字、小字、模糊字、倾斜文本等困难场景</td>
|
611
606
|
</tr>
|
612
607
|
<tr>
|
613
|
-
<td
|
608
|
+
<td>识别准确率</td>
|
609
|
+
<td>91%</td>
|
610
|
+
<td>96%</td>
|
611
|
+
<td>99%</td>
|
614
612
|
</tr>
|
615
613
|
<tr>
|
616
|
-
<td
|
617
|
-
<td
|
618
|
-
|
619
|
-
|
614
|
+
<td>价格</td>
|
615
|
+
<td>低</td>
|
616
|
+
<td>中</td>
|
617
|
+
<td>高</td>
|
620
618
|
</tr>
|
621
619
|
<tr>
|
622
|
-
<td
|
620
|
+
<td>支持的语言</td>
|
621
|
+
<td>中文、英文、中英文</td>
|
622
|
+
<td>中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语</td>
|
623
|
+
<td>中文、英文、中英文</td>
|
623
624
|
</tr>
|
624
625
|
<tr>
|
625
|
-
<td
|
626
|
+
<td>自动语言检测</td>
|
627
|
+
<td>支持</td>
|
628
|
+
<td>支持</td>
|
629
|
+
<td>支持</td>
|
626
630
|
</tr>
|
627
631
|
<tr>
|
628
|
-
<td
|
629
|
-
|
630
|
-
<
|
631
|
-
<td
|
632
|
-
</tr>
|
633
|
-
<tr>
|
634
|
-
<td>临时身份证告警</td>
|
635
|
-
</tr>
|
636
|
-
<tr>
|
637
|
-
<td>身份证疑似存在PS痕迹告警</td>
|
632
|
+
<td>返回文本行坐标</td>
|
633
|
+
<td>支持</td>
|
634
|
+
<td>支持</td>
|
635
|
+
<td>支持</td>
|
638
636
|
</tr>
|
639
|
-
|
640
|
-
<td
|
637
|
+
<tr>
|
638
|
+
<td>自动旋转纠正</td>
|
639
|
+
<td>支持旋转识别,返回角度信息</td>
|
640
|
+
<td>支持旋转识别,返回角度信息</td>
|
641
|
+
<td>支持旋转识别,返回角度信息</td>
|
641
642
|
</tr>
|
642
643
|
</tbody>
|
643
644
|
</table>
|
644
645
|
|
645
|
-
默认接口请求频率限制:
|
646
|
-
*/
|
647
|
-
IDCardOCR(req: IDCardOCRRequest, cb?: (error: string, rep: IDCardOCRResponse) => void): Promise<IDCardOCRResponse>;
|
648
|
-
/**
|
649
|
-
* 本接口支持多种类型证件有效性检测告警,包括卡证复印件告警、卡证翻拍告警等功能。可以应用于各种证件信息有效性校验场景,例如银行开户、用户注册等场景。
|
650
|
-
*/
|
651
|
-
RecognizeGeneralTextImageWarn(req: RecognizeGeneralTextImageWarnRequest, cb?: (error: string, rep: RecognizeGeneralTextImageWarnResponse) => void): Promise<RecognizeGeneralTextImageWarnResponse>;
|
652
|
-
/**
|
653
|
-
* 本接口支持事业单位法人证书关键字段识别,包括注册号、有效期、住所、名称、法定代表人等。
|
654
|
-
|
655
|
-
默认接口请求频率限制:5次/秒。
|
646
|
+
默认接口请求频率限制:10次/秒。
|
656
647
|
*/
|
657
|
-
|
648
|
+
GeneralEfficientOCR(req: GeneralEfficientOCRRequest, cb?: (error: string, rep: GeneralEfficientOCRResponse) => void): Promise<GeneralEfficientOCRResponse>;
|
658
649
|
/**
|
659
|
-
*
|
650
|
+
* 本接口支持广告商品图片内文字的检测和识别,返回文本框位置与文字内容。
|
660
651
|
|
661
|
-
|
662
|
-
*/
|
663
|
-
SmartStructuralOCRV2(req: SmartStructuralOCRV2Request, cb?: (error: string, rep: SmartStructuralOCRV2Response) => void): Promise<SmartStructuralOCRV2Response>;
|
664
|
-
/**
|
665
|
-
* 本接口支持中英文图片/PDF内常规表格、无线表格、多表格的检测和识别,返回每个单元格的文字内容,支持旋转的表格图片识别,且支持将识别结果保存为 Excel 格式。识别效果比表格识别V2更好,覆盖场景更加广泛,对表格难例场景,如无线表格、嵌套表格(有线表格中包含无线表格)的识别效果均优于表格识别V2。
|
652
|
+
产品优势:针对广告商品图片普遍存在较多繁体字、艺术字的特点,进行了识别能力的增强。支持中英文、横排、竖排以及倾斜场景文字识别。文字识别的召回率和准确率能达到96%以上。
|
666
653
|
|
667
|
-
默认接口请求频率限制:
|
668
|
-
*/
|
669
|
-
RecognizeTableAccurateOCR(req: RecognizeTableAccurateOCRRequest, cb?: (error: string, rep: RecognizeTableAccurateOCRResponse) => void): Promise<RecognizeTableAccurateOCRResponse>;
|
670
|
-
/**
|
671
|
-
* 本接口支持多张、多类型票据的混合检测和自动分类,返回对应票据类型。目前已支持增值税发票、增值税发票(卷票)、定额发票、通用机打发票、购车发票、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票、酒店账单、客运限额发票、购物小票、完税证明共15种票据。
|
672
|
-
默认接口请求频率限制:5次/秒。
|
654
|
+
默认接口请求频率限制:20次/秒。
|
673
655
|
*/
|
674
|
-
|
656
|
+
AdvertiseOCR(req: AdvertiseOCRRequest, cb?: (error: string, rep: AdvertiseOCRResponse) => void): Promise<AdvertiseOCRResponse>;
|
675
657
|
/**
|
676
|
-
*
|
658
|
+
* 本接口支持火车票全字段的识别,包括编号、出发站、到达站、出发时间、车次、座位号、姓名、票价、席别、身份证号、发票消费类型、序列号、加收票价、手续费、大写金额、售票站、原票价、发票类型、收据号码、是否仅供报销使用等字段的识别。
|
677
659
|
|
678
660
|
默认接口请求频率限制:5次/秒。
|
679
661
|
*/
|
680
|
-
|
662
|
+
TrainTicketOCR(req: TrainTicketOCRRequest, cb?: (error: string, rep: TrainTicketOCRResponse) => void): Promise<TrainTicketOCRResponse>;
|
681
663
|
/**
|
682
|
-
*
|
664
|
+
* 本接口支持居民户口簿户主页及成员页关键字段的识别,包括姓名、户别、地址、籍贯、身份证号码等。
|
683
665
|
|
684
666
|
默认接口请求频率限制:5次/秒。
|
685
667
|
*/
|
686
|
-
|
687
|
-
/**
|
688
|
-
* 本接口支持图片内手写体文字的检测和识别,针对手写字体无规则、字迹潦草、模糊等特点进行了识别能力的增强。
|
689
|
-
|
690
|
-
默认接口请求频率限制:10次/秒。
|
691
|
-
*/
|
692
|
-
GeneralHandwritingOCR(req: GeneralHandwritingOCRRequest, cb?: (error: string, rep: GeneralHandwritingOCRResponse) => void): Promise<GeneralHandwritingOCRResponse>;
|
693
|
-
/**
|
694
|
-
* 本接口支持网约车行程单关键字段的识别,包括行程起止日期、上车时间、起点、终点、里程、金额等字段。
|
695
|
-
|
696
|
-
默认接口请求频率限制:20次/秒。
|
697
|
-
*/
|
698
|
-
RecognizeOnlineTaxiItineraryOCR(req: RecognizeOnlineTaxiItineraryOCRRequest, cb?: (error: string, rep: RecognizeOnlineTaxiItineraryOCRResponse) => void): Promise<RecognizeOnlineTaxiItineraryOCRResponse>;
|
699
|
-
/**
|
700
|
-
* 本接口支持中英文图片/ PDF内常规表格、无线表格、多表格的检测和识别,支持日文有线表格识别,返回每个单元格的文字内容,支持旋转的表格图片识别,且支持将识别结果保存为 Excel 格式。
|
701
|
-
|
702
|
-
默认接口请求频率限制:10次/秒。
|
703
|
-
*/
|
704
|
-
RecognizeTableOCR(req: RecognizeTableOCRRequest, cb?: (error: string, rep: RecognizeTableOCRResponse) => void): Promise<RecognizeTableOCRResponse>;
|
705
|
-
/**
|
706
|
-
* 本接口支持市面上主流版式电子运单的识别,包括收件人和寄件人的姓名、电话、地址以及运单号等字段。
|
707
|
-
|
708
|
-
默认接口请求频率限制:10次/秒。
|
709
|
-
*/
|
710
|
-
WaybillOCR(req: WaybillOCRRequest, cb?: (error: string, rep: WaybillOCRResponse) => void): Promise<WaybillOCRResponse>;
|
668
|
+
ResidenceBookletOCR(req: ResidenceBookletOCRRequest, cb?: (error: string, rep: ResidenceBookletOCRResponse) => void): Promise<ResidenceBookletOCRResponse>;
|
711
669
|
/**
|
712
|
-
*
|
670
|
+
* 本接口支持通信大数据行程卡识别,包括行程卡颜色、更新时间、途经地、存在中高风险地区的城市、电话号码,五个字段的识别结果输出。
|
713
671
|
|
714
672
|
默认接口请求频率限制:20次/秒。
|
715
673
|
*/
|
716
|
-
|
674
|
+
RecognizeTravelCardOCR(req: RecognizeTravelCardOCRRequest, cb?: (error: string, rep: RecognizeTravelCardOCRResponse) => void): Promise<RecognizeTravelCardOCRResponse>;
|
717
675
|
/**
|
718
|
-
*
|
676
|
+
* 本接口支持事业单位法人证书关键字段识别,包括注册号、有效期、住所、名称、法定代表人等。
|
719
677
|
|
720
678
|
默认接口请求频率限制:5次/秒。
|
721
679
|
*/
|
722
|
-
|
723
|
-
/**
|
724
|
-
* 支持身份证、护照、名片、银行卡、行驶证、驾驶证、港澳台通行证、户口本、港澳台来往内地通行证、港澳台居住证、不动产证、营业执照的智能分类。
|
725
|
-
|
726
|
-
默认接口请求频率限制:20次/秒。
|
727
|
-
*/
|
728
|
-
ClassifyDetectOCR(req: ClassifyDetectOCRRequest, cb?: (error: string, rep: ClassifyDetectOCRResponse) => void): Promise<ClassifyDetectOCRResponse>;
|
680
|
+
InstitutionOCR(req: InstitutionOCRRequest, cb?: (error: string, rep: InstitutionOCRResponse) => void): Promise<InstitutionOCRResponse>;
|
729
681
|
/**
|
730
|
-
*
|
682
|
+
* 本接口支持图像英文文字的检测和识别,返回文字框位置与文字内容。支持多场景、任意版面下的英文、字母、数字和常见字符的识别,同时覆盖英文印刷体和英文手写体识别。
|
731
683
|
|
732
|
-
默认接口请求频率限制:
|
684
|
+
默认接口请求频率限制:10次/秒。
|
733
685
|
*/
|
734
|
-
|
686
|
+
EnglishOCR(req: EnglishOCRRequest, cb?: (error: string, rep: EnglishOCRResponse) => void): Promise<EnglishOCRResponse>;
|
735
687
|
/**
|
736
|
-
*
|
688
|
+
* 本接口支持二代身份证、临时身份证、港澳台居住证、外国人永久居留证,字段内容识别功能,包括姓名、性别、民族、出生、出生日期、住址、公民身份号码、签发机关、有效期限、国籍、通行证号码、持证人持有号码;支持返回证件类型;支持翻拍、复印、边框不完整、遮挡、字段级反光和字段级完整性告警;支持卡片主体框裁剪和头像裁剪。
|
737
689
|
|
738
690
|
默认接口请求频率限制:5次/秒。
|
739
691
|
*/
|
740
|
-
|
692
|
+
RecognizeValidIDCardOCR(req: RecognizeValidIDCardOCRRequest, cb?: (error: string, rep: RecognizeValidIDCardOCRResponse) => void): Promise<RecognizeValidIDCardOCRResponse>;
|
741
693
|
/**
|
742
|
-
*
|
694
|
+
* 本接口支持对中国大陆主流银行卡正反面关键字段的检测与识别,包括卡号、卡类型、卡名字、银行信息、有效期。支持竖排异形卡识别、多角度旋转图片识别。支持对复印件、翻拍件、边框遮挡的银行卡进行告警,可应用于各种银行卡信息有效性校验场景,如金融行业身份认证、第三方支付绑卡等场景。
|
743
695
|
|
744
696
|
默认接口请求频率限制:10次/秒。
|
745
697
|
*/
|
746
|
-
|
698
|
+
BankCardOCR(req: BankCardOCRRequest, cb?: (error: string, rep: BankCardOCRResponse) => void): Promise<BankCardOCRResponse>;
|
747
699
|
/**
|
748
|
-
*
|
700
|
+
* 本接口支持机动车销售统一发票和二手车销售统一发票的识别,包括发票号码、发票代码、合计金额、合计税额等二十多个字段。
|
749
701
|
|
750
702
|
默认接口请求频率限制:5次/秒。
|
751
703
|
*/
|
752
|
-
|
753
|
-
/**
|
754
|
-
* 本接口支持通信大数据行程卡识别,包括行程卡颜色、更新时间、途经地、存在中高风险地区的城市、电话号码,五个字段的识别结果输出。
|
755
|
-
|
756
|
-
默认接口请求频率限制:20次/秒。
|
757
|
-
*/
|
758
|
-
RecognizeTravelCardOCR(req: RecognizeTravelCardOCRRequest, cb?: (error: string, rep: RecognizeTravelCardOCRResponse) => void): Promise<RecognizeTravelCardOCRResponse>;
|
759
|
-
/**
|
760
|
-
* 本接口支持OFD格式的增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(铁路电子客票)、电子发票(航空运输电子客票行程单)识别,返回发票代码、发票号码、开票日期、验证码、机器编号、密码区,购买方和销售方信息,包括名称、纳税人识别号、地址电话、开户行及账号,以及价税合计、开票人、收款人、复核人、税额、不含税金额等字段信息。
|
761
|
-
*/
|
762
|
-
VerifyOfdVatInvoiceOCR(req: VerifyOfdVatInvoiceOCRRequest, cb?: (error: string, rep: VerifyOfdVatInvoiceOCRResponse) => void): Promise<VerifyOfdVatInvoiceOCRResponse>;
|
704
|
+
CarInvoiceOCR(req: CarInvoiceOCRRequest, cb?: (error: string, rep: CarInvoiceOCRResponse) => void): Promise<CarInvoiceOCRResponse>;
|
763
705
|
/**
|
764
706
|
* 本接口支持驾驶证主页和副页所有字段的自动定位与识别,重点字段的识别准确度达到99%以上。
|
765
707
|
|
@@ -775,194 +717,248 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
775
717
|
*/
|
776
718
|
DriverLicenseOCR(req: DriverLicenseOCRRequest, cb?: (error: string, rep: DriverLicenseOCRResponse) => void): Promise<DriverLicenseOCRResponse>;
|
777
719
|
/**
|
778
|
-
*
|
720
|
+
* 智能识别并结构化港澳台居民来往内地通行证正面全部字段,包含中文姓名、英文姓名、性别、出生日期、签发机关、有效期限、证件号、签发地点、签发次数、证件类别。
|
779
721
|
|
780
|
-
默认接口请求频率限制:
|
722
|
+
默认接口请求频率限制:20次/秒。
|
781
723
|
*/
|
782
|
-
|
724
|
+
MainlandPermitOCR(req: MainlandPermitOCRRequest, cb?: (error: string, rep: MainlandPermitOCRResponse) => void): Promise<MainlandPermitOCRResponse>;
|
783
725
|
/**
|
784
|
-
*
|
726
|
+
* 本接口支持识别主流初高中数学符号和公式,返回公式的 Latex 格式文本。
|
785
727
|
|
786
728
|
默认接口请求频率限制:5次/秒。
|
787
729
|
*/
|
788
|
-
|
730
|
+
FormulaOCR(req: FormulaOCRRequest, cb?: (error: string, rep: FormulaOCRResponse) => void): Promise<FormulaOCRResponse>;
|
789
731
|
/**
|
790
|
-
*
|
732
|
+
* 本接口支持中国大陆地区护照个人资料页多个字段的检测与识别。已支持字段包括英文姓名、中文姓名、国家码、护照号、出生地、出生日期、国籍英文、性别英文、有效期、签发地点英文、签发日期、持证人签名、护照机读码(MRZ码)等。
|
791
733
|
|
792
734
|
默认接口请求频率限制:10次/秒。
|
793
735
|
*/
|
794
|
-
|
736
|
+
PassportOCR(req: PassportOCRRequest, cb?: (error: string, rep: PassportOCRResponse) => void): Promise<PassportOCRResponse>;
|
795
737
|
/**
|
796
|
-
*
|
738
|
+
* 本接口支持常见银行票据的自动分类和识别。整单识别包括支票(含现金支票、普通支票、转账支票),承兑汇票(含银行承兑汇票、商业承兑汇票)以及进账单等,适用于中国人民银行印发的 2010 版银行票据凭证版式(银发[2010]299 号)。
|
797
739
|
|
798
|
-
默认接口请求频率限制:
|
740
|
+
默认接口请求频率限制:5次/秒。
|
799
741
|
*/
|
800
|
-
|
742
|
+
FinanBillOCR(req: FinanBillOCRRequest, cb?: (error: string, rep: FinanBillOCRResponse) => void): Promise<FinanBillOCRResponse>;
|
801
743
|
/**
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
*/
|
806
|
-
QuestionSplitOCR(req: QuestionSplitOCRRequest, cb?: (error: string, rep: QuestionSplitOCRResponse) => void): Promise<QuestionSplitOCRResponse>;
|
744
|
+
* 获取ocr的token值
|
745
|
+
*/
|
746
|
+
GetOCRToken(req: GetOCRTokenRequest, cb?: (error: string, rep: GetOCRTokenResponse) => void): Promise<GetOCRTokenResponse>;
|
807
747
|
/**
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
MLIDCardOCR(req: MLIDCardOCRRequest, cb?: (error: string, rep: MLIDCardOCRResponse) => void): Promise<MLIDCardOCRResponse>;
|
748
|
+
* 本接口支持OFD格式的增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(铁路电子客票)、电子发票(航空运输电子客票行程单)识别,返回发票代码、发票号码、开票日期、验证码、机器编号、密码区,购买方和销售方信息,包括名称、纳税人识别号、地址电话、开户行及账号,以及价税合计、开票人、收款人、复核人、税额、不含税金额等字段信息。
|
749
|
+
*/
|
750
|
+
VerifyOfdVatInvoiceOCR(req: VerifyOfdVatInvoiceOCRRequest, cb?: (error: string, rep: VerifyOfdVatInvoiceOCRResponse) => void): Promise<VerifyOfdVatInvoiceOCRResponse>;
|
812
751
|
/**
|
813
|
-
*
|
752
|
+
* 本接口支持 单张、多张、多类型 票据的混合识别,同时支持自选需要识别的票据类型,已支持票种包括:增值税发票(专票、普票、卷票)、全电发票、非税发票、定额发票、通用机打发票、购车发票、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票共14种标准报销发票,并支持其他类发票的识别。
|
814
753
|
|
815
754
|
默认接口请求频率限制:5次/秒。
|
816
755
|
*/
|
817
|
-
|
818
|
-
/**
|
819
|
-
* 本接口支持图片中整体文字的检测和识别,返回文字框位置与文字内容。相比通用印刷体识别接口,识别速度更快。
|
820
|
-
|
821
|
-
默认接口请求频率限制:10次/秒。
|
822
|
-
*/
|
823
|
-
GeneralFastOCR(req: GeneralFastOCRRequest, cb?: (error: string, rep: GeneralFastOCRResponse) => void): Promise<GeneralFastOCRResponse>;
|
756
|
+
MixedInvoiceOCR(req: MixedInvoiceOCRRequest, cb?: (error: string, rep: MixedInvoiceOCRResponse) => void): Promise<MixedInvoiceOCRResponse>;
|
824
757
|
/**
|
825
|
-
*
|
758
|
+
* 本接口支持北京、上海、广东、江苏、吉林、黑龙江、天津、辽宁、浙江、河南、四川、贵州、山东、安徽、福建、江西、湖北、湖南等省份健康码的识别,包括持码人姓名、持码人身份证号、健康码更新时间、健康码颜色、核酸检测结果、核酸检测间隔时长、核酸检测时间,疫苗接种信息,八个字段的识别结果输出。不同省市健康码显示的字段信息有所不同,上述字段的识别结果可能为空,以图片上具体展示的信息为准。
|
826
759
|
|
827
760
|
默认接口请求频率限制:10次/秒。
|
828
761
|
*/
|
829
|
-
|
830
|
-
/**
|
831
|
-
* 本接口支持对完税证明的税号、纳税人识别号、纳税人名称、金额合计大写、金额合计小写、填发日期、税务机关、填票人等关键字段的识别。
|
832
|
-
|
833
|
-
默认接口请求频率限制:5次/秒。
|
834
|
-
*/
|
835
|
-
DutyPaidProofOCR(req: DutyPaidProofOCRRequest, cb?: (error: string, rep: DutyPaidProofOCRResponse) => void): Promise<DutyPaidProofOCRResponse>;
|
762
|
+
RecognizeHealthCodeOCR(req: RecognizeHealthCodeOCRRequest, cb?: (error: string, rep: RecognizeHealthCodeOCRResponse) => void): Promise<RecognizeHealthCodeOCRResponse>;
|
836
763
|
/**
|
837
|
-
*
|
764
|
+
* 本接口支持数学试题内容的识别和结构化输出,包括通用文本解析和小学/初中/高中数学公式解析能力(包括91种题型,180种符号),公式返回格式为 Latex 格式文本。
|
838
765
|
|
839
766
|
默认接口请求频率限制:5次/秒。
|
840
767
|
*/
|
841
|
-
|
768
|
+
EduPaperOCR(req: EduPaperOCRRequest, cb?: (error: string, rep: EduPaperOCRResponse) => void): Promise<EduPaperOCRResponse>;
|
842
769
|
/**
|
843
|
-
*
|
770
|
+
* 本接口支持网约车运输证关键字段的识别,包括交运管许可字号、车辆所有人、车辆号牌、起始日期、截止日期、发证日期。
|
844
771
|
|
845
772
|
默认接口请求频率限制:5次/秒。
|
846
773
|
*/
|
847
|
-
|
774
|
+
RideHailingTransportLicenseOCR(req: RideHailingTransportLicenseOCRRequest, cb?: (error: string, rep: RideHailingTransportLicenseOCRResponse) => void): Promise<RideHailingTransportLicenseOCRResponse>;
|
848
775
|
/**
|
849
|
-
*
|
776
|
+
* 本接口支持泰国身份证识别,识别字段包括泰文姓名、英文姓名、地址、出生日期、身份证号码、首次领用日期、签发日期等字段。
|
777
|
+
本接口暂未完全对外开放,如需咨询,请[联系商务](https://cloud.tencent.com/about/connect)
|
850
778
|
|
851
|
-
默认接口请求频率限制:10
|
779
|
+
默认接口请求频率限制:10次/秒
|
852
780
|
*/
|
853
|
-
|
781
|
+
RecognizeThaiIDCardOCR(req: RecognizeThaiIDCardOCRRequest, cb?: (error: string, rep: RecognizeThaiIDCardOCRResponse) => void): Promise<RecognizeThaiIDCardOCRResponse>;
|
854
782
|
/**
|
855
|
-
*
|
783
|
+
* 本接口支持 PDF多页(最多30页)、一页中单张、多张、类型票据的混合识别,同时支持单选识别某类票据,已支持票种包括:增值税发票(专票、普票、卷票、区块链发票、通行费发票)、全电发票(专票、普票)、非税发票(通用票据、统一缴纳书)、定额发票、通用机打发票、购车发票(机动车销售发票、二手车发票)、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票等常用标准报销发票,支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(机票行程单)、电子发票(铁路电子客票)的第一页识别,并支持非上述类型的其他发票的智能识别,点击[立即试用](https://cloud.tencent.com/product/ocr)。
|
856
784
|
|
857
|
-
|
785
|
+
默认接口请求频率限制:5次/秒。
|
858
786
|
|
859
|
-
产品优势:与通用印刷体识别接口相比,精简版虽然在准确率和召回率上有一定损失,但价格更加优惠。
|
860
787
|
|
861
|
-
|
788
|
+
支持返回的细项目子票种SubType、子票种中文TypeDescription、以及对应所属大类票种Type 的说明如下列表:
|
862
789
|
<table style="width:715px">
|
863
790
|
<thead>
|
864
791
|
<tr>
|
865
|
-
<th style="width:
|
866
|
-
<th
|
867
|
-
<th
|
868
|
-
<th><a href="https://cloud.tencent.com/document/product/866/34937">【荐】通用印刷体识别(高精度版)</a></th>
|
792
|
+
<th style="width:200px">SubType 子票种英文</th>
|
793
|
+
<th style="width:200px">TypeDescription子票种中文</th>
|
794
|
+
<th >Type 所属大类票种</th>
|
869
795
|
</tr>
|
870
796
|
</thead>
|
871
797
|
<tbody>
|
872
798
|
<tr>
|
873
|
-
<td>
|
874
|
-
<td
|
875
|
-
<td
|
876
|
-
<td>适用于文字较多、长串数字、小字、模糊字、倾斜文本等困难场景</td>
|
799
|
+
<td> VatSpecialInvoice</td>
|
800
|
+
<td> 增值税专用发票 </td>
|
801
|
+
<td> 3 </td>
|
877
802
|
</tr>
|
878
803
|
<tr>
|
879
|
-
<td
|
880
|
-
<td>
|
881
|
-
<td>
|
882
|
-
<td>99%</td>
|
804
|
+
<td> VatCommonInvoice</td>
|
805
|
+
<td> 增值税普通发票 </td>
|
806
|
+
<td> 3 </td>
|
883
807
|
</tr>
|
884
808
|
<tr>
|
885
|
-
<td
|
886
|
-
<td
|
887
|
-
<td
|
888
|
-
<td>高</td>
|
809
|
+
<td> VatElectronicCommonInvoice </td>
|
810
|
+
<td> 增值税电子普通发票 </td>
|
811
|
+
<td> 3 </td>
|
889
812
|
</tr>
|
890
813
|
<tr>
|
891
|
-
<td
|
892
|
-
<td
|
893
|
-
<td
|
894
|
-
<td>中文、英文、中英文</td>
|
814
|
+
<td> VatElectronicSpecialInvoice </td>
|
815
|
+
<td> 增值税电子专用发票 </td>
|
816
|
+
<td> 3 </td>
|
895
817
|
</tr>
|
896
818
|
<tr>
|
897
|
-
<td
|
898
|
-
<td
|
899
|
-
<td
|
900
|
-
<td>支持</td>
|
819
|
+
<td> VatElectronicInvoiceBlockchain</td>
|
820
|
+
<td> 区块链电子发票 </td>
|
821
|
+
<td> 3 </td>
|
901
822
|
</tr>
|
902
823
|
<tr>
|
903
|
-
<td
|
904
|
-
<td
|
905
|
-
<td
|
906
|
-
<td>支持</td>
|
824
|
+
<td> VatElectronicInvoiceToll</td>
|
825
|
+
<td> 增值税电子普通发票(通行费)</td>
|
826
|
+
<td> 3 </td>
|
907
827
|
</tr>
|
908
828
|
<tr>
|
909
|
-
<td
|
910
|
-
<td
|
911
|
-
<td
|
912
|
-
|
829
|
+
<td> VatSalesList</td>
|
830
|
+
<td> 增值税销货清单</td>
|
831
|
+
<td> 3 </td>
|
832
|
+
</tr>
|
833
|
+
<tr>
|
834
|
+
<td> VatElectronicSpecialInvoiceFull</td>
|
835
|
+
<td> 电子发票(专用发票)</td>
|
836
|
+
<td> 16 </td>
|
837
|
+
</tr>
|
838
|
+
<tr>
|
839
|
+
<td> VatElectronicInvoiceFull</td>
|
840
|
+
<td> 电子发票(普通发票) </td>
|
841
|
+
<td> 16 </td>
|
842
|
+
</tr>
|
843
|
+
<tr>
|
844
|
+
<td> ElectronicFlightTicketFull</td>
|
845
|
+
<td> 电子发票(机票行程单)</td>
|
846
|
+
<td> 16 </td>
|
847
|
+
</tr>
|
848
|
+
<tr>
|
849
|
+
<td> ElectronicTrainTicketFull</td>
|
850
|
+
<td> 电子发票(铁路电子客票)</td>
|
851
|
+
<td> 16 </td>
|
852
|
+
</tr>
|
853
|
+
<tr>
|
854
|
+
<td> MotorVehicleSaleInvoice </td>
|
855
|
+
<td> 机动车销售统一发票 </td>
|
856
|
+
<td> 12 </td>
|
857
|
+
</tr>
|
858
|
+
<tr>
|
859
|
+
<td> UsedCarPurchaseInvoice </td>
|
860
|
+
<td> 二手车销售统一发票 </td>
|
861
|
+
<td> 12 </td>
|
862
|
+
</tr>
|
863
|
+
<tr>
|
864
|
+
<td> VatInvoiceRoll </td>
|
865
|
+
<td> 增值税普通发票(卷票) </td>
|
866
|
+
<td> 11 </td>
|
867
|
+
</tr>
|
868
|
+
<tr>
|
869
|
+
<td> TaxiTicket </td>
|
870
|
+
<td> 出租车发票 </td>
|
871
|
+
<td> 0 </td>
|
872
|
+
</tr>
|
873
|
+
<tr>
|
874
|
+
<td> QuotaInvoice </td>
|
875
|
+
<td> 定额发票 </td>
|
876
|
+
<td> 1 </td>
|
877
|
+
</tr>
|
878
|
+
<tr>
|
879
|
+
<td> TrainTicket </td>
|
880
|
+
<td> 火车票 </td>
|
881
|
+
<td> 2 </td>
|
882
|
+
</tr>
|
883
|
+
<tr>
|
884
|
+
<td> AirTransport </td>
|
885
|
+
<td> 机票行程单 </td>
|
886
|
+
<td> 5 </td>
|
887
|
+
</tr>
|
888
|
+
<tr>
|
889
|
+
<td> MachinePrintedInvoice </td>
|
890
|
+
<td> 通用机打发票 </td>
|
891
|
+
<td> 8 </td>
|
892
|
+
</tr>
|
893
|
+
<tr>
|
894
|
+
<td> BusInvoice </td>
|
895
|
+
<td> 汽车票 </td>
|
896
|
+
<td> 9 </td>
|
897
|
+
</tr>
|
898
|
+
<tr>
|
899
|
+
<td> ShippingInvoice </td>
|
900
|
+
<td> 轮船票 </td>
|
901
|
+
<td> 10 </td>
|
902
|
+
</tr>
|
903
|
+
<tr>
|
904
|
+
<td> NonTaxIncomeGeneralBill </td>
|
905
|
+
<td> 非税收入通用票据 </td>
|
906
|
+
<td> 15 </td>
|
907
|
+
</tr>
|
908
|
+
<tr>
|
909
|
+
<td> NonTaxIncomeElectronicBill </td>
|
910
|
+
<td> 非税收入一般缴款书(电子) </td>
|
911
|
+
<td> 15 </td>
|
912
|
+
</tr>
|
913
|
+
<tr>
|
914
|
+
<td> TollInvoice </td>
|
915
|
+
<td> 过路过桥费发票 </td>
|
916
|
+
<td> 13 </td>
|
917
|
+
</tr>
|
918
|
+
<tr>
|
919
|
+
<td> MedicalOutpatientInvoice </td>
|
920
|
+
<td> 医疗门诊收费票据(电子) </td>
|
921
|
+
<td> 17 </td>
|
922
|
+
</tr>
|
923
|
+
<tr>
|
924
|
+
<td> MedicalHospitalizedInvoice </td>
|
925
|
+
<td> 医疗住院收费票据(电子) </td>
|
926
|
+
<td> 17 </td>
|
927
|
+
</tr>
|
928
|
+
<tr>
|
929
|
+
<td> TaxPayment </td>
|
930
|
+
<td> 完税凭证 </td>
|
931
|
+
<td> 18 </td>
|
932
|
+
</tr>
|
933
|
+
<tr>
|
934
|
+
<td> CustomsPaymentReceipt </td>
|
935
|
+
<td> 海关缴款 </td>
|
936
|
+
<td> 19 </td>
|
937
|
+
</tr>
|
938
|
+
<tr>
|
939
|
+
<td> BankSlip </td>
|
940
|
+
<td> 银行回单 </td>
|
941
|
+
<td> 20 </td>
|
942
|
+
</tr>
|
943
|
+
<tr>
|
944
|
+
<td> OtherInvoice </td>
|
945
|
+
<td> 其他发票 </td>
|
946
|
+
<td> -1 </td>
|
913
947
|
</tr>
|
914
948
|
</tbody>
|
915
949
|
</table>
|
916
|
-
|
917
|
-
默认接口请求频率限制:10次/秒。
|
918
950
|
*/
|
919
|
-
|
920
|
-
/**
|
921
|
-
* 本接口支持广告商品图片内文字的检测和识别,返回文本框位置与文字内容。
|
922
|
-
|
923
|
-
产品优势:针对广告商品图片普遍存在较多繁体字、艺术字的特点,进行了识别能力的增强。支持中英文、横排、竖排以及倾斜场景文字识别。文字识别的召回率和准确率能达到96%以上。
|
924
|
-
|
925
|
-
默认接口请求频率限制:20次/秒。
|
926
|
-
*/
|
927
|
-
AdvertiseOCR(req: AdvertiseOCRRequest, cb?: (error: string, rep: AdvertiseOCRResponse) => void): Promise<AdvertiseOCRResponse>;
|
951
|
+
RecognizeGeneralInvoice(req: RecognizeGeneralInvoiceRequest, cb?: (error: string, rep: RecognizeGeneralInvoiceResponse) => void): Promise<RecognizeGeneralInvoiceResponse>;
|
928
952
|
/**
|
929
|
-
*
|
953
|
+
* 本接口支持行驶证主页和副页所有字段的自动定位与识别。
|
930
954
|
|
931
|
-
|
932
|
-
*/
|
933
|
-
VehicleRegCertOCR(req: VehicleRegCertOCRRequest, cb?: (error: string, rep: VehicleRegCertOCRResponse) => void): Promise<VehicleRegCertOCRResponse>;
|
934
|
-
/**
|
935
|
-
* 本接口支持机动车销售统一发票和二手车销售统一发票的识别,包括发票号码、发票代码、合计金额、合计税额等二十多个字段。
|
955
|
+
行驶证主页:车牌号码、车辆类型、所有人、住址、使用性质、品牌型号、识别代码、发动机号、注册日期、发证日期、发证单位。
|
936
956
|
|
937
|
-
|
938
|
-
*/
|
939
|
-
CarInvoiceOCR(req: CarInvoiceOCRRequest, cb?: (error: string, rep: CarInvoiceOCRResponse) => void): Promise<CarInvoiceOCRResponse>;
|
940
|
-
/**
|
941
|
-
* 获取ocr结果
|
942
|
-
*/
|
943
|
-
GetOCRResult(req: GetOCRResultRequest, cb?: (error: string, rep: GetOCRResultResponse) => void): Promise<GetOCRResultResponse>;
|
944
|
-
/**
|
945
|
-
* 本接口支持识别主流初高中数学符号和公式,返回公式的 Latex 格式文本。
|
957
|
+
行驶证副页:号牌号码、档案编号、核定载人数、总质量、整备质量、核定载质量、外廓尺寸、准牵引总质量、备注、检验记录。
|
946
958
|
|
947
|
-
|
948
|
-
*/
|
949
|
-
FormulaOCR(req: FormulaOCRRequest, cb?: (error: string, rep: FormulaOCRResponse) => void): Promise<FormulaOCRResponse>;
|
950
|
-
/**
|
951
|
-
* 本接口支持中国大陆地区护照个人资料页多个字段的检测与识别。已支持字段包括英文姓名、中文姓名、国家码、护照号、出生地、出生日期、国籍英文、性别英文、有效期、签发地点英文、签发日期、持证人签名、护照机读码(MRZ码)等。
|
959
|
+
另外,本接口还支持复印件、翻拍告警功能。
|
952
960
|
|
953
961
|
默认接口请求频率限制:10次/秒。
|
954
962
|
*/
|
955
|
-
|
956
|
-
/**
|
957
|
-
* 本接口支持识别轮船票的发票代码、发票号码、日期、姓名、票价、始发地、目的地、姓名、时间、发票消费类型、省、市、币种字段。
|
958
|
-
|
959
|
-
默认接口请求频率限制:5次/秒。
|
960
|
-
*/
|
961
|
-
ShipInvoiceOCR(req: ShipInvoiceOCRRequest, cb?: (error: string, rep: ShipInvoiceOCRResponse) => void): Promise<ShipInvoiceOCRResponse>;
|
962
|
-
/**
|
963
|
-
* 本接口支持网约车运输证关键字段的识别,包括交运管许可字号、车辆所有人、车辆号牌、起始日期、截止日期、发证日期。
|
964
|
-
|
965
|
-
默认接口请求频率限制:5次/秒。
|
966
|
-
*/
|
967
|
-
RideHailingTransportLicenseOCR(req: RideHailingTransportLicenseOCRRequest, cb?: (error: string, rep: RideHailingTransportLicenseOCRResponse) => void): Promise<RideHailingTransportLicenseOCRResponse>;
|
963
|
+
VehicleLicenseOCR(req: VehicleLicenseOCRRequest, cb?: (error: string, rep: VehicleLicenseOCRResponse) => void): Promise<VehicleLicenseOCRResponse>;
|
968
964
|
}
|