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