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