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