tencentcloud-sdk-nodejs-ocr 4.0.981 → 4.0.982
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.
- package/package.json +1 -1
- package/products.md +25 -25
- package/src/services/ocr/v20181119/ocr_client.ts +901 -992
- package/src/services/ocr/v20181119/ocr_models.ts +67 -592
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +530 -564
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +635 -683
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +56 -566
@@ -29,13 +29,11 @@ import {
|
|
29
29
|
ResidencePermitInfo,
|
30
30
|
BankCardOCRRequest,
|
31
31
|
CarInvoiceOCRRequest,
|
32
|
-
TextDetectionResult,
|
33
32
|
MixedInvoiceItem,
|
34
33
|
RecognizeTravelCardOCRRequest,
|
35
34
|
TrainTicketOCRRequest,
|
36
35
|
EstateCertOCRResponse,
|
37
36
|
FlightInvoiceOCRRequest,
|
38
|
-
RecognizePhilippinesDrivingLicenseOCRRequest,
|
39
37
|
WordItem,
|
40
38
|
MLIDPassportOCRRequest,
|
41
39
|
RecognizeGeneralTextImageWarnResponse,
|
@@ -55,7 +53,7 @@ import {
|
|
55
53
|
InvoiceGeneralOCRRequest,
|
56
54
|
Rect,
|
57
55
|
LicensePlateInfo,
|
58
|
-
|
56
|
+
SingleInvoiceInfo,
|
59
57
|
VatRollItem,
|
60
58
|
TextFormula,
|
61
59
|
HmtResidentPermitOCRResponse,
|
@@ -66,7 +64,6 @@ import {
|
|
66
64
|
Value,
|
67
65
|
EnterpriseLicenseOCRResponse,
|
68
66
|
RecognizeKoreanDrivingLicenseOCRResponse,
|
69
|
-
RecognizeIndonesiaIDCardOCRRequest,
|
70
67
|
RecognizeKoreanDrivingLicenseOCRRequest,
|
71
68
|
InvoiceGeneralInfo,
|
72
69
|
TextVatInvoice,
|
@@ -95,7 +92,6 @@ import {
|
|
95
92
|
PropOwnerCertOCRResponse,
|
96
93
|
FinanBillInfo,
|
97
94
|
TrainTicketOCRResponse,
|
98
|
-
RecognizePhilippinesTinIDOCRResponse,
|
99
95
|
TollInvoiceInfo,
|
100
96
|
BankSlipInfo,
|
101
97
|
SmartStructuralOCRResponse,
|
@@ -106,7 +102,7 @@ import {
|
|
106
102
|
GeneralHandwritingOCRRequest,
|
107
103
|
BizLicenseOCRRequest,
|
108
104
|
MixedInvoiceDetectResponse,
|
109
|
-
|
105
|
+
RideHailingDriverLicenseOCRRequest,
|
110
106
|
VatInvoiceUserInfo,
|
111
107
|
GeneralMachineItem,
|
112
108
|
GeneralAccurateOCRResponse,
|
@@ -125,7 +121,7 @@ import {
|
|
125
121
|
ClassifyDetectOCRResponse,
|
126
122
|
VatInvoiceVerifyNewRequest,
|
127
123
|
VehicleLicenseOCRResponse,
|
128
|
-
|
124
|
+
VatInvoiceOCRRequest,
|
129
125
|
Key,
|
130
126
|
ElectronicAirTransport,
|
131
127
|
ClassifyDetectOCRRequest,
|
@@ -145,11 +141,9 @@ import {
|
|
145
141
|
SmartFormFileUrl,
|
146
142
|
VatInvoiceVerifyNewResponse,
|
147
143
|
VatInvoiceInfo,
|
148
|
-
RecognizePhilippinesSssIDOCRResponse,
|
149
144
|
TaxiInvoiceOCRRequest,
|
150
145
|
MachinePrintedInvoice,
|
151
146
|
FinancialBillItem,
|
152
|
-
SingleInvoiceInfo,
|
153
147
|
RecognizeContainerOCRRequest,
|
154
148
|
TrainTicket,
|
155
149
|
TextDetectRequest,
|
@@ -169,7 +163,7 @@ import {
|
|
169
163
|
PassportOCRResponse,
|
170
164
|
FinancialBillItemDetails,
|
171
165
|
CardWarnInfo,
|
172
|
-
|
166
|
+
VehicleRegCertOCRRequest,
|
173
167
|
RecognizeTravelCardOCRResponse,
|
174
168
|
ElectronicAirTransportDetail,
|
175
169
|
FinancialBill,
|
@@ -177,10 +171,8 @@ import {
|
|
177
171
|
LicensePlateOCRRequest,
|
178
172
|
GeneralBasicOCRRequest,
|
179
173
|
TextVehicleBack,
|
180
|
-
RecognizeIndonesiaIDCardOCRResponse,
|
181
174
|
ReconstructDocumentResponse,
|
182
175
|
GeneralEfficientOCRRequest,
|
183
|
-
RecognizePhilippinesUMIDOCRResponse,
|
184
176
|
AdvertiseOCRRequest,
|
185
177
|
AirTicketInfo,
|
186
178
|
RideHailingDriverLicenseOCRResponse,
|
@@ -207,7 +199,6 @@ import {
|
|
207
199
|
AdvertiseTextDetection,
|
208
200
|
TextTable,
|
209
201
|
FinanBillSliceInfo,
|
210
|
-
RideHailingDriverLicenseOCRRequest,
|
211
202
|
Encryption,
|
212
203
|
ArithmeticOCRRequest,
|
213
204
|
NonTaxIncomeBill,
|
@@ -232,7 +223,6 @@ import {
|
|
232
223
|
EduPaperOCRRequest,
|
233
224
|
FormulaOCRRequest,
|
234
225
|
TextGeneralHandwriting,
|
235
|
-
RecognizePhilippinesVoteIDOCRRequest,
|
236
226
|
PassportOCRRequest,
|
237
227
|
DutyPaidProofOCRRequest,
|
238
228
|
RecognizeHealthCodeOCRResponse,
|
@@ -294,10 +284,8 @@ import {
|
|
294
284
|
MainlandTravelPermitBackInfos,
|
295
285
|
TableCell,
|
296
286
|
TableOCRResponse,
|
297
|
-
VehicleRegCertOCRRequest,
|
298
287
|
DetectedWordCoordPoint,
|
299
288
|
QuestionBlockObj,
|
300
|
-
RecognizeKoreanIDCardOCRRequest,
|
301
289
|
AdvertiseOCRResponse,
|
302
290
|
VehicleLicenseOCRRequest,
|
303
291
|
VatRollInvoiceInfo,
|
@@ -307,10 +295,8 @@ import {
|
|
307
295
|
WaybillOCRRequest,
|
308
296
|
ReconstructDocumentConfig,
|
309
297
|
VinOCRRequest,
|
310
|
-
|
311
|
-
RecognizePhilippinesUMIDOCRRequest,
|
298
|
+
RideHailingTransportLicenseOCRRequest,
|
312
299
|
MLIDCardOCRResponse,
|
313
|
-
RecognizePhilippinesTinIDOCRRequest,
|
314
300
|
RecognizeTableOCRRequest,
|
315
301
|
EstateCertOCRRequest,
|
316
302
|
PermanentResidencePermitInfo,
|
@@ -321,7 +307,6 @@ import {
|
|
321
307
|
BankCardOCRResponse,
|
322
308
|
SealInfo,
|
323
309
|
BusinessCardOCRRequest,
|
324
|
-
RecognizePhilippinesDrivingLicenseOCRResponse,
|
325
310
|
FinanBillOCRRequest,
|
326
311
|
QuotaInvoiceOCRResponse,
|
327
312
|
RecognizeGeneralTextImageWarnRequest,
|
@@ -341,13 +326,229 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
341
326
|
}
|
342
327
|
|
343
328
|
/**
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
329
|
+
* 本接口支持图像整体文字的检测和识别。可以识别中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语,阿拉伯语20种语言,且各种语言均支持与英文混合的文字识别。
|
330
|
+
|
331
|
+
适用于印刷文档识别、网络图片识别、广告图文字识别、街景店招牌识别、菜单识别、视频标题识别、头像文字识别等场景。
|
332
|
+
|
333
|
+
产品优势:支持自动识别语言类型,可返回文本框坐标信息,对于倾斜文本支持自动旋转纠正。
|
334
|
+
|
335
|
+
通用印刷体识别不同版本的差异如下:
|
336
|
+
<table style="width:715px">
|
337
|
+
<thead>
|
338
|
+
<tr>
|
339
|
+
<th style="width:150px"></th>
|
340
|
+
<th style="width:200px">【荐】通用印刷体识别</th>
|
341
|
+
<th ><a href="https://cloud.tencent.com/document/product/866/34937">【荐】通用印刷体识别(高精度版)</a></th>
|
342
|
+
<th><a href="https://cloud.tencent.com/document/product/866/37831">通用印刷体识别(精简版)</a></th>
|
343
|
+
</tr>
|
344
|
+
</thead>
|
345
|
+
<tbody>
|
346
|
+
<tr>
|
347
|
+
<td> 适用场景</td>
|
348
|
+
<td>适用于所有通用场景的印刷体识别</td>
|
349
|
+
<td>适用于文字较多、长串数字、小字、模糊字、倾斜文本等困难场景</td>
|
350
|
+
<td>适用于快速文本识别场景,准召率有一定损失,价格更优惠</td>
|
351
|
+
</tr>
|
352
|
+
<tr>
|
353
|
+
<td>识别准确率</td>
|
354
|
+
<td>96%</td>
|
355
|
+
<td>99%</td>
|
356
|
+
<td>91%</td>
|
357
|
+
</tr>
|
358
|
+
<tr>
|
359
|
+
<td>价格</td>
|
360
|
+
<td>中</td>
|
361
|
+
<td>高</td>
|
362
|
+
<td>低</td>
|
363
|
+
</tr>
|
364
|
+
<tr>
|
365
|
+
<td>支持的语言</td>
|
366
|
+
<td>中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语</td>
|
367
|
+
<td>中文、英文、中英文</td>
|
368
|
+
<td>中文、英文、中英文</td>
|
369
|
+
</tr>
|
370
|
+
<tr>
|
371
|
+
<td>自动语言检测</td>
|
372
|
+
<td>支持</td>
|
373
|
+
<td>支持</td>
|
374
|
+
<td>支持</td>
|
375
|
+
</tr>
|
376
|
+
<tr>
|
377
|
+
<td>返回文本行坐标</td>
|
378
|
+
<td>支持</td>
|
379
|
+
<td>支持</td>
|
380
|
+
<td>支持</td>
|
381
|
+
</tr>
|
382
|
+
<tr>
|
383
|
+
<td>自动旋转纠正</td>
|
384
|
+
<td>支持旋转识别,返回角度信息</td>
|
385
|
+
<td>支持旋转识别,返回角度信息</td>
|
386
|
+
<td>支持旋转识别,返回角度信息</td>
|
387
|
+
</tr>
|
388
|
+
</tbody>
|
389
|
+
</table>
|
390
|
+
|
391
|
+
默认接口请求频率限制:20次/秒。
|
392
|
+
*/
|
393
|
+
async GeneralBasicOCR(
|
394
|
+
req: GeneralBasicOCRRequest,
|
395
|
+
cb?: (error: string, rep: GeneralBasicOCRResponse) => void
|
396
|
+
): Promise<GeneralBasicOCRResponse> {
|
397
|
+
return this.request("GeneralBasicOCR", req, cb)
|
398
|
+
}
|
399
|
+
|
400
|
+
/**
|
401
|
+
* 文本图像增强是面向文档类图片提供的图像增强处理能力,包括切边增强、图像矫正、阴影去除、摩尔纹去除等;可以有效优化文档类的图片质量,提升文字的清晰度。
|
402
|
+
|
403
|
+
默认接口请求频率限制:10次/秒。
|
404
|
+
*/
|
405
|
+
async ImageEnhancement(
|
406
|
+
req: ImageEnhancementRequest,
|
407
|
+
cb?: (error: string, rep: ImageEnhancementResponse) => void
|
408
|
+
): Promise<ImageEnhancementResponse> {
|
409
|
+
return this.request("ImageEnhancement", req, cb)
|
410
|
+
}
|
411
|
+
|
412
|
+
/**
|
413
|
+
* 本接口支持智能提取各类证照、票据、表单、合同等结构化场景的key:value字段信息,并支持提取表格信息的key:value组的结构化,灵活高效,适用于各类非标准材料的信息录入场景,点击[立即体验](https://cloud.tencent.com/product/smart-ocr)。
|
414
|
+
|
415
|
+
默认接口请求频率限制:5次/秒。
|
416
|
+
*/
|
417
|
+
async SmartStructuralOCRV2(
|
418
|
+
req: SmartStructuralOCRV2Request,
|
419
|
+
cb?: (error: string, rep: SmartStructuralOCRV2Response) => void
|
420
|
+
): Promise<SmartStructuralOCRV2Response> {
|
421
|
+
return this.request("SmartStructuralOCRV2", req, cb)
|
422
|
+
}
|
423
|
+
|
424
|
+
/**
|
425
|
+
* 本接口支持智能化识别各类企业登记证书、许可证书、企业执照、三证合一类证书,结构化输出统一社会信用代码、公司名称、法定代表人、公司地址、注册资金、企业类型、经营范围、成立日期、有效期、开办资金、经费来源、举办单位等关键字段。
|
426
|
+
|
427
|
+
默认接口请求频率限制:5次/秒。
|
428
|
+
*/
|
429
|
+
async EnterpriseLicenseOCR(
|
430
|
+
req: EnterpriseLicenseOCRRequest,
|
431
|
+
cb?: (error: string, rep: EnterpriseLicenseOCRResponse) => void
|
432
|
+
): Promise<EnterpriseLicenseOCRResponse> {
|
433
|
+
return this.request("EnterpriseLicenseOCR", req, cb)
|
434
|
+
}
|
435
|
+
|
436
|
+
/**
|
437
|
+
* 本接口支持中英文名片各字段的自动定位与识别,包含姓名、电话、手机号、邮箱、公司、部门、职位、网址、地址、QQ、微信、MSN等。
|
438
|
+
|
439
|
+
默认接口请求频率限制:10次/秒。
|
440
|
+
*/
|
441
|
+
async BusinessCardOCR(
|
442
|
+
req: BusinessCardOCRRequest,
|
443
|
+
cb?: (error: string, rep: BusinessCardOCRResponse) => void
|
444
|
+
): Promise<BusinessCardOCRResponse> {
|
445
|
+
return this.request("BusinessCardOCR", req, cb)
|
446
|
+
}
|
447
|
+
|
448
|
+
/**
|
449
|
+
* 本接口支持病案首页、费用清单、结算单、医疗发票四种保险理赔单据的文本识别和结构化输出。
|
450
|
+
|
451
|
+
默认接口请求频率限制:1次/秒。
|
452
|
+
*/
|
453
|
+
async InsuranceBillOCR(
|
454
|
+
req: InsuranceBillOCRRequest,
|
455
|
+
cb?: (error: string, rep: InsuranceBillOCRResponse) => void
|
456
|
+
): Promise<InsuranceBillOCRResponse> {
|
457
|
+
return this.request("InsuranceBillOCR", req, cb)
|
458
|
+
}
|
459
|
+
|
460
|
+
/**
|
461
|
+
* 本接口支持中国大陆居民二代身份证正反面所有字段的识别,包括姓名、性别、民族、出生日期、住址、公民身份证号、签发机关、有效期限,识别准确度达到99%以上。
|
462
|
+
|
463
|
+
另外,本接口还支持多种增值能力,满足不同场景的需求。如身份证照片、人像照片的裁剪功能,同时具备9种告警功能,如下表所示。
|
464
|
+
|
465
|
+
<table style="width:650px">
|
466
|
+
<thead>
|
467
|
+
<tr>
|
468
|
+
<th width="150">增值能力</th>
|
469
|
+
<th width="500">能力项</th>
|
470
|
+
</tr>
|
471
|
+
</thead>
|
472
|
+
<tbody>
|
473
|
+
<tr>
|
474
|
+
<td rowspan="2">裁剪功能</td>
|
475
|
+
<td>身份证照片裁剪(去掉证件外多余的边缘、自动矫正拍摄角度)</td>
|
476
|
+
</tr>
|
477
|
+
<tr>
|
478
|
+
<td>人像照片裁剪(自动抠取身份证头像区域)</td>
|
479
|
+
</tr>
|
480
|
+
<tr>
|
481
|
+
<td rowspan="9">告警功能</td>
|
482
|
+
<td>身份证有效日期不合法,即有效日期不符合5年、10年、20年、长期期限
|
483
|
+
|
484
|
+
</td>
|
485
|
+
</tr>
|
486
|
+
<tr>
|
487
|
+
<td>身份证边框不完整告警</td>
|
488
|
+
</tr>
|
489
|
+
<tr>
|
490
|
+
<td>身份证复印件告警</td>
|
491
|
+
</tr>
|
492
|
+
<tr>
|
493
|
+
<td>身份证翻拍告警</td>
|
494
|
+
</tr>
|
495
|
+
<tr>
|
496
|
+
<td>身份证框内遮挡告警</td>
|
497
|
+
</tr>
|
498
|
+
<tr>
|
499
|
+
<td>临时身份证告警</td>
|
500
|
+
</tr>
|
501
|
+
<tr>
|
502
|
+
<td>身份证疑似存在PS痕迹告警</td>
|
503
|
+
</tr>
|
504
|
+
<tr>
|
505
|
+
<td>图片模糊告警(可根据图片质量分数判断)</td>
|
506
|
+
</tr>
|
507
|
+
</tbody>
|
508
|
+
</table>
|
509
|
+
|
510
|
+
默认接口请求频率限制:20次/秒。
|
511
|
+
*/
|
512
|
+
async IDCardOCR(
|
513
|
+
req: IDCardOCRRequest,
|
514
|
+
cb?: (error: string, rep: IDCardOCRResponse) => void
|
515
|
+
): Promise<IDCardOCRResponse> {
|
516
|
+
return this.request("IDCardOCR", req, cb)
|
517
|
+
}
|
518
|
+
|
519
|
+
/**
|
520
|
+
* 本接口支持过路过桥费发票关键字段的识别,包括发票代码、发票号码、日期、金额、入口、出口、时间、发票消费类型、高速标志等。
|
521
|
+
|
522
|
+
默认接口请求频率限制:5次/秒。
|
523
|
+
*/
|
524
|
+
async TollInvoiceOCR(
|
525
|
+
req: TollInvoiceOCRRequest,
|
526
|
+
cb?: (error: string, rep: TollInvoiceOCRResponse) => void
|
527
|
+
): Promise<TollInvoiceOCRResponse> {
|
528
|
+
return this.request("TollInvoiceOCR", req, cb)
|
529
|
+
}
|
530
|
+
|
531
|
+
/**
|
532
|
+
* 本接口支持马来西亚身份证识别,识别字段包括身份证号、姓名、性别、地址;具备身份证人像照片的裁剪功能和翻拍、复印件告警功能。
|
533
|
+
本接口暂未完全对外开放,如需咨询,请[联系商务](https://cloud.tencent.com/about/connect)
|
534
|
+
*/
|
535
|
+
async MLIDCardOCR(
|
536
|
+
req: MLIDCardOCRRequest,
|
537
|
+
cb?: (error: string, rep: MLIDCardOCRResponse) => void
|
538
|
+
): Promise<MLIDCardOCRResponse> {
|
539
|
+
return this.request("MLIDCardOCR", req, cb)
|
540
|
+
}
|
541
|
+
|
542
|
+
/**
|
543
|
+
* 本接口支持增值税发票的准确性核验,您可以通过输入增值税发票的关键字段提供所需的验证信息,接口返回真实的票面相关信息,包括发票代码、发票号码、开票日期、金额、消费类型、购方名称、购方税号、销方名称、销方税号等多个常用字段。支持多种发票类型核验,包括增值税专用发票、增值税普通发票(含电子普通发票、卷式发票、通行费发票)、全电发票、机动车销售统一发票、货物运输业增值税专用发票、二手车销售统一发票、通用机打电子发票(广东和浙江)。
|
544
|
+
|
545
|
+
默认接口请求频率限制:20次/秒。
|
546
|
+
*/
|
547
|
+
async VatInvoiceVerifyNew(
|
548
|
+
req: VatInvoiceVerifyNewRequest,
|
549
|
+
cb?: (error: string, rep: VatInvoiceVerifyNewResponse) => void
|
550
|
+
): Promise<VatInvoiceVerifyNewResponse> {
|
551
|
+
return this.request("VatInvoiceVerifyNew", req, cb)
|
351
552
|
}
|
352
553
|
|
353
554
|
/**
|
@@ -445,6 +646,18 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
445
646
|
return this.request("RecognizeContainerOCR", req, cb)
|
446
647
|
}
|
447
648
|
|
649
|
+
/**
|
650
|
+
* 本接口支持中英文图片/PDF内常规表格、无线表格、多表格的检测和识别,返回每个单元格的文字内容,支持旋转的表格图片识别,且支持将识别结果保存为 Excel 格式。识别效果比表格识别V2更好,覆盖场景更加广泛,对表格难例场景,如无线表格、嵌套表格(有线表格中包含无线表格)的识别效果均优于表格识别V2。点击[立即体验](https://cloud.tencent.com/act/event/ocrdemo)。
|
651
|
+
|
652
|
+
默认接口请求频率限制:2次/秒。
|
653
|
+
*/
|
654
|
+
async RecognizeTableAccurateOCR(
|
655
|
+
req: RecognizeTableAccurateOCRRequest,
|
656
|
+
cb?: (error: string, rep: RecognizeTableAccurateOCRResponse) => void
|
657
|
+
): Promise<RecognizeTableAccurateOCRResponse> {
|
658
|
+
return this.request("RecognizeTableAccurateOCR", req, cb)
|
659
|
+
}
|
660
|
+
|
448
661
|
/**
|
449
662
|
* 身份证识别(安全加密版)接口实现了数据加密传输,能够有效防止个人身份证隐私信息不被窃取泄露。
|
450
663
|
|
@@ -507,8 +720,43 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
507
720
|
}
|
508
721
|
|
509
722
|
/**
|
510
|
-
*
|
511
|
-
默认接口请求频率限制:
|
723
|
+
* 本接口支持多张、多类型票据的混合检测和自动分类,返回对应票据类型。目前已支持增值税发票、增值税发票(卷票)、定额发票、通用机打发票、购车发票、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票、酒店账单、客运限额发票、购物小票、完税证明共15种票据。
|
724
|
+
默认接口请求频率限制:5次/秒。
|
725
|
+
*/
|
726
|
+
async MixedInvoiceDetect(
|
727
|
+
req: MixedInvoiceDetectRequest,
|
728
|
+
cb?: (error: string, rep: MixedInvoiceDetectResponse) => void
|
729
|
+
): Promise<MixedInvoiceDetectResponse> {
|
730
|
+
return this.request("MixedInvoiceDetect", req, cb)
|
731
|
+
}
|
732
|
+
|
733
|
+
/**
|
734
|
+
* 本接口支持国内机动车登记证书主要字段的结构化识别,包括机动车所有人、身份证明名称、号码、车辆型号、车辆识别代号、发动机号、制造厂名称等。
|
735
|
+
|
736
|
+
默认接口请求频率限制:5次/秒。
|
737
|
+
*/
|
738
|
+
async VehicleRegCertOCR(
|
739
|
+
req: VehicleRegCertOCRRequest,
|
740
|
+
cb?: (error: string, rep: VehicleRegCertOCRResponse) => void
|
741
|
+
): Promise<VehicleRegCertOCRResponse> {
|
742
|
+
return this.request("VehicleRegCertOCR", req, cb)
|
743
|
+
}
|
744
|
+
|
745
|
+
/**
|
746
|
+
* 本接口支持识别轮船票的发票代码、发票号码、日期、姓名、票价、始发地、目的地、姓名、时间、发票消费类型、省、市、币种字段。
|
747
|
+
|
748
|
+
默认接口请求频率限制:5次/秒。
|
749
|
+
*/
|
750
|
+
async ShipInvoiceOCR(
|
751
|
+
req: ShipInvoiceOCRRequest,
|
752
|
+
cb?: (error: string, rep: ShipInvoiceOCRResponse) => void
|
753
|
+
): Promise<ShipInvoiceOCRResponse> {
|
754
|
+
return this.request("ShipInvoiceOCR", req, cb)
|
755
|
+
}
|
756
|
+
|
757
|
+
/**
|
758
|
+
* 本接口用于识别门头照文字识别结果以及对应分类标签信息
|
759
|
+
默认接口请求频率限制:1次/秒
|
512
760
|
*/
|
513
761
|
async RecognizeStoreName(
|
514
762
|
req: RecognizeStoreNameRequest,
|
@@ -531,133 +779,135 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
531
779
|
}
|
532
780
|
|
533
781
|
/**
|
534
|
-
*
|
782
|
+
* 本接口支持对增值税发票(卷票)关键字段的识别,包括的发票代码、合计金额(小写)、合计金额(大写)、开票日期、发票号码、购买方识别号、销售方识别号、校验码、销售方名称、购买方名称、发票消费类型、省、市、是否有公司印章、单价、金额、数量、服务类型、品名、种类等。
|
535
783
|
|
536
784
|
默认接口请求频率限制:5次/秒。
|
537
785
|
*/
|
538
|
-
async
|
539
|
-
req:
|
540
|
-
cb?: (error: string, rep:
|
541
|
-
): Promise<
|
542
|
-
return this.request("
|
786
|
+
async VatRollInvoiceOCR(
|
787
|
+
req: VatRollInvoiceOCRRequest,
|
788
|
+
cb?: (error: string, rep: VatRollInvoiceOCRResponse) => void
|
789
|
+
): Promise<VatRollInvoiceOCRResponse> {
|
790
|
+
return this.request("VatRollInvoiceOCR", req, cb)
|
543
791
|
}
|
544
792
|
|
545
793
|
/**
|
546
|
-
*
|
547
|
-
目前接口对合肥、成都、佛山三个城市的房产证版式识别较好。
|
794
|
+
* 本接口支持定额发票的发票号码、发票代码、金额(大小写)、发票消费类型、地区及是否有公司印章等关键字段的识别。
|
548
795
|
|
549
796
|
默认接口请求频率限制:5次/秒。
|
550
797
|
*/
|
551
|
-
async
|
552
|
-
req:
|
553
|
-
cb?: (error: string, rep:
|
554
|
-
): Promise<
|
555
|
-
return this.request("
|
798
|
+
async QuotaInvoiceOCR(
|
799
|
+
req: QuotaInvoiceOCRRequest,
|
800
|
+
cb?: (error: string, rep: QuotaInvoiceOCRResponse) => void
|
801
|
+
): Promise<QuotaInvoiceOCRResponse> {
|
802
|
+
return this.request("QuotaInvoiceOCR", req, cb)
|
556
803
|
}
|
557
804
|
|
558
805
|
/**
|
559
|
-
*
|
806
|
+
* 本接口支持市面上主流版式电子运单的识别,包括收件人和寄件人的姓名、电话、地址以及运单号等字段。
|
560
807
|
|
561
|
-
默认接口请求频率限制:
|
808
|
+
默认接口请求频率限制:10次/秒。
|
562
809
|
*/
|
563
|
-
async
|
564
|
-
req:
|
565
|
-
cb?: (error: string, rep:
|
566
|
-
): Promise<
|
567
|
-
return this.request("
|
810
|
+
async WaybillOCR(
|
811
|
+
req: WaybillOCRRequest,
|
812
|
+
cb?: (error: string, rep: WaybillOCRResponse) => void
|
813
|
+
): Promise<WaybillOCRResponse> {
|
814
|
+
return this.request("WaybillOCR", req, cb)
|
568
815
|
}
|
569
816
|
|
570
817
|
/**
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
818
|
+
* 本接口支持图片内车辆识别代号(VIN)的检测和识别。
|
819
|
+
默认接口请求频率限制:10次/秒。
|
820
|
+
*/
|
821
|
+
async VinOCR(
|
822
|
+
req: VinOCRRequest,
|
823
|
+
cb?: (error: string, rep: VinOCRResponse) => void
|
824
|
+
): Promise<VinOCRResponse> {
|
825
|
+
return this.request("VinOCR", req, cb)
|
578
826
|
}
|
579
827
|
|
580
828
|
/**
|
581
|
-
*
|
829
|
+
* 本接口支持图片中整体文字的检测和识别,返回文字框位置与文字内容。相比通用印刷体识别接口,识别速度更快。
|
582
830
|
|
583
|
-
默认接口请求频率限制:
|
831
|
+
默认接口请求频率限制:10次/秒。
|
584
832
|
*/
|
585
|
-
async
|
586
|
-
req:
|
587
|
-
cb?: (error: string, rep:
|
588
|
-
): Promise<
|
589
|
-
return this.request("
|
833
|
+
async GeneralFastOCR(
|
834
|
+
req: GeneralFastOCRRequest,
|
835
|
+
cb?: (error: string, rep: GeneralFastOCRResponse) => void
|
836
|
+
): Promise<GeneralFastOCRResponse> {
|
837
|
+
return this.request("GeneralFastOCR", req, cb)
|
590
838
|
}
|
591
839
|
|
592
840
|
/**
|
593
|
-
*
|
841
|
+
* 本接口支持房产证关键字段的识别,包括房地产权利人、共有情况、登记时间、规划用途、房屋性质、房屋坐落等。
|
842
|
+
目前接口对合肥、成都、佛山三个城市的房产证版式识别较好。
|
594
843
|
|
595
844
|
默认接口请求频率限制:5次/秒。
|
596
845
|
*/
|
597
|
-
async
|
598
|
-
req:
|
599
|
-
cb?: (error: string, rep:
|
600
|
-
): Promise<
|
601
|
-
return this.request("
|
846
|
+
async PropOwnerCertOCR(
|
847
|
+
req: PropOwnerCertOCRRequest,
|
848
|
+
cb?: (error: string, rep: PropOwnerCertOCRResponse) => void
|
849
|
+
): Promise<PropOwnerCertOCRResponse> {
|
850
|
+
return this.request("PropOwnerCertOCR", req, cb)
|
602
851
|
}
|
603
852
|
|
604
853
|
/**
|
605
|
-
*
|
854
|
+
* 本接口支持智能提取各类证照、票据、表单、合同等结构化场景的key:value字段信息,并支持提取表格信息的key:value组的结构化,灵活高效,适用于各类非标准材料的信息录入场景,点击[立即体验](https://cloud.tencent.com/product/smart-ocr)。
|
606
855
|
|
607
|
-
默认接口请求频率限制:
|
856
|
+
默认接口请求频率限制:5次/秒。
|
608
857
|
*/
|
609
|
-
async
|
610
|
-
req:
|
611
|
-
cb?: (error: string, rep:
|
612
|
-
): Promise<
|
613
|
-
return this.request("
|
858
|
+
async SmartStructuralPro(
|
859
|
+
req: SmartStructuralProRequest,
|
860
|
+
cb?: (error: string, rep: SmartStructuralProResponse) => void
|
861
|
+
): Promise<SmartStructuralProResponse> {
|
862
|
+
return this.request("SmartStructuralPro", req, cb)
|
614
863
|
}
|
615
864
|
|
616
865
|
/**
|
617
|
-
*
|
866
|
+
* 本接口支持快速精准识别营业执照上的字段,包括统一社会信用代码、公司名称、主体类型、法定代表人、注册资本、组成形式、成立日期、营业期限和经营范围等字段。
|
618
867
|
|
619
|
-
默认接口请求频率限制:
|
868
|
+
默认接口请求频率限制:10次/秒。
|
620
869
|
*/
|
621
|
-
async
|
622
|
-
req:
|
623
|
-
cb?: (error: string, rep:
|
624
|
-
): Promise<
|
625
|
-
return this.request("
|
870
|
+
async BizLicenseOCR(
|
871
|
+
req: BizLicenseOCRRequest,
|
872
|
+
cb?: (error: string, rep: BizLicenseOCRResponse) => void
|
873
|
+
): Promise<BizLicenseOCRResponse> {
|
874
|
+
return this.request("BizLicenseOCR", req, cb)
|
626
875
|
}
|
627
876
|
|
628
877
|
/**
|
629
|
-
*
|
878
|
+
* 本接口支持图片内手写体文字的检测和识别,针对手写字体无规则、字迹潦草、模糊等特点进行了识别能力的增强。
|
630
879
|
|
631
880
|
默认接口请求频率限制:10次/秒。
|
632
881
|
*/
|
633
|
-
async
|
634
|
-
req:
|
635
|
-
cb?: (error: string, rep:
|
636
|
-
): Promise<
|
637
|
-
return this.request("
|
882
|
+
async GeneralHandwritingOCR(
|
883
|
+
req: GeneralHandwritingOCRRequest,
|
884
|
+
cb?: (error: string, rep: GeneralHandwritingOCRResponse) => void
|
885
|
+
): Promise<GeneralHandwritingOCRResponse> {
|
886
|
+
return this.request("GeneralHandwritingOCR", req, cb)
|
638
887
|
}
|
639
888
|
|
640
889
|
/**
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
): Promise<SmartStructuralOCRResponse> {
|
649
|
-
return this.request("SmartStructuralOCR", req, cb)
|
890
|
+
* 外国人永久居留身份证识别
|
891
|
+
*/
|
892
|
+
async RecognizeForeignPermanentResidentIdCard(
|
893
|
+
req: RecognizeForeignPermanentResidentIdCardRequest,
|
894
|
+
cb?: (error: string, rep: RecognizeForeignPermanentResidentIdCardResponse) => void
|
895
|
+
): Promise<RecognizeForeignPermanentResidentIdCardResponse> {
|
896
|
+
return this.request("RecognizeForeignPermanentResidentIdCard", req, cb)
|
650
897
|
}
|
651
898
|
|
652
899
|
/**
|
653
|
-
*
|
654
|
-
|
900
|
+
* 已上线VatInvoiceVerifyNew,VatInvoiceVerify需要下线,产品在官网已发通告
|
901
|
+
|
902
|
+
本接口支持增值税发票的准确性核验,您可以通过输入增值税发票的关键字段提供所需的验证信息,接口返回真实的票面相关信息,包括发票代码、发票号码、开票日期、金额、消费类型、购方名称、购方税号、销方名称、销方税号等多个常用字段。支持多种发票类型核验,包括增值税专用发票、增值税普通发票(含电子普通发票、卷式发票、通行费发票)、全电发票、机动车销售统一发票、货物运输业增值税专用发票、二手车销售统一发票。
|
903
|
+
|
904
|
+
默认接口请求频率限制:20次/秒。
|
655
905
|
*/
|
656
|
-
async
|
657
|
-
req:
|
658
|
-
cb?: (error: string, rep:
|
659
|
-
): Promise<
|
660
|
-
return this.request("
|
906
|
+
async VatInvoiceVerify(
|
907
|
+
req: VatInvoiceVerifyRequest,
|
908
|
+
cb?: (error: string, rep: VatInvoiceVerifyResponse) => void
|
909
|
+
): Promise<VatInvoiceVerifyResponse> {
|
910
|
+
return this.request("VatInvoiceVerify", req, cb)
|
661
911
|
}
|
662
912
|
|
663
913
|
/**
|
@@ -673,676 +923,67 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
673
923
|
}
|
674
924
|
|
675
925
|
/**
|
676
|
-
*
|
926
|
+
* 本接口支持对通用机打发票的发票代码、发票号码、日期、合计金额(小写)、合计金额(大写)、购买方识别号、销售方识别号、校验码、购买方名称、销售方名称、时间、种类、发票消费类型、省、市、是否有公司印章、发票名称、购买方地址、电话、销售方地址、电话、购买方开户行及账号、销售方开户行及账号、经办人取票用户、经办人支付信息、经办人商户号、经办人订单号、货物或应税劳务、服务名称、数量、单价、税率、税额、金额、单位、规格型号、合计税额、合计金额、备注、收款人、复核、开票人、密码区、行业分类等字段的识别。
|
677
927
|
|
678
928
|
默认接口请求频率限制:5次/秒。
|
679
929
|
*/
|
680
|
-
async
|
681
|
-
req:
|
682
|
-
cb?: (error: string, rep:
|
683
|
-
): Promise<
|
684
|
-
return this.request("
|
930
|
+
async InvoiceGeneralOCR(
|
931
|
+
req: InvoiceGeneralOCRRequest,
|
932
|
+
cb?: (error: string, rep: InvoiceGeneralOCRResponse) => void
|
933
|
+
): Promise<InvoiceGeneralOCRResponse> {
|
934
|
+
return this.request("InvoiceGeneralOCR", req, cb)
|
685
935
|
}
|
686
936
|
|
687
937
|
/**
|
688
|
-
*
|
938
|
+
* 本接口支持网约车运输证关键字段的识别,包括交运管许可字号、车辆所有人、车辆号牌、起始日期、截止日期、发证日期。
|
689
939
|
|
690
940
|
默认接口请求频率限制:5次/秒。
|
691
941
|
*/
|
692
|
-
async
|
693
|
-
req:
|
694
|
-
cb?: (error: string, rep:
|
695
|
-
): Promise<
|
696
|
-
return this.request("
|
942
|
+
async RideHailingTransportLicenseOCR(
|
943
|
+
req: RideHailingTransportLicenseOCRRequest,
|
944
|
+
cb?: (error: string, rep: RideHailingTransportLicenseOCRResponse) => void
|
945
|
+
): Promise<RideHailingTransportLicenseOCRResponse> {
|
946
|
+
return this.request("RideHailingTransportLicenseOCR", req, cb)
|
697
947
|
}
|
698
948
|
|
699
949
|
/**
|
700
|
-
*
|
950
|
+
* 智慧表单产品已下线,需要下线相关API
|
701
951
|
|
702
|
-
|
952
|
+
支持查询智能表单录入任务的状态。本产品免费公测中,您可以点击demo(超链接:https://ocr.smartform.cloud.tencent.com/)试用,如需购买请与商务团队联系。
|
703
953
|
*/
|
704
|
-
async
|
705
|
-
req:
|
706
|
-
cb?: (error: string, rep:
|
707
|
-
): Promise<
|
708
|
-
return this.request("
|
954
|
+
async GetTaskState(
|
955
|
+
req: GetTaskStateRequest,
|
956
|
+
cb?: (error: string, rep: GetTaskStateResponse) => void
|
957
|
+
): Promise<GetTaskStateResponse> {
|
958
|
+
return this.request("GetTaskState", req, cb)
|
709
959
|
}
|
710
960
|
|
711
961
|
/**
|
712
|
-
*
|
962
|
+
* 本接口支持网约车行程单关键字段的识别,包括行程起止日期、上车时间、起点、终点、里程、金额等字段。
|
713
963
|
|
714
|
-
默认接口请求频率限制:
|
964
|
+
默认接口请求频率限制:20次/秒。
|
715
965
|
*/
|
716
|
-
async
|
717
|
-
req:
|
718
|
-
cb?: (error: string, rep:
|
719
|
-
): Promise<
|
720
|
-
return this.request("
|
966
|
+
async RecognizeOnlineTaxiItineraryOCR(
|
967
|
+
req: RecognizeOnlineTaxiItineraryOCRRequest,
|
968
|
+
cb?: (error: string, rep: RecognizeOnlineTaxiItineraryOCRResponse) => void
|
969
|
+
): Promise<RecognizeOnlineTaxiItineraryOCRResponse> {
|
970
|
+
return this.request("RecognizeOnlineTaxiItineraryOCR", req, cb)
|
721
971
|
}
|
722
972
|
|
723
973
|
/**
|
724
|
-
*
|
974
|
+
* 本接口支持中国香港身份证人像面中关键字段的识别,包括中文姓名、英文姓名、姓名电码、出生日期、性别、证件符号、首次签发日期、最近领用日期、身份证号、是否是永久性居民身份证;具备人像照片裁剪等扩展功能。
|
725
975
|
|
726
976
|
默认接口请求频率限制:5次/秒。
|
977
|
+
*/
|
978
|
+
async HKIDCardOCR(
|
979
|
+
req: HKIDCardOCRRequest,
|
980
|
+
cb?: (error: string, rep: HKIDCardOCRResponse) => void
|
981
|
+
): Promise<HKIDCardOCRResponse> {
|
982
|
+
return this.request("HKIDCardOCR", req, cb)
|
983
|
+
}
|
727
984
|
|
728
|
-
|
729
|
-
|
730
|
-
<table style="width:715px">
|
731
|
-
<thead>
|
732
|
-
<tr>
|
733
|
-
<th style="width:200px">SubType 子票种英文</th>
|
734
|
-
<th style="width:200px">TypeDescription子票种中文</th>
|
735
|
-
<th >Type 所属大类票种</th>
|
736
|
-
</tr>
|
737
|
-
</thead>
|
738
|
-
<tbody>
|
739
|
-
<tr>
|
740
|
-
<td> VatSpecialInvoice</td>
|
741
|
-
<td> 增值税专用发票 </td>
|
742
|
-
<td> 3 </td>
|
743
|
-
</tr>
|
744
|
-
<tr>
|
745
|
-
<td> VatCommonInvoice</td>
|
746
|
-
<td> 增值税普通发票 </td>
|
747
|
-
<td> 3 </td>
|
748
|
-
</tr>
|
749
|
-
<tr>
|
750
|
-
<td> VatElectronicCommonInvoice </td>
|
751
|
-
<td> 增值税电子普通发票 </td>
|
752
|
-
<td> 3 </td>
|
753
|
-
</tr>
|
754
|
-
<tr>
|
755
|
-
<td> VatElectronicSpecialInvoice </td>
|
756
|
-
<td> 增值税电子专用发票 </td>
|
757
|
-
<td> 3 </td>
|
758
|
-
</tr>
|
759
|
-
<tr>
|
760
|
-
<td> VatElectronicInvoiceBlockchain</td>
|
761
|
-
<td> 区块链电子发票 </td>
|
762
|
-
<td> 3 </td>
|
763
|
-
</tr>
|
764
|
-
<tr>
|
765
|
-
<td> VatElectronicInvoiceToll</td>
|
766
|
-
<td> 增值税电子普通发票(通行费)</td>
|
767
|
-
<td> 3 </td>
|
768
|
-
</tr>
|
769
|
-
<tr>
|
770
|
-
<td> VatSalesList</td>
|
771
|
-
<td> 增值税销货清单</td>
|
772
|
-
<td> 3 </td>
|
773
|
-
</tr>
|
774
|
-
<tr>
|
775
|
-
<td> VatElectronicSpecialInvoiceFull</td>
|
776
|
-
<td> 电子发票(专用发票)</td>
|
777
|
-
<td> 16 </td>
|
778
|
-
</tr>
|
779
|
-
<tr>
|
780
|
-
<td> VatElectronicInvoiceFull</td>
|
781
|
-
<td> 电子发票(普通发票) </td>
|
782
|
-
<td> 16 </td>
|
783
|
-
</tr>
|
784
|
-
<tr>
|
785
|
-
<td> ElectronicFlightTicketFull</td>
|
786
|
-
<td> 电子发票(机票行程单),该子类目前仅支持ofd发票</td>
|
787
|
-
<td> 16 </td>
|
788
|
-
</tr>
|
789
|
-
<tr>
|
790
|
-
<td> ElectronicTrainTicketFull</td>
|
791
|
-
<td> 电子发票(铁路电子客票),该子类目前仅支持ofd发票</td>
|
792
|
-
<td> 16 </td>
|
793
|
-
</tr>
|
794
|
-
<tr>
|
795
|
-
<td> MotorVehicleSaleInvoice </td>
|
796
|
-
<td> 机动车销售统一发票 </td>
|
797
|
-
<td> 12 </td>
|
798
|
-
</tr>
|
799
|
-
<tr>
|
800
|
-
<td> UsedCarPurchaseInvoice </td>
|
801
|
-
<td> 二手车销售统一发票 </td>
|
802
|
-
<td> 12 </td>
|
803
|
-
</tr>
|
804
|
-
<tr>
|
805
|
-
<td> VatInvoiceRoll </td>
|
806
|
-
<td> 增值税普通发票(卷票) </td>
|
807
|
-
<td> 11 </td>
|
808
|
-
</tr>
|
809
|
-
<tr>
|
810
|
-
<td> TaxiTicket </td>
|
811
|
-
<td> 出租车发票 </td>
|
812
|
-
<td> 0 </td>
|
813
|
-
</tr>
|
814
|
-
<tr>
|
815
|
-
<td> QuotaInvoice </td>
|
816
|
-
<td> 定额发票 </td>
|
817
|
-
<td> 1 </td>
|
818
|
-
</tr>
|
819
|
-
<tr>
|
820
|
-
<td> TrainTicket </td>
|
821
|
-
<td> 火车票 </td>
|
822
|
-
<td> 2 </td>
|
823
|
-
</tr>
|
824
|
-
<tr>
|
825
|
-
<td> AirTransport </td>
|
826
|
-
<td> 机票行程单 </td>
|
827
|
-
<td> 5 </td>
|
828
|
-
</tr>
|
829
|
-
<tr>
|
830
|
-
<td> MachinePrintedInvoice </td>
|
831
|
-
<td> 通用机打发票 </td>
|
832
|
-
<td> 8 </td>
|
833
|
-
</tr>
|
834
|
-
<tr>
|
835
|
-
<td> BusInvoice </td>
|
836
|
-
<td> 汽车票 </td>
|
837
|
-
<td> 9 </td>
|
838
|
-
</tr>
|
839
|
-
<tr>
|
840
|
-
<td> ShippingInvoice </td>
|
841
|
-
<td> 轮船票 </td>
|
842
|
-
<td> 10 </td>
|
843
|
-
</tr>
|
844
|
-
<tr>
|
845
|
-
<td> NonTaxIncomeGeneralBill </td>
|
846
|
-
<td> 非税收入通用票据 </td>
|
847
|
-
<td> 15 </td>
|
848
|
-
</tr>
|
849
|
-
<tr>
|
850
|
-
<td> NonTaxIncomeElectronicBill </td>
|
851
|
-
<td> 非税收入一般缴款书(电子) </td>
|
852
|
-
<td> 15 </td>
|
853
|
-
</tr>
|
854
|
-
<tr>
|
855
|
-
<td> TollInvoice </td>
|
856
|
-
<td> 过路过桥费发票 </td>
|
857
|
-
<td> 13 </td>
|
858
|
-
</tr>
|
859
|
-
<tr>
|
860
|
-
<td> MedicalOutpatientInvoice </td>
|
861
|
-
<td> 医疗门诊收费票据(电子) </td>
|
862
|
-
<td> 17 </td>
|
863
|
-
</tr>
|
864
|
-
<tr>
|
865
|
-
<td> MedicalHospitalizedInvoice </td>
|
866
|
-
<td> 医疗住院收费票据(电子) </td>
|
867
|
-
<td> 17 </td>
|
868
|
-
</tr>
|
869
|
-
<tr>
|
870
|
-
<td> OtherInvoice </td>
|
871
|
-
<td> 其他发票 </td>
|
872
|
-
<td> -1 </td>
|
873
|
-
</tr>
|
874
|
-
</tbody>
|
875
|
-
</table>
|
876
|
-
*/
|
877
|
-
async RecognizeGeneralInvoice(
|
878
|
-
req: RecognizeGeneralInvoiceRequest,
|
879
|
-
cb?: (error: string, rep: RecognizeGeneralInvoiceResponse) => void
|
880
|
-
): Promise<RecognizeGeneralInvoiceResponse> {
|
881
|
-
return this.request("RecognizeGeneralInvoice", req, cb)
|
882
|
-
}
|
883
|
-
|
884
|
-
/**
|
885
|
-
* 本接口支持病案首页、费用清单、结算单、医疗发票四种保险理赔单据的文本识别和结构化输出。
|
886
|
-
|
887
|
-
默认接口请求频率限制:1次/秒。
|
888
|
-
*/
|
889
|
-
async InsuranceBillOCR(
|
890
|
-
req: InsuranceBillOCRRequest,
|
891
|
-
cb?: (error: string, rep: InsuranceBillOCRResponse) => void
|
892
|
-
): Promise<InsuranceBillOCRResponse> {
|
893
|
-
return this.request("InsuranceBillOCR", req, cb)
|
894
|
-
}
|
895
|
-
|
896
|
-
/**
|
897
|
-
* 本接口支持增值税发票的准确性核验,您可以通过输入增值税发票的关键字段提供所需的验证信息,接口返回真实的票面相关信息,包括发票代码、发票号码、开票日期、金额、消费类型、购方名称、购方税号、销方名称、销方税号等多个常用字段。支持多种发票类型核验,包括增值税专用发票、增值税普通发票(含电子普通发票、卷式发票、通行费发票)、全电发票、机动车销售统一发票、货物运输业增值税专用发票、二手车销售统一发票、通用机打电子发票(广东和浙江)。
|
898
|
-
|
899
|
-
默认接口请求频率限制:20次/秒。
|
900
|
-
*/
|
901
|
-
async VatInvoiceVerifyNew(
|
902
|
-
req: VatInvoiceVerifyNewRequest,
|
903
|
-
cb?: (error: string, rep: VatInvoiceVerifyNewResponse) => void
|
904
|
-
): Promise<VatInvoiceVerifyNewResponse> {
|
905
|
-
return this.request("VatInvoiceVerifyNew", req, cb)
|
906
|
-
}
|
907
|
-
|
908
|
-
/**
|
909
|
-
* 本接口支持图片内车辆识别代号(VIN)的检测和识别。
|
910
|
-
默认接口请求频率限制:10次/秒。
|
911
|
-
*/
|
912
|
-
async VinOCR(
|
913
|
-
req: VinOCRRequest,
|
914
|
-
cb?: (error: string, rep: VinOCRResponse) => void
|
915
|
-
): Promise<VinOCRResponse> {
|
916
|
-
return this.request("VinOCR", req, cb)
|
917
|
-
}
|
918
|
-
|
919
|
-
/**
|
920
|
-
* 本接口支持行驶证主页和副页所有字段的自动定位与识别。
|
921
|
-
|
922
|
-
行驶证主页:车牌号码、车辆类型、所有人、住址、使用性质、品牌型号、识别代码、发动机号、注册日期、发证日期、发证单位。
|
923
|
-
|
924
|
-
行驶证副页:号牌号码、档案编号、核定载人数、总质量、整备质量、核定载质量、外廓尺寸、准牵引总质量、备注、检验记录。
|
925
|
-
|
926
|
-
另外,本接口还支持复印件、翻拍告警功能。
|
927
|
-
|
928
|
-
默认接口请求频率限制:10次/秒。
|
929
|
-
*/
|
930
|
-
async VehicleLicenseOCR(
|
931
|
-
req: VehicleLicenseOCRRequest,
|
932
|
-
cb?: (error: string, rep: VehicleLicenseOCRResponse) => void
|
933
|
-
): Promise<VehicleLicenseOCRResponse> {
|
934
|
-
return this.request("VehicleLicenseOCR", req, cb)
|
935
|
-
}
|
936
|
-
|
937
|
-
/**
|
938
|
-
* 本接口支持快速精准识别营业执照上的字段,包括统一社会信用代码、公司名称、主体类型、法定代表人、注册资本、组成形式、成立日期、营业期限和经营范围等字段。
|
939
|
-
|
940
|
-
默认接口请求频率限制:10次/秒。
|
941
|
-
*/
|
942
|
-
async BizLicenseOCR(
|
943
|
-
req: BizLicenseOCRRequest,
|
944
|
-
cb?: (error: string, rep: BizLicenseOCRResponse) => void
|
945
|
-
): Promise<BizLicenseOCRResponse> {
|
946
|
-
return this.request("BizLicenseOCR", req, cb)
|
947
|
-
}
|
948
|
-
|
949
|
-
/**
|
950
|
-
* 智慧表单产品已下线,需要下线相关API
|
951
|
-
|
952
|
-
支持查询智能表单录入任务的状态。本产品免费公测中,您可以点击demo(超链接:https://ocr.smartform.cloud.tencent.com/)试用,如需购买请与商务团队联系。
|
953
|
-
*/
|
954
|
-
async GetTaskState(
|
955
|
-
req: GetTaskStateRequest,
|
956
|
-
cb?: (error: string, rep: GetTaskStateResponse) => void
|
957
|
-
): Promise<GetTaskStateResponse> {
|
958
|
-
return this.request("GetTaskState", req, cb)
|
959
|
-
}
|
960
|
-
|
961
|
-
/**
|
962
|
-
* 本接口支持图像整体文字的检测和识别。可以识别中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语,阿拉伯语20种语言,且各种语言均支持与英文混合的文字识别。
|
963
|
-
|
964
|
-
适用于印刷文档识别、网络图片识别、广告图文字识别、街景店招牌识别、菜单识别、视频标题识别、头像文字识别等场景。
|
965
|
-
|
966
|
-
产品优势:支持自动识别语言类型,可返回文本框坐标信息,对于倾斜文本支持自动旋转纠正。
|
967
|
-
|
968
|
-
通用印刷体识别不同版本的差异如下:
|
969
|
-
<table style="width:715px">
|
970
|
-
<thead>
|
971
|
-
<tr>
|
972
|
-
<th style="width:150px"></th>
|
973
|
-
<th style="width:200px">【荐】通用印刷体识别</th>
|
974
|
-
<th ><a href="https://cloud.tencent.com/document/product/866/34937">【荐】通用印刷体识别(高精度版)</a></th>
|
975
|
-
<th><a href="https://cloud.tencent.com/document/product/866/37831">通用印刷体识别(精简版)</a></th>
|
976
|
-
</tr>
|
977
|
-
</thead>
|
978
|
-
<tbody>
|
979
|
-
<tr>
|
980
|
-
<td> 适用场景</td>
|
981
|
-
<td>适用于所有通用场景的印刷体识别</td>
|
982
|
-
<td>适用于文字较多、长串数字、小字、模糊字、倾斜文本等困难场景</td>
|
983
|
-
<td>适用于快速文本识别场景,准召率有一定损失,价格更优惠</td>
|
984
|
-
</tr>
|
985
|
-
<tr>
|
986
|
-
<td>识别准确率</td>
|
987
|
-
<td>96%</td>
|
988
|
-
<td>99%</td>
|
989
|
-
<td>91%</td>
|
990
|
-
</tr>
|
991
|
-
<tr>
|
992
|
-
<td>价格</td>
|
993
|
-
<td>中</td>
|
994
|
-
<td>高</td>
|
995
|
-
<td>低</td>
|
996
|
-
</tr>
|
997
|
-
<tr>
|
998
|
-
<td>支持的语言</td>
|
999
|
-
<td>中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语</td>
|
1000
|
-
<td>中文、英文、中英文</td>
|
1001
|
-
<td>中文、英文、中英文</td>
|
1002
|
-
</tr>
|
1003
|
-
<tr>
|
1004
|
-
<td>自动语言检测</td>
|
1005
|
-
<td>支持</td>
|
1006
|
-
<td>支持</td>
|
1007
|
-
<td>支持</td>
|
1008
|
-
</tr>
|
1009
|
-
<tr>
|
1010
|
-
<td>返回文本行坐标</td>
|
1011
|
-
<td>支持</td>
|
1012
|
-
<td>支持</td>
|
1013
|
-
<td>支持</td>
|
1014
|
-
</tr>
|
1015
|
-
<tr>
|
1016
|
-
<td>自动旋转纠正</td>
|
1017
|
-
<td>支持旋转识别,返回角度信息</td>
|
1018
|
-
<td>支持旋转识别,返回角度信息</td>
|
1019
|
-
<td>支持旋转识别,返回角度信息</td>
|
1020
|
-
</tr>
|
1021
|
-
</tbody>
|
1022
|
-
</table>
|
1023
|
-
|
1024
|
-
默认接口请求频率限制:20次/秒。
|
1025
|
-
*/
|
1026
|
-
async GeneralBasicOCR(
|
1027
|
-
req: GeneralBasicOCRRequest,
|
1028
|
-
cb?: (error: string, rep: GeneralBasicOCRResponse) => void
|
1029
|
-
): Promise<GeneralBasicOCRResponse> {
|
1030
|
-
return this.request("GeneralBasicOCR", req, cb)
|
1031
|
-
}
|
1032
|
-
|
1033
|
-
/**
|
1034
|
-
* 本接口支持泰国身份证识别,识别字段包括泰文姓名、英文姓名、地址、出生日期、身份证号码、首次领用日期、签发日期等字段。
|
1035
|
-
本接口暂未完全对外开放,如需咨询,请[联系商务](https://cloud.tencent.com/about/connect)
|
1036
|
-
|
1037
|
-
默认接口请求频率限制:10次/秒
|
1038
|
-
*/
|
1039
|
-
async RecognizeThaiIDCardOCR(
|
1040
|
-
req: RecognizeThaiIDCardOCRRequest,
|
1041
|
-
cb?: (error: string, rep: RecognizeThaiIDCardOCRResponse) => void
|
1042
|
-
): Promise<RecognizeThaiIDCardOCRResponse> {
|
1043
|
-
return this.request("RecognizeThaiIDCardOCR", req, cb)
|
1044
|
-
}
|
1045
|
-
|
1046
|
-
/**
|
1047
|
-
* <b>此接口为表格识别的旧版本服务,不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/49525">新版表格识别</a>。</b>
|
1048
|
-
|
1049
|
-
本接口支持图片内表格文档的检测和识别,返回每个单元格的文字内容,支持将识别结果保存为 Excel 格式。
|
1050
|
-
|
1051
|
-
默认接口请求频率限制:10次/秒。
|
1052
|
-
*/
|
1053
|
-
async TableOCR(
|
1054
|
-
req: TableOCRRequest,
|
1055
|
-
cb?: (error: string, rep: TableOCRResponse) => void
|
1056
|
-
): Promise<TableOCRResponse> {
|
1057
|
-
return this.request("TableOCR", req, cb)
|
1058
|
-
}
|
1059
|
-
|
1060
|
-
/**
|
1061
|
-
* 本接口支持作业算式题目的自动识别和判分,目前覆盖 K12 学力范围内的 11 种题型,包括加减乘除四则、加减乘除已知结果求运算因子、判断大小、约等于估算、带余数除法、分数四则运算、单位换算、竖式加减法、竖式乘除法、脱式计算和解方程,平均识别精度达到93%以上。
|
1062
|
-
|
1063
|
-
默认接口请求频率限制:10次/秒。
|
1064
|
-
*/
|
1065
|
-
async ArithmeticOCR(
|
1066
|
-
req: ArithmeticOCRRequest,
|
1067
|
-
cb?: (error: string, rep: ArithmeticOCRResponse) => void
|
1068
|
-
): Promise<ArithmeticOCRResponse> {
|
1069
|
-
return this.request("ArithmeticOCR", req, cb)
|
1070
|
-
}
|
1071
|
-
|
1072
|
-
/**
|
1073
|
-
* 本接口支持不动产权证关键字段的识别,包括使用期限、面积、用途、权利性质、权利类型、坐落、共有情况、权利人、权利其他状况等。
|
1074
|
-
|
1075
|
-
默认接口请求频率限制:5次/秒。
|
1076
|
-
*/
|
1077
|
-
async EstateCertOCR(
|
1078
|
-
req: EstateCertOCRRequest,
|
1079
|
-
cb?: (error: string, rep: EstateCertOCRResponse) => void
|
1080
|
-
): Promise<EstateCertOCRResponse> {
|
1081
|
-
return this.request("EstateCertOCR", req, cb)
|
1082
|
-
}
|
1083
|
-
|
1084
|
-
/**
|
1085
|
-
* 菲律宾UMID识别
|
1086
|
-
*/
|
1087
|
-
async RecognizePhilippinesUMIDOCR(
|
1088
|
-
req: RecognizePhilippinesUMIDOCRRequest,
|
1089
|
-
cb?: (error: string, rep: RecognizePhilippinesUMIDOCRResponse) => void
|
1090
|
-
): Promise<RecognizePhilippinesUMIDOCRResponse> {
|
1091
|
-
return this.request("RecognizePhilippinesUMIDOCR", req, cb)
|
1092
|
-
}
|
1093
|
-
|
1094
|
-
/**
|
1095
|
-
* 本接口支持二代身份证、临时身份证、港澳台居住证、外国人永久居留证,字段内容识别功能,包括姓名、性别、民族、出生、出生日期、住址、公民身份号码、签发机关、有效期限、国籍、通行证号码、持证人持有号码;支持返回证件类型;支持翻拍、复印、边框不完整、遮挡、字段级反光和字段级完整性告警;支持卡片主体框裁剪和头像裁剪。
|
1096
|
-
|
1097
|
-
默认接口请求频率限制:20次/秒。
|
1098
|
-
*/
|
1099
|
-
async RecognizeValidIDCardOCR(
|
1100
|
-
req: RecognizeValidIDCardOCRRequest,
|
1101
|
-
cb?: (error: string, rep: RecognizeValidIDCardOCRResponse) => void
|
1102
|
-
): Promise<RecognizeValidIDCardOCRResponse> {
|
1103
|
-
return this.request("RecognizeValidIDCardOCR", req, cb)
|
1104
|
-
}
|
1105
|
-
|
1106
|
-
/**
|
1107
|
-
* 本接口支持对中国大陆主流银行卡正反面关键字段的检测与识别,包括卡号、卡类型、卡名字、银行信息、有效期。支持竖排异形卡识别、多角度旋转图片识别。支持对复印件、翻拍件、边框遮挡的银行卡进行告警,可应用于各种银行卡信息有效性校验场景,如金融行业身份认证、第三方支付绑卡等场景。
|
1108
|
-
|
1109
|
-
默认接口请求频率限制:10次/秒。
|
1110
|
-
*/
|
1111
|
-
async BankCardOCR(
|
1112
|
-
req: BankCardOCRRequest,
|
1113
|
-
cb?: (error: string, rep: BankCardOCRResponse) => void
|
1114
|
-
): Promise<BankCardOCRResponse> {
|
1115
|
-
return this.request("BankCardOCR", req, cb)
|
1116
|
-
}
|
1117
|
-
|
1118
|
-
/**
|
1119
|
-
* 已上线VatInvoiceVerifyNew,VatInvoiceVerify需要下线,产品在官网已发通告
|
1120
|
-
|
1121
|
-
本接口支持增值税发票的准确性核验,您可以通过输入增值税发票的关键字段提供所需的验证信息,接口返回真实的票面相关信息,包括发票代码、发票号码、开票日期、金额、消费类型、购方名称、购方税号、销方名称、销方税号等多个常用字段。支持多种发票类型核验,包括增值税专用发票、增值税普通发票(含电子普通发票、卷式发票、通行费发票)、全电发票、机动车销售统一发票、货物运输业增值税专用发票、二手车销售统一发票。
|
1122
|
-
|
1123
|
-
默认接口请求频率限制:20次/秒。
|
1124
|
-
*/
|
1125
|
-
async VatInvoiceVerify(
|
1126
|
-
req: VatInvoiceVerifyRequest,
|
1127
|
-
cb?: (error: string, rep: VatInvoiceVerifyResponse) => void
|
1128
|
-
): Promise<VatInvoiceVerifyResponse> {
|
1129
|
-
return this.request("VatInvoiceVerify", req, cb)
|
1130
|
-
}
|
1131
|
-
|
1132
|
-
/**
|
1133
|
-
* 菲律宾驾驶证识别
|
1134
|
-
|
1135
|
-
默认接口请求频率限制:20次/秒。
|
1136
|
-
*/
|
1137
|
-
async RecognizePhilippinesDrivingLicenseOCR(
|
1138
|
-
req: RecognizePhilippinesDrivingLicenseOCRRequest,
|
1139
|
-
cb?: (error: string, rep: RecognizePhilippinesDrivingLicenseOCRResponse) => void
|
1140
|
-
): Promise<RecognizePhilippinesDrivingLicenseOCRResponse> {
|
1141
|
-
return this.request("RecognizePhilippinesDrivingLicenseOCR", req, cb)
|
1142
|
-
}
|
1143
|
-
|
1144
|
-
/**
|
1145
|
-
* 本接口支持数学试题内容的识别和结构化输出,包括通用文本解析和小学/初中/高中数学公式解析能力(包括91种题型,180种符号),公式返回格式为 Latex 格式文本。
|
1146
|
-
|
1147
|
-
默认接口请求频率限制:5次/秒。
|
1148
|
-
*/
|
1149
|
-
async EduPaperOCR(
|
1150
|
-
req: EduPaperOCRRequest,
|
1151
|
-
cb?: (error: string, rep: EduPaperOCRResponse) => void
|
1152
|
-
): Promise<EduPaperOCRResponse> {
|
1153
|
-
return this.request("EduPaperOCR", req, cb)
|
1154
|
-
}
|
1155
|
-
|
1156
|
-
/**
|
1157
|
-
* 本接口支持智能化识别各类企业登记证书、许可证书、企业执照、三证合一类证书,结构化输出统一社会信用代码、公司名称、法定代表人、公司地址、注册资金、企业类型、经营范围、成立日期、有效期、开办资金、经费来源、举办单位等关键字段。
|
1158
|
-
|
1159
|
-
默认接口请求频率限制:5次/秒。
|
1160
|
-
*/
|
1161
|
-
async EnterpriseLicenseOCR(
|
1162
|
-
req: EnterpriseLicenseOCRRequest,
|
1163
|
-
cb?: (error: string, rep: EnterpriseLicenseOCRResponse) => void
|
1164
|
-
): Promise<EnterpriseLicenseOCRResponse> {
|
1165
|
-
return this.request("EnterpriseLicenseOCR", req, cb)
|
1166
|
-
}
|
1167
|
-
|
1168
|
-
/**
|
1169
|
-
* 本接口支持中英文名片各字段的自动定位与识别,包含姓名、电话、手机号、邮箱、公司、部门、职位、网址、地址、QQ、微信、MSN等。
|
1170
|
-
|
1171
|
-
默认接口请求频率限制:10次/秒。
|
1172
|
-
*/
|
1173
|
-
async BusinessCardOCR(
|
1174
|
-
req: BusinessCardOCRRequest,
|
1175
|
-
cb?: (error: string, rep: BusinessCardOCRResponse) => void
|
1176
|
-
): Promise<BusinessCardOCRResponse> {
|
1177
|
-
return this.request("BusinessCardOCR", req, cb)
|
1178
|
-
}
|
1179
|
-
|
1180
|
-
/**
|
1181
|
-
* 本接口支持中国大陆居民二代身份证正反面所有字段的识别,包括姓名、性别、民族、出生日期、住址、公民身份证号、签发机关、有效期限,识别准确度达到99%以上。
|
1182
|
-
|
1183
|
-
另外,本接口还支持多种增值能力,满足不同场景的需求。如身份证照片、人像照片的裁剪功能,同时具备9种告警功能,如下表所示。
|
1184
|
-
|
1185
|
-
<table style="width:650px">
|
1186
|
-
<thead>
|
1187
|
-
<tr>
|
1188
|
-
<th width="150">增值能力</th>
|
1189
|
-
<th width="500">能力项</th>
|
1190
|
-
</tr>
|
1191
|
-
</thead>
|
1192
|
-
<tbody>
|
1193
|
-
<tr>
|
1194
|
-
<td rowspan="2">裁剪功能</td>
|
1195
|
-
<td>身份证照片裁剪(去掉证件外多余的边缘、自动矫正拍摄角度)</td>
|
1196
|
-
</tr>
|
1197
|
-
<tr>
|
1198
|
-
<td>人像照片裁剪(自动抠取身份证头像区域)</td>
|
1199
|
-
</tr>
|
1200
|
-
<tr>
|
1201
|
-
<td rowspan="9">告警功能</td>
|
1202
|
-
<td>身份证有效日期不合法,即有效日期不符合5年、10年、20年、长期期限
|
1203
|
-
|
1204
|
-
</td>
|
1205
|
-
</tr>
|
1206
|
-
<tr>
|
1207
|
-
<td>身份证边框不完整告警</td>
|
1208
|
-
</tr>
|
1209
|
-
<tr>
|
1210
|
-
<td>身份证复印件告警</td>
|
1211
|
-
</tr>
|
1212
|
-
<tr>
|
1213
|
-
<td>身份证翻拍告警</td>
|
1214
|
-
</tr>
|
1215
|
-
<tr>
|
1216
|
-
<td>身份证框内遮挡告警</td>
|
1217
|
-
</tr>
|
1218
|
-
<tr>
|
1219
|
-
<td>临时身份证告警</td>
|
1220
|
-
</tr>
|
1221
|
-
<tr>
|
1222
|
-
<td>身份证疑似存在PS痕迹告警</td>
|
1223
|
-
</tr>
|
1224
|
-
<tr>
|
1225
|
-
<td>图片模糊告警(可根据图片质量分数判断)</td>
|
1226
|
-
</tr>
|
1227
|
-
</tbody>
|
1228
|
-
</table>
|
1229
|
-
|
1230
|
-
默认接口请求频率限制:20次/秒。
|
1231
|
-
*/
|
1232
|
-
async IDCardOCR(
|
1233
|
-
req: IDCardOCRRequest,
|
1234
|
-
cb?: (error: string, rep: IDCardOCRResponse) => void
|
1235
|
-
): Promise<IDCardOCRResponse> {
|
1236
|
-
return this.request("IDCardOCR", req, cb)
|
1237
|
-
}
|
1238
|
-
|
1239
|
-
/**
|
1240
|
-
* 本接口支持多种类型证件有效性检测告警,包括卡证复印件告警、卡证翻拍告警等功能。可以应用于各种证件信息有效性校验场景,例如银行开户、用户注册等场景。
|
1241
|
-
*/
|
1242
|
-
async RecognizeGeneralTextImageWarn(
|
1243
|
-
req: RecognizeGeneralTextImageWarnRequest,
|
1244
|
-
cb?: (error: string, rep: RecognizeGeneralTextImageWarnResponse) => void
|
1245
|
-
): Promise<RecognizeGeneralTextImageWarnResponse> {
|
1246
|
-
return this.request("RecognizeGeneralTextImageWarn", req, cb)
|
1247
|
-
}
|
1248
|
-
|
1249
|
-
/**
|
1250
|
-
* 本接口支持事业单位法人证书关键字段识别,包括注册号、有效期、住所、名称、法定代表人等。
|
1251
|
-
|
1252
|
-
默认接口请求频率限制:5次/秒。
|
1253
|
-
*/
|
1254
|
-
async InstitutionOCR(
|
1255
|
-
req: InstitutionOCRRequest,
|
1256
|
-
cb?: (error: string, rep: InstitutionOCRResponse) => void
|
1257
|
-
): Promise<InstitutionOCRResponse> {
|
1258
|
-
return this.request("InstitutionOCR", req, cb)
|
1259
|
-
}
|
1260
|
-
|
1261
|
-
/**
|
1262
|
-
* 本接口支持智能提取各类证照、票据、表单、合同等结构化场景的key:value字段信息,并支持提取表格信息的key:value组的结构化,灵活高效,适用于各类非标准材料的信息录入场景,点击[立即体验](https://cloud.tencent.com/product/smart-ocr)。
|
1263
|
-
|
1264
|
-
默认接口请求频率限制:5次/秒。
|
1265
|
-
*/
|
1266
|
-
async SmartStructuralOCRV2(
|
1267
|
-
req: SmartStructuralOCRV2Request,
|
1268
|
-
cb?: (error: string, rep: SmartStructuralOCRV2Response) => void
|
1269
|
-
): Promise<SmartStructuralOCRV2Response> {
|
1270
|
-
return this.request("SmartStructuralOCRV2", req, cb)
|
1271
|
-
}
|
1272
|
-
|
1273
|
-
/**
|
1274
|
-
* 本接口支持中英文图片/PDF内常规表格、无线表格、多表格的检测和识别,返回每个单元格的文字内容,支持旋转的表格图片识别,且支持将识别结果保存为 Excel 格式。识别效果比表格识别V2更好,覆盖场景更加广泛,对表格难例场景,如无线表格、嵌套表格(有线表格中包含无线表格)的识别效果均优于表格识别V2。点击[立即体验](https://cloud.tencent.com/act/event/ocrdemo)。
|
1275
|
-
|
1276
|
-
默认接口请求频率限制:2次/秒。
|
1277
|
-
*/
|
1278
|
-
async RecognizeTableAccurateOCR(
|
1279
|
-
req: RecognizeTableAccurateOCRRequest,
|
1280
|
-
cb?: (error: string, rep: RecognizeTableAccurateOCRResponse) => void
|
1281
|
-
): Promise<RecognizeTableAccurateOCRResponse> {
|
1282
|
-
return this.request("RecognizeTableAccurateOCR", req, cb)
|
1283
|
-
}
|
1284
|
-
|
1285
|
-
/**
|
1286
|
-
* 本接口支持多张、多类型票据的混合检测和自动分类,返回对应票据类型。目前已支持增值税发票、增值税发票(卷票)、定额发票、通用机打发票、购车发票、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票、酒店账单、客运限额发票、购物小票、完税证明共15种票据。
|
1287
|
-
默认接口请求频率限制:5次/秒。
|
1288
|
-
*/
|
1289
|
-
async MixedInvoiceDetect(
|
1290
|
-
req: MixedInvoiceDetectRequest,
|
1291
|
-
cb?: (error: string, rep: MixedInvoiceDetectResponse) => void
|
1292
|
-
): Promise<MixedInvoiceDetectResponse> {
|
1293
|
-
return this.request("MixedInvoiceDetect", req, cb)
|
1294
|
-
}
|
1295
|
-
|
1296
|
-
/**
|
1297
|
-
* 本接口支持对增值税发票(卷票)关键字段的识别,包括的发票代码、合计金额(小写)、合计金额(大写)、开票日期、发票号码、购买方识别号、销售方识别号、校验码、销售方名称、购买方名称、发票消费类型、省、市、是否有公司印章、单价、金额、数量、服务类型、品名、种类等。
|
1298
|
-
|
1299
|
-
默认接口请求频率限制:5次/秒。
|
1300
|
-
*/
|
1301
|
-
async VatRollInvoiceOCR(
|
1302
|
-
req: VatRollInvoiceOCRRequest,
|
1303
|
-
cb?: (error: string, rep: VatRollInvoiceOCRResponse) => void
|
1304
|
-
): Promise<VatRollInvoiceOCRResponse> {
|
1305
|
-
return this.request("VatRollInvoiceOCR", req, cb)
|
1306
|
-
}
|
1307
|
-
|
1308
|
-
/**
|
1309
|
-
* 本接口支持定额发票的发票号码、发票代码、金额(大小写)、发票消费类型、地区及是否有公司印章等关键字段的识别。
|
1310
|
-
|
1311
|
-
默认接口请求频率限制:5次/秒。
|
1312
|
-
*/
|
1313
|
-
async QuotaInvoiceOCR(
|
1314
|
-
req: QuotaInvoiceOCRRequest,
|
1315
|
-
cb?: (error: string, rep: QuotaInvoiceOCRResponse) => void
|
1316
|
-
): Promise<QuotaInvoiceOCRResponse> {
|
1317
|
-
return this.request("QuotaInvoiceOCR", req, cb)
|
1318
|
-
}
|
1319
|
-
|
1320
|
-
/**
|
1321
|
-
* 本接口支持图片内手写体文字的检测和识别,针对手写字体无规则、字迹潦草、模糊等特点进行了识别能力的增强。
|
1322
|
-
|
1323
|
-
默认接口请求频率限制:10次/秒。
|
1324
|
-
*/
|
1325
|
-
async GeneralHandwritingOCR(
|
1326
|
-
req: GeneralHandwritingOCRRequest,
|
1327
|
-
cb?: (error: string, rep: GeneralHandwritingOCRResponse) => void
|
1328
|
-
): Promise<GeneralHandwritingOCRResponse> {
|
1329
|
-
return this.request("GeneralHandwritingOCR", req, cb)
|
1330
|
-
}
|
1331
|
-
|
1332
|
-
/**
|
1333
|
-
* 本接口支持网约车行程单关键字段的识别,包括行程起止日期、上车时间、起点、终点、里程、金额等字段。
|
1334
|
-
|
1335
|
-
默认接口请求频率限制:20次/秒。
|
1336
|
-
*/
|
1337
|
-
async RecognizeOnlineTaxiItineraryOCR(
|
1338
|
-
req: RecognizeOnlineTaxiItineraryOCRRequest,
|
1339
|
-
cb?: (error: string, rep: RecognizeOnlineTaxiItineraryOCRResponse) => void
|
1340
|
-
): Promise<RecognizeOnlineTaxiItineraryOCRResponse> {
|
1341
|
-
return this.request("RecognizeOnlineTaxiItineraryOCR", req, cb)
|
1342
|
-
}
|
1343
|
-
|
1344
|
-
/**
|
1345
|
-
* 本接口支持中英文图片/ PDF内常规表格、无线表格、多表格的检测和识别,支持日文有线表格识别,返回每个单元格的文字内容,支持旋转的表格图片识别,且支持将识别结果保存为 Excel 格式。
|
985
|
+
/**
|
986
|
+
* 本接口支持中英文图片/ PDF内常规表格、无线表格、多表格的检测和识别,支持日文有线表格识别,返回每个单元格的文字内容,支持旋转的表格图片识别,且支持将识别结果保存为 Excel 格式。
|
1346
987
|
|
1347
988
|
默认接口请求频率限制:10次/秒。
|
1348
989
|
*/
|
@@ -1368,290 +1009,252 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
1368
1009
|
}
|
1369
1010
|
|
1370
1011
|
/**
|
1371
|
-
*
|
1372
|
-
|
1373
|
-
默认接口请求频率限制:10次/秒。
|
1374
|
-
*/
|
1375
|
-
async WaybillOCR(
|
1376
|
-
req: WaybillOCRRequest,
|
1377
|
-
cb?: (error: string, rep: WaybillOCRResponse) => void
|
1378
|
-
): Promise<WaybillOCRResponse> {
|
1379
|
-
return this.request("WaybillOCR", req, cb)
|
1380
|
-
}
|
1381
|
-
|
1382
|
-
/**
|
1383
|
-
* 港澳台居住证OCR支持港澳台居住证正反面全字段内容检测识别功能,包括姓名、性别、出生日期、地址、身份证号、签发机关、有效期限、签发次数、通行证号码关键字段识别。可以应用于港澳台居住证信息识别场景,例如银行开户、用户注册等。
|
1012
|
+
* 本接口支持对完税证明的税号、纳税人识别号、纳税人名称、金额合计大写、金额合计小写、填发日期、税务机关、填票人等关键字段的识别。
|
1384
1013
|
|
1385
|
-
默认接口请求频率限制:
|
1014
|
+
默认接口请求频率限制:5次/秒。
|
1386
1015
|
*/
|
1387
|
-
async
|
1388
|
-
req:
|
1389
|
-
cb?: (error: string, rep:
|
1390
|
-
): Promise<
|
1391
|
-
return this.request("
|
1016
|
+
async DutyPaidProofOCR(
|
1017
|
+
req: DutyPaidProofOCRRequest,
|
1018
|
+
cb?: (error: string, rep: DutyPaidProofOCRResponse) => void
|
1019
|
+
): Promise<DutyPaidProofOCRResponse> {
|
1020
|
+
return this.request("DutyPaidProofOCR", req, cb)
|
1392
1021
|
}
|
1393
1022
|
|
1394
1023
|
/**
|
1395
|
-
*
|
1024
|
+
* 本接口支持机票行程单关键字段的识别,包括旅客姓名、有效身份证件号码、电子客票号码、验证码、填开单位、其他税费、燃油附加费、民航发展基金、保险费、销售单位代号、始发地、目的地、航班号、时间、日期、座位等级、承运人、发票消费类型、票价、合计金额、填开日期、国内国际标签、印刷序号、客票级别/类别、客票生效日期、有效期截止日期、免费行李等字段,支持航班信息多行明细输出。
|
1396
1025
|
|
1397
1026
|
默认接口请求频率限制:5次/秒。
|
1398
1027
|
*/
|
1399
|
-
async
|
1400
|
-
req:
|
1401
|
-
cb?: (error: string, rep:
|
1402
|
-
): Promise<
|
1403
|
-
return this.request("
|
1028
|
+
async FlightInvoiceOCR(
|
1029
|
+
req: FlightInvoiceOCRRequest,
|
1030
|
+
cb?: (error: string, rep: FlightInvoiceOCRResponse) => void
|
1031
|
+
): Promise<FlightInvoiceOCRResponse> {
|
1032
|
+
return this.request("FlightInvoiceOCR", req, cb)
|
1404
1033
|
}
|
1405
1034
|
|
1406
1035
|
/**
|
1407
|
-
*
|
1036
|
+
* 本接口支持对卡式港澳台通行证的识别,包括签发地点、签发机关、有效期限、性别、出生日期、英文姓名、姓名、证件号等字段。
|
1408
1037
|
|
1409
|
-
默认接口请求频率限制:
|
1038
|
+
默认接口请求频率限制:10次/秒。
|
1410
1039
|
*/
|
1411
|
-
async
|
1412
|
-
req:
|
1413
|
-
cb?: (error: string, rep:
|
1414
|
-
): Promise<
|
1415
|
-
return this.request("
|
1040
|
+
async PermitOCR(
|
1041
|
+
req: PermitOCRRequest,
|
1042
|
+
cb?: (error: string, rep: PermitOCRResponse) => void
|
1043
|
+
): Promise<PermitOCRResponse> {
|
1044
|
+
return this.request("PermitOCR", req, cb)
|
1416
1045
|
}
|
1417
1046
|
|
1418
1047
|
/**
|
1419
|
-
*
|
1048
|
+
* 本接口支持组织机构代码证关键字段的识别,包括代码、有效期、地址、机构名称等。
|
1420
1049
|
|
1421
1050
|
默认接口请求频率限制:5次/秒。
|
1422
1051
|
*/
|
1423
|
-
async
|
1424
|
-
req:
|
1425
|
-
cb?: (error: string, rep:
|
1426
|
-
): Promise<
|
1427
|
-
return this.request("
|
1052
|
+
async OrgCodeCertOCR(
|
1053
|
+
req: OrgCodeCertOCRRequest,
|
1054
|
+
cb?: (error: string, rep: OrgCodeCertOCRResponse) => void
|
1055
|
+
): Promise<OrgCodeCertOCRResponse> {
|
1056
|
+
return this.request("OrgCodeCertOCR", req, cb)
|
1428
1057
|
}
|
1429
1058
|
|
1430
1059
|
/**
|
1431
|
-
|
1432
|
-
|
1433
|
-
|
1434
|
-
|
1435
|
-
|
1436
|
-
|
1437
|
-
|
1438
|
-
): Promise<RecognizePhilippinesVoteIDOCRResponse> {
|
1439
|
-
return this.request("RecognizePhilippinesVoteIDOCR", req, cb)
|
1060
|
+
* 本接口通过检测图片中的文字信息特征,快速判断图片中有无文字并返回判断结果,帮助用户过滤无文字的图片。
|
1061
|
+
*/
|
1062
|
+
async TextDetect(
|
1063
|
+
req: TextDetectRequest,
|
1064
|
+
cb?: (error: string, rep: TextDetectResponse) => void
|
1065
|
+
): Promise<TextDetectResponse> {
|
1066
|
+
return this.request("TextDetect", req, cb)
|
1440
1067
|
}
|
1441
1068
|
|
1442
1069
|
/**
|
1443
|
-
*
|
1070
|
+
* 本接口支持常见银行票据的自动分类和识别。切片识别包括金融行业常见票据的重要切片字段识别,包括金额、账号、日期、凭证号码等。(金融票据切片:金融票据中待识别字段及其周围局部区域的裁剪图像。)
|
1444
1071
|
|
1445
|
-
默认接口请求频率限制:
|
1072
|
+
默认接口请求频率限制:5次/秒。
|
1446
1073
|
*/
|
1447
|
-
async
|
1448
|
-
req:
|
1449
|
-
cb?: (error: string, rep:
|
1450
|
-
): Promise<
|
1451
|
-
return this.request("
|
1074
|
+
async FinanBillSliceOCR(
|
1075
|
+
req: FinanBillSliceOCRRequest,
|
1076
|
+
cb?: (error: string, rep: FinanBillSliceOCRResponse) => void
|
1077
|
+
): Promise<FinanBillSliceOCRResponse> {
|
1078
|
+
return this.request("FinanBillSliceOCR", req, cb)
|
1452
1079
|
}
|
1453
1080
|
|
1454
1081
|
/**
|
1455
|
-
*
|
1082
|
+
* 本接口支持识别公路汽车客票关键字段的识别,包括发票代码、发票号码、日期、票价、始发地、目的地、姓名、时间、发票消费类型、身份证号、省、市、开票日期、乘车地点、检票口、客票类型、车型、座位号、车次等。
|
1456
1083
|
|
1457
1084
|
默认接口请求频率限制:5次/秒。
|
1458
1085
|
*/
|
1459
|
-
async
|
1460
|
-
req:
|
1461
|
-
cb?: (error: string, rep:
|
1462
|
-
): Promise<
|
1463
|
-
return this.request("
|
1086
|
+
async BusInvoiceOCR(
|
1087
|
+
req: BusInvoiceOCRRequest,
|
1088
|
+
cb?: (error: string, rep: BusInvoiceOCRResponse) => void
|
1089
|
+
): Promise<BusInvoiceOCRResponse> {
|
1090
|
+
return this.request("BusInvoiceOCR", req, cb)
|
1464
1091
|
}
|
1465
1092
|
|
1466
1093
|
/**
|
1467
|
-
*
|
1094
|
+
* 医疗发票识别目前支持全国统一门诊发票、全国统一住院发票、以及部分地方的门诊和住院发票的识别。
|
1468
1095
|
|
1469
|
-
默认接口请求频率限制:
|
1096
|
+
默认接口请求频率限制:5次/秒。
|
1470
1097
|
*/
|
1471
|
-
async
|
1472
|
-
req:
|
1473
|
-
cb?: (error: string, rep:
|
1474
|
-
): Promise<
|
1475
|
-
return this.request("
|
1476
|
-
}
|
1477
|
-
|
1478
|
-
/**
|
1479
|
-
* 韩国身份证识别
|
1480
|
-
*/
|
1481
|
-
async RecognizeKoreanIDCardOCR(
|
1482
|
-
req: RecognizeKoreanIDCardOCRRequest,
|
1483
|
-
cb?: (error: string, rep: RecognizeKoreanIDCardOCRResponse) => void
|
1484
|
-
): Promise<RecognizeKoreanIDCardOCRResponse> {
|
1485
|
-
return this.request("RecognizeKoreanIDCardOCR", req, cb)
|
1486
|
-
}
|
1487
|
-
|
1488
|
-
/**
|
1489
|
-
* 本接口支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(铁路电子客票)、电子发票(航空运输电子客票行程单)识别,返回发票代码、发票号码、开票日期、验证码、机器编号、密码区,购买方和销售方信息,包括名称、纳税人识别号、地址电话、开户行及账号,以及价税合计、开票人、收款人、复核人、税额、不含税金额等字段信息。
|
1490
|
-
*/
|
1491
|
-
async VerifyOfdVatInvoiceOCR(
|
1492
|
-
req: VerifyOfdVatInvoiceOCRRequest,
|
1493
|
-
cb?: (error: string, rep: VerifyOfdVatInvoiceOCRResponse) => void
|
1494
|
-
): Promise<VerifyOfdVatInvoiceOCRResponse> {
|
1495
|
-
return this.request("VerifyOfdVatInvoiceOCR", req, cb)
|
1098
|
+
async RecognizeMedicalInvoiceOCR(
|
1099
|
+
req: RecognizeMedicalInvoiceOCRRequest,
|
1100
|
+
cb?: (error: string, rep: RecognizeMedicalInvoiceOCRResponse) => void
|
1101
|
+
): Promise<RecognizeMedicalInvoiceOCRResponse> {
|
1102
|
+
return this.request("RecognizeMedicalInvoiceOCR", req, cb)
|
1496
1103
|
}
|
1497
1104
|
|
1498
1105
|
/**
|
1499
|
-
*
|
1500
|
-
|
1501
|
-
驾驶证主页:包括证号、姓名、性别、国籍、住址、出生日期、初次领证日期、准驾车型、有效期限、发证单位
|
1502
|
-
|
1503
|
-
驾驶证副页:包括证号、姓名、档案编号、记录。
|
1504
|
-
|
1505
|
-
另外,本接口还支持复印件、翻拍告警功能。同时支持识别交管12123 APP发放的电子驾驶证正页。
|
1506
|
-
|
1507
|
-
电子驾驶证正页:包括证号、姓名、性别、国籍、出生日期、初次领证日期、准驾车型、有效期开始时间、有效期截止时间、档案编号、状态、累积记分。
|
1106
|
+
* 本接口支持增值税专用发票、增值税普通发票、增值税电子专票、增值税电子普票、电子发票(普通发票)、电子发票(增值税专用发票)全字段的内容检测和识别,包括发票代码、发票号码、打印发票代码、打印发票号码、开票日期、合计金额、校验码、税率、合计税额、价税合计、购买方识别号、复核、销售方识别号、开票人、密码区1、密码区2、密码区3、密码区4、发票名称、购买方名称、销售方名称、服务名称、备注、规格型号、数量、单价、金额、税额、收款人等字段,点击[立即试用](https://cloud.tencent.com/product/ocr)。
|
1508
1107
|
|
1509
1108
|
默认接口请求频率限制:10次/秒。
|
1510
1109
|
*/
|
1511
|
-
async
|
1512
|
-
req:
|
1513
|
-
cb?: (error: string, rep:
|
1514
|
-
): Promise<
|
1515
|
-
return this.request("
|
1110
|
+
async VatInvoiceOCR(
|
1111
|
+
req: VatInvoiceOCRRequest,
|
1112
|
+
cb?: (error: string, rep: VatInvoiceOCRResponse) => void
|
1113
|
+
): Promise<VatInvoiceOCRResponse> {
|
1114
|
+
return this.request("VatInvoiceOCR", req, cb)
|
1516
1115
|
}
|
1517
1116
|
|
1518
1117
|
/**
|
1519
|
-
|
1520
|
-
*/
|
1521
|
-
async RecognizeKoreanDrivingLicenseOCR(
|
1522
|
-
req: RecognizeKoreanDrivingLicenseOCRRequest,
|
1523
|
-
cb?: (error: string, rep: RecognizeKoreanDrivingLicenseOCRResponse) => void
|
1524
|
-
): Promise<RecognizeKoreanDrivingLicenseOCRResponse> {
|
1525
|
-
return this.request("RecognizeKoreanDrivingLicenseOCR", req, cb)
|
1526
|
-
}
|
1118
|
+
* <b>此接口为表格识别的旧版本服务,不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/49525">新版表格识别</a>。</b>
|
1527
1119
|
|
1528
|
-
|
1529
|
-
* 本接口支持常见银行票据的自动分类和识别。整单识别包括支票(含现金支票、普通支票、转账支票),承兑汇票(含银行承兑汇票、商业承兑汇票)以及进账单等,适用于中国人民银行印发的 2010 版银行票据凭证版式(银发[2010]299 号)。
|
1120
|
+
本接口支持图片内表格文档的检测和识别,返回每个单元格的文字内容,支持将识别结果保存为 Excel 格式。
|
1530
1121
|
|
1531
|
-
默认接口请求频率限制:
|
1122
|
+
默认接口请求频率限制:10次/秒。
|
1532
1123
|
*/
|
1533
|
-
async
|
1534
|
-
req:
|
1535
|
-
cb?: (error: string, rep:
|
1536
|
-
): Promise<
|
1537
|
-
return this.request("
|
1124
|
+
async TableOCR(
|
1125
|
+
req: TableOCRRequest,
|
1126
|
+
cb?: (error: string, rep: TableOCRResponse) => void
|
1127
|
+
): Promise<TableOCRResponse> {
|
1128
|
+
return this.request("TableOCR", req, cb)
|
1538
1129
|
}
|
1539
1130
|
|
1540
1131
|
/**
|
1541
|
-
*
|
1132
|
+
* 本接口支持网约车驾驶证关键字段的识别,包括姓名、证号、起始日期、截止日期、发证日期。
|
1542
1133
|
|
1543
1134
|
默认接口请求频率限制:5次/秒。
|
1544
1135
|
*/
|
1545
|
-
async
|
1546
|
-
req:
|
1547
|
-
cb?: (error: string, rep:
|
1548
|
-
): Promise<
|
1549
|
-
return this.request("
|
1136
|
+
async RideHailingDriverLicenseOCR(
|
1137
|
+
req: RideHailingDriverLicenseOCRRequest,
|
1138
|
+
cb?: (error: string, rep: RideHailingDriverLicenseOCRResponse) => void
|
1139
|
+
): Promise<RideHailingDriverLicenseOCRResponse> {
|
1140
|
+
return this.request("RideHailingDriverLicenseOCR", req, cb)
|
1550
1141
|
}
|
1551
1142
|
|
1552
1143
|
/**
|
1553
|
-
*
|
1144
|
+
* 港澳台居住证OCR支持港澳台居住证正反面全字段内容检测识别功能,包括姓名、性别、出生日期、地址、身份证号、签发机关、有效期限、签发次数、通行证号码关键字段识别。可以应用于港澳台居住证信息识别场景,例如银行开户、用户注册等。
|
1554
1145
|
|
1555
|
-
默认接口请求频率限制:
|
1146
|
+
默认接口请求频率限制:20次/秒。
|
1556
1147
|
*/
|
1557
|
-
async
|
1558
|
-
req:
|
1559
|
-
cb?: (error: string, rep:
|
1560
|
-
): Promise<
|
1561
|
-
return this.request("
|
1148
|
+
async HmtResidentPermitOCR(
|
1149
|
+
req: HmtResidentPermitOCRRequest,
|
1150
|
+
cb?: (error: string, rep: HmtResidentPermitOCRResponse) => void
|
1151
|
+
): Promise<HmtResidentPermitOCRResponse> {
|
1152
|
+
return this.request("HmtResidentPermitOCR", req, cb)
|
1562
1153
|
}
|
1563
1154
|
|
1564
1155
|
/**
|
1565
|
-
|
1566
|
-
|
1567
|
-
|
1568
|
-
|
1569
|
-
|
1570
|
-
|
1571
|
-
|
1572
|
-
return this.request("MLIDCardOCR", req, cb)
|
1156
|
+
* 本接口支持多种类型证件有效性检测告警,包括卡证复印件告警、卡证翻拍告警等功能。可以应用于各种证件信息有效性校验场景,例如银行开户、用户注册等场景。
|
1157
|
+
*/
|
1158
|
+
async RecognizeGeneralTextImageWarn(
|
1159
|
+
req: RecognizeGeneralTextImageWarnRequest,
|
1160
|
+
cb?: (error: string, rep: RecognizeGeneralTextImageWarnResponse) => void
|
1161
|
+
): Promise<RecognizeGeneralTextImageWarnResponse> {
|
1162
|
+
return this.request("RecognizeGeneralTextImageWarn", req, cb)
|
1573
1163
|
}
|
1574
1164
|
|
1575
1165
|
/**
|
1576
|
-
*
|
1166
|
+
* 本接口支持识别并提取各类证照、票据、表单、合同等结构化场景的字段信息。无需任何配置,灵活高效。适用于各类结构化信息录入场景。
|
1577
1167
|
|
1578
1168
|
默认接口请求频率限制:5次/秒。
|
1579
1169
|
*/
|
1580
|
-
async
|
1581
|
-
req:
|
1582
|
-
cb?: (error: string, rep:
|
1583
|
-
): Promise<
|
1584
|
-
return this.request("
|
1170
|
+
async SmartStructuralOCR(
|
1171
|
+
req: SmartStructuralOCRRequest,
|
1172
|
+
cb?: (error: string, rep: SmartStructuralOCRResponse) => void
|
1173
|
+
): Promise<SmartStructuralOCRResponse> {
|
1174
|
+
return this.request("SmartStructuralOCR", req, cb)
|
1585
1175
|
}
|
1586
1176
|
|
1587
1177
|
/**
|
1588
|
-
*
|
1178
|
+
* 本接口支持作业算式题目的自动识别和判分,目前覆盖 K12 学力范围内的 11 种题型,包括加减乘除四则、加减乘除已知结果求运算因子、判断大小、约等于估算、带余数除法、分数四则运算、单位换算、竖式加减法、竖式乘除法、脱式计算和解方程,平均识别精度达到93%以上。
|
1589
1179
|
|
1590
1180
|
默认接口请求频率限制:10次/秒。
|
1591
1181
|
*/
|
1592
|
-
async
|
1593
|
-
req:
|
1594
|
-
cb?: (error: string, rep:
|
1595
|
-
): Promise<
|
1596
|
-
return this.request("
|
1182
|
+
async ArithmeticOCR(
|
1183
|
+
req: ArithmeticOCRRequest,
|
1184
|
+
cb?: (error: string, rep: ArithmeticOCRResponse) => void
|
1185
|
+
): Promise<ArithmeticOCRResponse> {
|
1186
|
+
return this.request("ArithmeticOCR", req, cb)
|
1597
1187
|
}
|
1598
1188
|
|
1599
1189
|
/**
|
1600
|
-
*
|
1190
|
+
* 本接口支持对中国大陆机动车车牌的自动定位和识别,返回地域编号和车牌号码与车牌颜色信息。
|
1601
1191
|
|
1602
1192
|
默认接口请求频率限制:10次/秒。
|
1603
1193
|
*/
|
1604
|
-
async
|
1605
|
-
req:
|
1606
|
-
cb?: (error: string, rep:
|
1607
|
-
): Promise<
|
1608
|
-
return this.request("
|
1194
|
+
async LicensePlateOCR(
|
1195
|
+
req: LicensePlateOCRRequest,
|
1196
|
+
cb?: (error: string, rep: LicensePlateOCRResponse) => void
|
1197
|
+
): Promise<LicensePlateOCRResponse> {
|
1198
|
+
return this.request("LicensePlateOCR", req, cb)
|
1609
1199
|
}
|
1610
1200
|
|
1611
1201
|
/**
|
1612
|
-
|
1613
|
-
|
1614
|
-
|
1615
|
-
|
1616
|
-
|
1617
|
-
|
1618
|
-
|
1202
|
+
* 本接口支持不动产权证关键字段的识别,包括使用期限、面积、用途、权利性质、权利类型、坐落、共有情况、权利人、权利其他状况等。
|
1203
|
+
|
1204
|
+
默认接口请求频率限制:5次/秒。
|
1205
|
+
*/
|
1206
|
+
async EstateCertOCR(
|
1207
|
+
req: EstateCertOCRRequest,
|
1208
|
+
cb?: (error: string, rep: EstateCertOCRResponse) => void
|
1209
|
+
): Promise<EstateCertOCRResponse> {
|
1210
|
+
return this.request("EstateCertOCR", req, cb)
|
1619
1211
|
}
|
1620
1212
|
|
1621
1213
|
/**
|
1622
|
-
*
|
1214
|
+
* 支持身份证、护照、名片、银行卡、行驶证、驾驶证、港澳台通行证、户口本、港澳台来往内地通行证、港澳台居住证、不动产证、营业执照的智能分类。
|
1623
1215
|
|
1624
|
-
默认接口请求频率限制:
|
1216
|
+
默认接口请求频率限制:20次/秒。
|
1625
1217
|
*/
|
1626
|
-
async
|
1627
|
-
req:
|
1628
|
-
cb?: (error: string, rep:
|
1629
|
-
): Promise<
|
1630
|
-
return this.request("
|
1218
|
+
async ClassifyDetectOCR(
|
1219
|
+
req: ClassifyDetectOCRRequest,
|
1220
|
+
cb?: (error: string, rep: ClassifyDetectOCRResponse) => void
|
1221
|
+
): Promise<ClassifyDetectOCRResponse> {
|
1222
|
+
return this.request("ClassifyDetectOCR", req, cb)
|
1631
1223
|
}
|
1632
1224
|
|
1633
1225
|
/**
|
1634
|
-
*
|
1226
|
+
* 本接口支持各类印章主体内容、印章其他内容及形状识别,支持单图多印章识别,包括发票章、财务章等,适用于公文票据等场景。
|
1635
1227
|
|
1636
1228
|
默认接口请求频率限制:5次/秒。
|
1637
1229
|
*/
|
1638
|
-
async
|
1639
|
-
req:
|
1640
|
-
cb?: (error: string, rep:
|
1641
|
-
): Promise<
|
1642
|
-
return this.request("
|
1230
|
+
async SealOCR(
|
1231
|
+
req: SealOCRRequest,
|
1232
|
+
cb?: (error: string, rep: SealOCRResponse) => void
|
1233
|
+
): Promise<SealOCRResponse> {
|
1234
|
+
return this.request("SealOCR", req, cb)
|
1643
1235
|
}
|
1644
1236
|
|
1645
1237
|
/**
|
1646
|
-
*
|
1238
|
+
* 本接口用于识别门头照分类标签信息
|
1239
|
+
默认接口请求频率限制:1次/秒
|
1240
|
+
*/
|
1241
|
+
async ClassifyStoreName(
|
1242
|
+
req: ClassifyStoreNameRequest,
|
1243
|
+
cb?: (error: string, rep: ClassifyStoreNameResponse) => void
|
1244
|
+
): Promise<ClassifyStoreNameResponse> {
|
1245
|
+
return this.request("ClassifyStoreName", req, cb)
|
1246
|
+
}
|
1247
|
+
|
1248
|
+
/**
|
1249
|
+
* 本接口支持银行回单全字段的识别,包括付款开户行、收款开户行、付款账号、收款账号、回单类型、回单编号、币种、流水号、凭证号码、交易机构、交易金额、手续费、日期等字段信息。
|
1647
1250
|
|
1648
1251
|
默认接口请求频率限制:10次/秒。
|
1649
1252
|
*/
|
1650
|
-
async
|
1651
|
-
req:
|
1652
|
-
cb?: (error: string, rep:
|
1653
|
-
): Promise<
|
1654
|
-
return this.request("
|
1253
|
+
async BankSlipOCR(
|
1254
|
+
req: BankSlipOCRRequest,
|
1255
|
+
cb?: (error: string, rep: BankSlipOCRResponse) => void
|
1256
|
+
): Promise<BankSlipOCRResponse> {
|
1257
|
+
return this.request("BankSlipOCR", req, cb)
|
1655
1258
|
}
|
1656
1259
|
|
1657
1260
|
/**
|
@@ -1740,6 +1343,18 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
1740
1343
|
return this.request("AdvertiseOCR", req, cb)
|
1741
1344
|
}
|
1742
1345
|
|
1346
|
+
/**
|
1347
|
+
* 本接口支持火车票全字段的识别,包括编号、出发站、到达站、出发时间、车次、座位号、姓名、票价、席别、身份证号、发票消费类型、序列号、加收票价、手续费、大写金额、售票站、原票价、发票类型、收据号码、是否仅供报销使用等字段的识别。
|
1348
|
+
|
1349
|
+
默认接口请求频率限制:5次/秒。
|
1350
|
+
*/
|
1351
|
+
async TrainTicketOCR(
|
1352
|
+
req: TrainTicketOCRRequest,
|
1353
|
+
cb?: (error: string, rep: TrainTicketOCRResponse) => void
|
1354
|
+
): Promise<TrainTicketOCRResponse> {
|
1355
|
+
return this.request("TrainTicketOCR", req, cb)
|
1356
|
+
}
|
1357
|
+
|
1743
1358
|
/**
|
1744
1359
|
* 本接口支持居民户口簿户主页及成员页关键字段的识别,包括姓名、户别、地址、籍贯、身份证号码等。
|
1745
1360
|
|
@@ -1753,15 +1368,165 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
1753
1368
|
}
|
1754
1369
|
|
1755
1370
|
/**
|
1756
|
-
*
|
1371
|
+
* 本接口支持通信大数据行程卡识别,包括行程卡颜色、更新时间、途经地、存在中高风险地区的城市、电话号码,五个字段的识别结果输出。
|
1372
|
+
|
1373
|
+
默认接口请求频率限制:20次/秒。
|
1374
|
+
*/
|
1375
|
+
async RecognizeTravelCardOCR(
|
1376
|
+
req: RecognizeTravelCardOCRRequest,
|
1377
|
+
cb?: (error: string, rep: RecognizeTravelCardOCRResponse) => void
|
1378
|
+
): Promise<RecognizeTravelCardOCRResponse> {
|
1379
|
+
return this.request("RecognizeTravelCardOCR", req, cb)
|
1380
|
+
}
|
1381
|
+
|
1382
|
+
/**
|
1383
|
+
* 本接口支持事业单位法人证书关键字段识别,包括注册号、有效期、住所、名称、法定代表人等。
|
1384
|
+
|
1385
|
+
默认接口请求频率限制:5次/秒。
|
1386
|
+
*/
|
1387
|
+
async InstitutionOCR(
|
1388
|
+
req: InstitutionOCRRequest,
|
1389
|
+
cb?: (error: string, rep: InstitutionOCRResponse) => void
|
1390
|
+
): Promise<InstitutionOCRResponse> {
|
1391
|
+
return this.request("InstitutionOCR", req, cb)
|
1392
|
+
}
|
1393
|
+
|
1394
|
+
/**
|
1395
|
+
* 本接口支持图像英文文字的检测和识别,返回文字框位置与文字内容。支持多场景、任意版面下的英文、字母、数字和常见字符的识别,同时覆盖英文印刷体和英文手写体识别。
|
1396
|
+
|
1397
|
+
默认接口请求频率限制:10次/秒。
|
1398
|
+
*/
|
1399
|
+
async EnglishOCR(
|
1400
|
+
req: EnglishOCRRequest,
|
1401
|
+
cb?: (error: string, rep: EnglishOCRResponse) => void
|
1402
|
+
): Promise<EnglishOCRResponse> {
|
1403
|
+
return this.request("EnglishOCR", req, cb)
|
1404
|
+
}
|
1405
|
+
|
1406
|
+
/**
|
1407
|
+
* 本接口支持二代身份证、临时身份证、港澳台居住证、外国人永久居留证,字段内容识别功能,包括姓名、性别、民族、出生、出生日期、住址、公民身份号码、签发机关、有效期限、国籍、通行证号码、持证人持有号码;支持返回证件类型;支持翻拍、复印、边框不完整、遮挡、字段级反光和字段级完整性告警;支持卡片主体框裁剪和头像裁剪。
|
1408
|
+
|
1409
|
+
默认接口请求频率限制:20次/秒。
|
1410
|
+
*/
|
1411
|
+
async RecognizeValidIDCardOCR(
|
1412
|
+
req: RecognizeValidIDCardOCRRequest,
|
1413
|
+
cb?: (error: string, rep: RecognizeValidIDCardOCRResponse) => void
|
1414
|
+
): Promise<RecognizeValidIDCardOCRResponse> {
|
1415
|
+
return this.request("RecognizeValidIDCardOCR", req, cb)
|
1416
|
+
}
|
1417
|
+
|
1418
|
+
/**
|
1419
|
+
* 本接口支持对中国大陆主流银行卡正反面关键字段的检测与识别,包括卡号、卡类型、卡名字、银行信息、有效期。支持竖排异形卡识别、多角度旋转图片识别。支持对复印件、翻拍件、边框遮挡的银行卡进行告警,可应用于各种银行卡信息有效性校验场景,如金融行业身份认证、第三方支付绑卡等场景。
|
1420
|
+
|
1421
|
+
默认接口请求频率限制:10次/秒。
|
1422
|
+
*/
|
1423
|
+
async BankCardOCR(
|
1424
|
+
req: BankCardOCRRequest,
|
1425
|
+
cb?: (error: string, rep: BankCardOCRResponse) => void
|
1426
|
+
): Promise<BankCardOCRResponse> {
|
1427
|
+
return this.request("BankCardOCR", req, cb)
|
1428
|
+
}
|
1429
|
+
|
1430
|
+
/**
|
1431
|
+
* 本接口支持机动车销售统一发票和二手车销售统一发票的识别,包括发票号码、发票代码、合计金额、合计税额等二十多个字段。
|
1432
|
+
|
1433
|
+
默认接口请求频率限制:5次/秒。
|
1434
|
+
*/
|
1435
|
+
async CarInvoiceOCR(
|
1436
|
+
req: CarInvoiceOCRRequest,
|
1437
|
+
cb?: (error: string, rep: CarInvoiceOCRResponse) => void
|
1438
|
+
): Promise<CarInvoiceOCRResponse> {
|
1439
|
+
return this.request("CarInvoiceOCR", req, cb)
|
1440
|
+
}
|
1441
|
+
|
1442
|
+
/**
|
1443
|
+
* 本接口支持驾驶证主页和副页所有字段的自动定位与识别,重点字段的识别准确度达到99%以上。
|
1444
|
+
|
1445
|
+
驾驶证主页:包括证号、姓名、性别、国籍、住址、出生日期、初次领证日期、准驾车型、有效期限、发证单位
|
1446
|
+
|
1447
|
+
驾驶证副页:包括证号、姓名、档案编号、记录。
|
1448
|
+
|
1449
|
+
另外,本接口还支持复印件、翻拍告警功能。同时支持识别交管12123 APP发放的电子驾驶证正页。
|
1450
|
+
|
1451
|
+
电子驾驶证正页:包括证号、姓名、性别、国籍、出生日期、初次领证日期、准驾车型、有效期开始时间、有效期截止时间、档案编号、状态、累积记分。
|
1452
|
+
|
1453
|
+
默认接口请求频率限制:10次/秒。
|
1454
|
+
*/
|
1455
|
+
async DriverLicenseOCR(
|
1456
|
+
req: DriverLicenseOCRRequest,
|
1457
|
+
cb?: (error: string, rep: DriverLicenseOCRResponse) => void
|
1458
|
+
): Promise<DriverLicenseOCRResponse> {
|
1459
|
+
return this.request("DriverLicenseOCR", req, cb)
|
1460
|
+
}
|
1461
|
+
|
1462
|
+
/**
|
1463
|
+
* 智能识别并结构化港澳台居民来往内地通行证正面全部字段,包含中文姓名、英文姓名、性别、出生日期、签发机关、有效期限、证件号、签发地点、签发次数、证件类别。
|
1464
|
+
|
1465
|
+
默认接口请求频率限制:20次/秒。
|
1466
|
+
*/
|
1467
|
+
async MainlandPermitOCR(
|
1468
|
+
req: MainlandPermitOCRRequest,
|
1469
|
+
cb?: (error: string, rep: MainlandPermitOCRResponse) => void
|
1470
|
+
): Promise<MainlandPermitOCRResponse> {
|
1471
|
+
return this.request("MainlandPermitOCR", req, cb)
|
1472
|
+
}
|
1473
|
+
|
1474
|
+
/**
|
1475
|
+
* 本接口支持识别主流初高中数学符号和公式,返回公式的 Latex 格式文本。
|
1476
|
+
|
1477
|
+
默认接口请求频率限制:5次/秒。
|
1478
|
+
*/
|
1479
|
+
async FormulaOCR(
|
1480
|
+
req: FormulaOCRRequest,
|
1481
|
+
cb?: (error: string, rep: FormulaOCRResponse) => void
|
1482
|
+
): Promise<FormulaOCRResponse> {
|
1483
|
+
return this.request("FormulaOCR", req, cb)
|
1484
|
+
}
|
1485
|
+
|
1486
|
+
/**
|
1487
|
+
* 本接口支持中国大陆地区护照个人资料页多个字段的检测与识别。已支持字段包括英文姓名、中文姓名、国家码、护照号、出生地、出生日期、国籍英文、性别英文、有效期、签发地点英文、签发日期、持证人签名、护照机读码(MRZ码)等。
|
1488
|
+
|
1489
|
+
默认接口请求频率限制:10次/秒。
|
1490
|
+
*/
|
1491
|
+
async PassportOCR(
|
1492
|
+
req: PassportOCRRequest,
|
1493
|
+
cb?: (error: string, rep: PassportOCRResponse) => void
|
1494
|
+
): Promise<PassportOCRResponse> {
|
1495
|
+
return this.request("PassportOCR", req, cb)
|
1496
|
+
}
|
1497
|
+
|
1498
|
+
/**
|
1499
|
+
* 本接口支持常见银行票据的自动分类和识别。整单识别包括支票(含现金支票、普通支票、转账支票),承兑汇票(含银行承兑汇票、商业承兑汇票)以及进账单等,适用于中国人民银行印发的 2010 版银行票据凭证版式(银发[2010]299 号)。
|
1500
|
+
|
1501
|
+
默认接口请求频率限制:5次/秒。
|
1502
|
+
*/
|
1503
|
+
async FinanBillOCR(
|
1504
|
+
req: FinanBillOCRRequest,
|
1505
|
+
cb?: (error: string, rep: FinanBillOCRResponse) => void
|
1506
|
+
): Promise<FinanBillOCRResponse> {
|
1507
|
+
return this.request("FinanBillOCR", req, cb)
|
1508
|
+
}
|
1509
|
+
|
1510
|
+
/**
|
1511
|
+
* 本接口支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(铁路电子客票)、电子发票(航空运输电子客票行程单)识别,返回发票代码、发票号码、开票日期、验证码、机器编号、密码区,购买方和销售方信息,包括名称、纳税人识别号、地址电话、开户行及账号,以及价税合计、开票人、收款人、复核人、税额、不含税金额等字段信息。
|
1512
|
+
*/
|
1513
|
+
async VerifyOfdVatInvoiceOCR(
|
1514
|
+
req: VerifyOfdVatInvoiceOCRRequest,
|
1515
|
+
cb?: (error: string, rep: VerifyOfdVatInvoiceOCRResponse) => void
|
1516
|
+
): Promise<VerifyOfdVatInvoiceOCRResponse> {
|
1517
|
+
return this.request("VerifyOfdVatInvoiceOCR", req, cb)
|
1518
|
+
}
|
1519
|
+
|
1520
|
+
/**
|
1521
|
+
* 本接口支持 单张、多张、多类型 票据的混合识别,同时支持自选需要识别的票据类型,已支持票种包括:增值税发票(专票、普票、卷票)、全电发票、非税发票、定额发票、通用机打发票、购车发票、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票共14种标准报销发票,并支持其他类发票的识别。
|
1757
1522
|
|
1758
1523
|
默认接口请求频率限制:5次/秒。
|
1759
1524
|
*/
|
1760
|
-
async
|
1761
|
-
req:
|
1762
|
-
cb?: (error: string, rep:
|
1763
|
-
): Promise<
|
1764
|
-
return this.request("
|
1525
|
+
async MixedInvoiceOCR(
|
1526
|
+
req: MixedInvoiceOCRRequest,
|
1527
|
+
cb?: (error: string, rep: MixedInvoiceOCRResponse) => void
|
1528
|
+
): Promise<MixedInvoiceOCRResponse> {
|
1529
|
+
return this.request("MixedInvoiceOCR", req, cb)
|
1765
1530
|
}
|
1766
1531
|
|
1767
1532
|
/**
|
@@ -1777,82 +1542,226 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
1777
1542
|
}
|
1778
1543
|
|
1779
1544
|
/**
|
1780
|
-
|
1781
|
-
*/
|
1782
|
-
async RecognizePhilippinesSssIDOCR(
|
1783
|
-
req: RecognizePhilippinesSssIDOCRRequest,
|
1784
|
-
cb?: (error: string, rep: RecognizePhilippinesSssIDOCRResponse) => void
|
1785
|
-
): Promise<RecognizePhilippinesSssIDOCRResponse> {
|
1786
|
-
return this.request("RecognizePhilippinesSssIDOCR", req, cb)
|
1787
|
-
}
|
1788
|
-
|
1789
|
-
/**
|
1790
|
-
* 本接口支持识别主流初高中数学符号和公式,返回公式的 Latex 格式文本。
|
1545
|
+
* 本接口支持数学试题内容的识别和结构化输出,包括通用文本解析和小学/初中/高中数学公式解析能力(包括91种题型,180种符号),公式返回格式为 Latex 格式文本。
|
1791
1546
|
|
1792
1547
|
默认接口请求频率限制:5次/秒。
|
1793
1548
|
*/
|
1794
|
-
async
|
1795
|
-
req:
|
1796
|
-
cb?: (error: string, rep:
|
1797
|
-
): Promise<
|
1798
|
-
return this.request("
|
1549
|
+
async EduPaperOCR(
|
1550
|
+
req: EduPaperOCRRequest,
|
1551
|
+
cb?: (error: string, rep: EduPaperOCRResponse) => void
|
1552
|
+
): Promise<EduPaperOCRResponse> {
|
1553
|
+
return this.request("EduPaperOCR", req, cb)
|
1799
1554
|
}
|
1800
1555
|
|
1801
1556
|
/**
|
1802
|
-
|
1803
|
-
|
1804
|
-
|
1805
|
-
|
1806
|
-
|
1807
|
-
|
1808
|
-
|
1809
|
-
): Promise<PassportOCRResponse> {
|
1810
|
-
return this.request("PassportOCR", req, cb)
|
1557
|
+
* 服务已迁移至 [文档解析](https://cloud.tencent.com/document/product/1759/107504),请跳转查看接口文档。该接口支持将图片或PDF文件转换成Markdown格式文件,可解析包括表格、公式、图片、标题、段落、页眉、页脚等内容元素,并将内容智能转换成阅读顺序。
|
1558
|
+
*/
|
1559
|
+
async ReconstructDocument(
|
1560
|
+
req: ReconstructDocumentRequest,
|
1561
|
+
cb?: (error: string, rep: ReconstructDocumentResponse) => void
|
1562
|
+
): Promise<ReconstructDocumentResponse> {
|
1563
|
+
return this.request("ReconstructDocument", req, cb)
|
1811
1564
|
}
|
1812
1565
|
|
1813
1566
|
/**
|
1814
|
-
*
|
1567
|
+
* 本接口支持泰国身份证识别,识别字段包括泰文姓名、英文姓名、地址、出生日期、身份证号码、首次领用日期、签发日期等字段。
|
1568
|
+
本接口暂未完全对外开放,如需咨询,请[联系商务](https://cloud.tencent.com/about/connect)
|
1815
1569
|
|
1816
|
-
默认接口请求频率限制:
|
1570
|
+
默认接口请求频率限制:10次/秒
|
1817
1571
|
*/
|
1818
|
-
async
|
1819
|
-
req:
|
1820
|
-
cb?: (error: string, rep:
|
1821
|
-
): Promise<
|
1822
|
-
return this.request("
|
1572
|
+
async RecognizeThaiIDCardOCR(
|
1573
|
+
req: RecognizeThaiIDCardOCRRequest,
|
1574
|
+
cb?: (error: string, rep: RecognizeThaiIDCardOCRResponse) => void
|
1575
|
+
): Promise<RecognizeThaiIDCardOCRResponse> {
|
1576
|
+
return this.request("RecognizeThaiIDCardOCR", req, cb)
|
1823
1577
|
}
|
1824
1578
|
|
1825
1579
|
/**
|
1826
|
-
|
1827
|
-
|
1828
|
-
|
1829
|
-
|
1830
|
-
|
1831
|
-
|
1832
|
-
|
1833
|
-
): Promise<RecognizeIndonesiaIDCardOCRResponse> {
|
1834
|
-
return this.request("RecognizeIndonesiaIDCardOCR", req, cb)
|
1580
|
+
* 韩国驾驶证识别
|
1581
|
+
*/
|
1582
|
+
async RecognizeKoreanDrivingLicenseOCR(
|
1583
|
+
req: RecognizeKoreanDrivingLicenseOCRRequest,
|
1584
|
+
cb?: (error: string, rep: RecognizeKoreanDrivingLicenseOCRResponse) => void
|
1585
|
+
): Promise<RecognizeKoreanDrivingLicenseOCRResponse> {
|
1586
|
+
return this.request("RecognizeKoreanDrivingLicenseOCR", req, cb)
|
1835
1587
|
}
|
1836
1588
|
|
1837
1589
|
/**
|
1838
|
-
*
|
1590
|
+
* 本接口支持 PDF多页(最多30页)、一页中单张、多张、类型票据的混合识别,同时支持单选识别某类票据,已支持票种包括:增值税发票(专票、普票、卷票、区块链发票、通行费发票)、全电发票(专票、普票)、非税发票(通用票据、统一缴纳书)、定额发票、通用机打发票、购车发票(机动车销售发票、二手车发票)、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票共14种标准报销发票,支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(机票行程单)、电子发票(铁路电子客票)的第一页识别,并支持非上述类型的其他发票的智能识别,点击[立即试用](https://cloud.tencent.com/product/ocr)。
|
1839
1591
|
|
1840
1592
|
默认接口请求频率限制:5次/秒。
|
1593
|
+
|
1594
|
+
|
1595
|
+
支持返回的细项目子票种SubType、子票种中文TypeDescription、以及对应所属大类票种Type 的说明如下列表:
|
1596
|
+
<table style="width:715px">
|
1597
|
+
<thead>
|
1598
|
+
<tr>
|
1599
|
+
<th style="width:200px">SubType 子票种英文</th>
|
1600
|
+
<th style="width:200px">TypeDescription子票种中文</th>
|
1601
|
+
<th >Type 所属大类票种</th>
|
1602
|
+
</tr>
|
1603
|
+
</thead>
|
1604
|
+
<tbody>
|
1605
|
+
<tr>
|
1606
|
+
<td> VatSpecialInvoice</td>
|
1607
|
+
<td> 增值税专用发票 </td>
|
1608
|
+
<td> 3 </td>
|
1609
|
+
</tr>
|
1610
|
+
<tr>
|
1611
|
+
<td> VatCommonInvoice</td>
|
1612
|
+
<td> 增值税普通发票 </td>
|
1613
|
+
<td> 3 </td>
|
1614
|
+
</tr>
|
1615
|
+
<tr>
|
1616
|
+
<td> VatElectronicCommonInvoice </td>
|
1617
|
+
<td> 增值税电子普通发票 </td>
|
1618
|
+
<td> 3 </td>
|
1619
|
+
</tr>
|
1620
|
+
<tr>
|
1621
|
+
<td> VatElectronicSpecialInvoice </td>
|
1622
|
+
<td> 增值税电子专用发票 </td>
|
1623
|
+
<td> 3 </td>
|
1624
|
+
</tr>
|
1625
|
+
<tr>
|
1626
|
+
<td> VatElectronicInvoiceBlockchain</td>
|
1627
|
+
<td> 区块链电子发票 </td>
|
1628
|
+
<td> 3 </td>
|
1629
|
+
</tr>
|
1630
|
+
<tr>
|
1631
|
+
<td> VatElectronicInvoiceToll</td>
|
1632
|
+
<td> 增值税电子普通发票(通行费)</td>
|
1633
|
+
<td> 3 </td>
|
1634
|
+
</tr>
|
1635
|
+
<tr>
|
1636
|
+
<td> VatSalesList</td>
|
1637
|
+
<td> 增值税销货清单</td>
|
1638
|
+
<td> 3 </td>
|
1639
|
+
</tr>
|
1640
|
+
<tr>
|
1641
|
+
<td> VatElectronicSpecialInvoiceFull</td>
|
1642
|
+
<td> 电子发票(专用发票)</td>
|
1643
|
+
<td> 16 </td>
|
1644
|
+
</tr>
|
1645
|
+
<tr>
|
1646
|
+
<td> VatElectronicInvoiceFull</td>
|
1647
|
+
<td> 电子发票(普通发票) </td>
|
1648
|
+
<td> 16 </td>
|
1649
|
+
</tr>
|
1650
|
+
<tr>
|
1651
|
+
<td> ElectronicFlightTicketFull</td>
|
1652
|
+
<td> 电子发票(机票行程单),该子类目前仅支持ofd发票</td>
|
1653
|
+
<td> 16 </td>
|
1654
|
+
</tr>
|
1655
|
+
<tr>
|
1656
|
+
<td> ElectronicTrainTicketFull</td>
|
1657
|
+
<td> 电子发票(铁路电子客票),该子类目前仅支持ofd发票</td>
|
1658
|
+
<td> 16 </td>
|
1659
|
+
</tr>
|
1660
|
+
<tr>
|
1661
|
+
<td> MotorVehicleSaleInvoice </td>
|
1662
|
+
<td> 机动车销售统一发票 </td>
|
1663
|
+
<td> 12 </td>
|
1664
|
+
</tr>
|
1665
|
+
<tr>
|
1666
|
+
<td> UsedCarPurchaseInvoice </td>
|
1667
|
+
<td> 二手车销售统一发票 </td>
|
1668
|
+
<td> 12 </td>
|
1669
|
+
</tr>
|
1670
|
+
<tr>
|
1671
|
+
<td> VatInvoiceRoll </td>
|
1672
|
+
<td> 增值税普通发票(卷票) </td>
|
1673
|
+
<td> 11 </td>
|
1674
|
+
</tr>
|
1675
|
+
<tr>
|
1676
|
+
<td> TaxiTicket </td>
|
1677
|
+
<td> 出租车发票 </td>
|
1678
|
+
<td> 0 </td>
|
1679
|
+
</tr>
|
1680
|
+
<tr>
|
1681
|
+
<td> QuotaInvoice </td>
|
1682
|
+
<td> 定额发票 </td>
|
1683
|
+
<td> 1 </td>
|
1684
|
+
</tr>
|
1685
|
+
<tr>
|
1686
|
+
<td> TrainTicket </td>
|
1687
|
+
<td> 火车票 </td>
|
1688
|
+
<td> 2 </td>
|
1689
|
+
</tr>
|
1690
|
+
<tr>
|
1691
|
+
<td> AirTransport </td>
|
1692
|
+
<td> 机票行程单 </td>
|
1693
|
+
<td> 5 </td>
|
1694
|
+
</tr>
|
1695
|
+
<tr>
|
1696
|
+
<td> MachinePrintedInvoice </td>
|
1697
|
+
<td> 通用机打发票 </td>
|
1698
|
+
<td> 8 </td>
|
1699
|
+
</tr>
|
1700
|
+
<tr>
|
1701
|
+
<td> BusInvoice </td>
|
1702
|
+
<td> 汽车票 </td>
|
1703
|
+
<td> 9 </td>
|
1704
|
+
</tr>
|
1705
|
+
<tr>
|
1706
|
+
<td> ShippingInvoice </td>
|
1707
|
+
<td> 轮船票 </td>
|
1708
|
+
<td> 10 </td>
|
1709
|
+
</tr>
|
1710
|
+
<tr>
|
1711
|
+
<td> NonTaxIncomeGeneralBill </td>
|
1712
|
+
<td> 非税收入通用票据 </td>
|
1713
|
+
<td> 15 </td>
|
1714
|
+
</tr>
|
1715
|
+
<tr>
|
1716
|
+
<td> NonTaxIncomeElectronicBill </td>
|
1717
|
+
<td> 非税收入一般缴款书(电子) </td>
|
1718
|
+
<td> 15 </td>
|
1719
|
+
</tr>
|
1720
|
+
<tr>
|
1721
|
+
<td> TollInvoice </td>
|
1722
|
+
<td> 过路过桥费发票 </td>
|
1723
|
+
<td> 13 </td>
|
1724
|
+
</tr>
|
1725
|
+
<tr>
|
1726
|
+
<td> MedicalOutpatientInvoice </td>
|
1727
|
+
<td> 医疗门诊收费票据(电子) </td>
|
1728
|
+
<td> 17 </td>
|
1729
|
+
</tr>
|
1730
|
+
<tr>
|
1731
|
+
<td> MedicalHospitalizedInvoice </td>
|
1732
|
+
<td> 医疗住院收费票据(电子) </td>
|
1733
|
+
<td> 17 </td>
|
1734
|
+
</tr>
|
1735
|
+
<tr>
|
1736
|
+
<td> OtherInvoice </td>
|
1737
|
+
<td> 其他发票 </td>
|
1738
|
+
<td> -1 </td>
|
1739
|
+
</tr>
|
1740
|
+
</tbody>
|
1741
|
+
</table>
|
1841
1742
|
*/
|
1842
|
-
async
|
1843
|
-
req:
|
1844
|
-
cb?: (error: string, rep:
|
1845
|
-
): Promise<
|
1846
|
-
return this.request("
|
1743
|
+
async RecognizeGeneralInvoice(
|
1744
|
+
req: RecognizeGeneralInvoiceRequest,
|
1745
|
+
cb?: (error: string, rep: RecognizeGeneralInvoiceResponse) => void
|
1746
|
+
): Promise<RecognizeGeneralInvoiceResponse> {
|
1747
|
+
return this.request("RecognizeGeneralInvoice", req, cb)
|
1847
1748
|
}
|
1848
1749
|
|
1849
1750
|
/**
|
1850
|
-
|
1851
|
-
|
1852
|
-
|
1853
|
-
|
1854
|
-
|
1855
|
-
|
1856
|
-
|
1751
|
+
* 本接口支持行驶证主页和副页所有字段的自动定位与识别。
|
1752
|
+
|
1753
|
+
行驶证主页:车牌号码、车辆类型、所有人、住址、使用性质、品牌型号、识别代码、发动机号、注册日期、发证日期、发证单位。
|
1754
|
+
|
1755
|
+
行驶证副页:号牌号码、档案编号、核定载人数、总质量、整备质量、核定载质量、外廓尺寸、准牵引总质量、备注、检验记录。
|
1756
|
+
|
1757
|
+
另外,本接口还支持复印件、翻拍告警功能。
|
1758
|
+
|
1759
|
+
默认接口请求频率限制:10次/秒。
|
1760
|
+
*/
|
1761
|
+
async VehicleLicenseOCR(
|
1762
|
+
req: VehicleLicenseOCRRequest,
|
1763
|
+
cb?: (error: string, rep: VehicleLicenseOCRResponse) => void
|
1764
|
+
): Promise<VehicleLicenseOCRResponse> {
|
1765
|
+
return this.request("VehicleLicenseOCR", req, cb)
|
1857
1766
|
}
|
1858
1767
|
}
|