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