tencentcloud-sdk-nodejs 4.0.981 → 4.0.982

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/CHANGELOG.md +236 -0
  2. package/SERVICE_CHANGELOG.md +305 -174
  3. package/package.json +1 -1
  4. package/products.md +25 -25
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/apigateway/v20180808/apigateway_client.ts +47 -22
  7. package/src/services/apigateway/v20180808/apigateway_models.ts +187 -81
  8. package/src/services/as/v20180419/as_models.ts +7 -6
  9. package/src/services/bi/v20220105/bi_client.ts +37 -9
  10. package/src/services/bi/v20220105/bi_models.ts +240 -47
  11. package/src/services/billing/v20180709/billing_models.ts +46 -37
  12. package/src/services/bpaas/v20181217/bpaas_models.ts +20 -20
  13. package/src/services/cam/v20190116/cam_models.ts +27 -27
  14. package/src/services/cdwch/v20200915/cdwch_models.ts +1 -1
  15. package/src/services/cloudhsm/v20191112/cloudhsm_models.ts +40 -120
  16. package/src/services/cls/v20201016/cls_client.ts +1 -1
  17. package/src/services/cls/v20201016/cls_models.ts +5 -2
  18. package/src/services/config/v20220802/config_client.ts +29 -3
  19. package/src/services/config/v20220802/config_models.ts +226 -41
  20. package/src/services/ess/v20201111/ess_models.ts +1 -1
  21. package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
  22. package/src/services/gwlb/v20240906/gwlb_models.ts +1 -1
  23. package/src/services/hunyuan/v20230901/hunyuan_models.ts +2 -2
  24. package/src/services/ivld/v20210903/ivld_client.ts +0 -1
  25. package/src/services/ivld/v20210903/ivld_models.ts +1 -1
  26. package/src/services/lcic/v20220817/lcic_client.ts +25 -1
  27. package/src/services/lcic/v20220817/lcic_models.ts +240 -104
  28. package/src/services/lke/v20231130/lke_client.ts +1 -1
  29. package/src/services/mps/v20190612/mps_models.ts +0 -1
  30. package/src/services/ocr/v20181119/ocr_client.ts +901 -992
  31. package/src/services/ocr/v20181119/ocr_models.ts +67 -592
  32. package/src/services/organization/v20181225/organization_models.ts +20 -20
  33. package/src/services/organization/v20210331/organization_models.ts +42 -206
  34. package/src/services/trtc/v20190722/trtc_client.ts +32 -7
  35. package/src/services/trtc/v20190722/trtc_models.ts +106 -42
  36. package/tencentcloud/common/sdk_version.d.ts +1 -1
  37. package/tencentcloud/common/sdk_version.js +1 -1
  38. package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +16 -8
  39. package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +22 -10
  40. package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +182 -81
  41. package/tencentcloud/services/as/v20180419/as_models.d.ts +7 -6
  42. package/tencentcloud/services/bi/v20220105/bi_client.d.ts +11 -3
  43. package/tencentcloud/services/bi/v20220105/bi_client.js +15 -3
  44. package/tencentcloud/services/bi/v20220105/bi_models.d.ts +231 -46
  45. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +39 -30
  46. package/tencentcloud/services/bpaas/v20181217/bpaas_models.d.ts +20 -20
  47. package/tencentcloud/services/cam/v20190116/cam_models.d.ts +27 -27
  48. package/tencentcloud/services/cdwch/v20200915/cdwch_models.d.ts +1 -1
  49. package/tencentcloud/services/cloudhsm/v20191112/cloudhsm_models.d.ts +40 -120
  50. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
  51. package/tencentcloud/services/cls/v20201016/cls_client.js +1 -1
  52. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +5 -2
  53. package/tencentcloud/services/config/v20220802/config_client.d.ts +9 -1
  54. package/tencentcloud/services/config/v20220802/config_client.js +12 -0
  55. package/tencentcloud/services/config/v20220802/config_models.d.ts +219 -40
  56. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +1 -1
  57. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
  58. package/tencentcloud/services/gwlb/v20240906/gwlb_models.d.ts +1 -1
  59. package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +2 -2
  60. package/tencentcloud/services/ivld/v20210903/ivld_client.d.ts +0 -1
  61. package/tencentcloud/services/ivld/v20210903/ivld_client.js +0 -1
  62. package/tencentcloud/services/ivld/v20210903/ivld_models.d.ts +1 -1
  63. package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +9 -1
  64. package/tencentcloud/services/lcic/v20220817/lcic_client.js +12 -0
  65. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +236 -104
  66. package/tencentcloud/services/lke/v20231130/lke_client.d.ts +1 -1
  67. package/tencentcloud/services/lke/v20231130/lke_client.js +1 -1
  68. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +0 -1
  69. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +533 -567
  70. package/tencentcloud/services/ocr/v20181119/ocr_client.js +688 -736
  71. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +56 -566
  72. package/tencentcloud/services/organization/v20181225/organization_models.d.ts +20 -20
  73. package/tencentcloud/services/organization/v20210331/organization_models.d.ts +41 -205
  74. package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +12 -3
  75. package/tencentcloud/services/trtc/v20190722/trtc_client.js +16 -3
  76. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +102 -42
  77. package/test/apigateway.v20180808.test.js +32 -12
  78. package/test/bi.v20220105.test.js +22 -2
  79. package/test/config.v20220802.test.js +20 -0
  80. package/test/lcic.v20220817.test.js +20 -0
  81. package/test/ocr.v20181119.test.js +158 -228
  82. package/test/trtc.v20190722.test.js +22 -2
@@ -1,6 +1,6 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- import { RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, BankCardOCRRequest, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, FlightInvoiceOCRRequest, RecognizePhilippinesDrivingLicenseOCRRequest, MLIDPassportOCRRequest, RecognizeGeneralTextImageWarnResponse, SmartStructuralOCRV2Request, TextDetectResponse, TollInvoiceOCRResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, CreateAIFormTaskRequest, ClassifyStoreNameRequest, InvoiceGeneralOCRRequest, RideHailingTransportLicenseOCRRequest, HmtResidentPermitOCRResponse, EnterpriseLicenseOCRResponse, RecognizeKoreanDrivingLicenseOCRResponse, RecognizeIndonesiaIDCardOCRRequest, RecognizeKoreanDrivingLicenseOCRRequest, InstitutionOCRResponse, DriverLicenseOCRRequest, SmartStructuralProRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, SmartStructuralOCRV2Response, EnterpriseLicenseOCRRequest, SmartStructuralOCRRequest, RecognizeStoreNameRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, RecognizePhilippinesTinIDOCRResponse, SmartStructuralOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RecognizePhilippinesVoteIDOCRResponse, GeneralAccurateOCRResponse, QrcodeOCRRequest, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeStoreNameResponse, RecognizeMedicalInvoiceOCRResponse, RecognizeValidIDCardOCRRequest, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VatInvoiceVerifyNewRequest, VehicleLicenseOCRResponse, RecognizePhilippinesSssIDOCRRequest, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, TollInvoiceOCRRequest, LicensePlateOCRResponse, HKIDCardOCRResponse, RecognizeThaiIDCardOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, VatInvoiceVerifyNewResponse, RecognizePhilippinesSssIDOCRResponse, TaxiInvoiceOCRRequest, RecognizeContainerOCRRequest, TextDetectRequest, VatRollInvoiceOCRResponse, VatInvoiceVerifyRequest, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, PropOwnerCertOCRRequest, ImageEnhancementResponse, PassportOCRResponse, RecognizeKoreanIDCardOCRResponse, RecognizeTravelCardOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest, RecognizeIndonesiaIDCardOCRResponse, ReconstructDocumentResponse, GeneralEfficientOCRRequest, RecognizePhilippinesUMIDOCRResponse, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, EnglishOCRRequest, VatInvoiceVerifyResponse, RecognizeValidIDCardOCRResponse, IDCardOCRResponse, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, FlightInvoiceOCRResponse, ShipInvoiceOCRResponse, ReconstructDocumentRequest, InstitutionOCRRequest, RideHailingDriverLicenseOCRRequest, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, FinanBillSliceOCRRequest, ClassifyStoreNameResponse, VatRollInvoiceOCRRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, RecognizeHealthCodeOCRRequest, BankSlipOCRResponse, RecognizeEncryptedIDCardOCRResponse, VinOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, RecognizePhilippinesVoteIDOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, RecognizeEncryptedIDCardOCRRequest, CreateAIFormTaskResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, RecognizeGeneralInvoiceResponse, GetTaskStateResponse, GetTaskStateRequest, RecognizeMedicalInvoiceOCRRequest, InsuranceBillOCRResponse, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, MLIDPassportOCRResponse, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, HmtResidentPermitOCRRequest, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, BusInvoiceOCRResponse, MainlandPermitOCRResponse, MLIDCardOCRRequest, EnglishOCRResponse, RecognizeForeignPermanentResidentIdCardResponse, BusInvoiceOCRRequest, OrgCodeCertOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, SmartStructuralProResponse, PermitOCRResponse, InsuranceBillOCRRequest, GeneralHandwritingOCRResponse, TableOCRResponse, VehicleRegCertOCRRequest, RecognizeKoreanIDCardOCRRequest, AdvertiseOCRResponse, VehicleLicenseOCRRequest, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, WaybillOCRRequest, VinOCRRequest, VatInvoiceOCRRequest, RecognizePhilippinesUMIDOCRRequest, MLIDCardOCRResponse, RecognizePhilippinesTinIDOCRRequest, RecognizeTableOCRRequest, EstateCertOCRRequest, BizLicenseOCRResponse, TableOCRRequest, VatInvoiceOCRResponse, QuotaInvoiceOCRRequest, BankCardOCRResponse, BusinessCardOCRRequest, RecognizePhilippinesDrivingLicenseOCRResponse, FinanBillOCRRequest, QuotaInvoiceOCRResponse, RecognizeGeneralTextImageWarnRequest, RecognizeForeignPermanentResidentIdCardRequest, GeneralFastOCRResponse } from "./ocr_models";
3
+ import { RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, BankCardOCRRequest, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, FlightInvoiceOCRRequest, MLIDPassportOCRRequest, RecognizeGeneralTextImageWarnResponse, SmartStructuralOCRV2Request, TextDetectResponse, TollInvoiceOCRResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, CreateAIFormTaskRequest, ClassifyStoreNameRequest, InvoiceGeneralOCRRequest, HmtResidentPermitOCRResponse, EnterpriseLicenseOCRResponse, RecognizeKoreanDrivingLicenseOCRResponse, RecognizeKoreanDrivingLicenseOCRRequest, InstitutionOCRResponse, DriverLicenseOCRRequest, SmartStructuralProRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, SmartStructuralOCRV2Response, EnterpriseLicenseOCRRequest, SmartStructuralOCRRequest, RecognizeStoreNameRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, SmartStructuralOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RideHailingDriverLicenseOCRRequest, GeneralAccurateOCRResponse, QrcodeOCRRequest, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeStoreNameResponse, RecognizeMedicalInvoiceOCRResponse, RecognizeValidIDCardOCRRequest, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VatInvoiceVerifyNewRequest, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, TollInvoiceOCRRequest, LicensePlateOCRResponse, HKIDCardOCRResponse, RecognizeThaiIDCardOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, VatInvoiceVerifyNewResponse, TaxiInvoiceOCRRequest, RecognizeContainerOCRRequest, TextDetectRequest, VatRollInvoiceOCRResponse, VatInvoiceVerifyRequest, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, PropOwnerCertOCRRequest, ImageEnhancementResponse, PassportOCRResponse, VehicleRegCertOCRRequest, RecognizeTravelCardOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest, ReconstructDocumentResponse, GeneralEfficientOCRRequest, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, EnglishOCRRequest, VatInvoiceVerifyResponse, RecognizeValidIDCardOCRResponse, IDCardOCRResponse, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, FlightInvoiceOCRResponse, ShipInvoiceOCRResponse, ReconstructDocumentRequest, InstitutionOCRRequest, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, FinanBillSliceOCRRequest, ClassifyStoreNameResponse, VatRollInvoiceOCRRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, RecognizeHealthCodeOCRRequest, BankSlipOCRResponse, RecognizeEncryptedIDCardOCRResponse, VinOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, RecognizeEncryptedIDCardOCRRequest, CreateAIFormTaskResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, RecognizeGeneralInvoiceResponse, GetTaskStateResponse, GetTaskStateRequest, RecognizeMedicalInvoiceOCRRequest, InsuranceBillOCRResponse, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, MLIDPassportOCRResponse, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, HmtResidentPermitOCRRequest, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, BusInvoiceOCRResponse, MainlandPermitOCRResponse, MLIDCardOCRRequest, EnglishOCRResponse, RecognizeForeignPermanentResidentIdCardResponse, BusInvoiceOCRRequest, OrgCodeCertOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, SmartStructuralProResponse, PermitOCRResponse, InsuranceBillOCRRequest, GeneralHandwritingOCRResponse, TableOCRResponse, AdvertiseOCRResponse, VehicleLicenseOCRRequest, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, WaybillOCRRequest, VinOCRRequest, RideHailingTransportLicenseOCRRequest, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, BizLicenseOCRResponse, TableOCRRequest, VatInvoiceOCRResponse, QuotaInvoiceOCRRequest, BankCardOCRResponse, BusinessCardOCRRequest, FinanBillOCRRequest, QuotaInvoiceOCRResponse, RecognizeGeneralTextImageWarnRequest, RecognizeForeignPermanentResidentIdCardRequest, GeneralFastOCRResponse } from "./ocr_models";
4
4
  /**
5
5
  * ocr client
6
6
  * @class
@@ -8,9 +8,171 @@ import { RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOC
8
8
  export declare class Client extends AbstractClient {
9
9
  constructor(clientConfig: ClientConfig);
10
10
  /**
11
- * 本接口通过检测图片中的文字信息特征,快速判断图片中有无文字并返回判断结果,帮助用户过滤无文字的图片。
11
+ * 本接口支持图像整体文字的检测和识别。可以识别中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语,阿拉伯语20种语言,且各种语言均支持与英文混合的文字识别。
12
+
13
+ 适用于印刷文档识别、网络图片识别、广告图文字识别、街景店招牌识别、菜单识别、视频标题识别、头像文字识别等场景。
14
+
15
+ 产品优势:支持自动识别语言类型,可返回文本框坐标信息,对于倾斜文本支持自动旋转纠正。
16
+
17
+ 通用印刷体识别不同版本的差异如下:
18
+ <table style="width:715px">
19
+ <thead>
20
+ <tr>
21
+ <th style="width:150px"></th>
22
+ <th style="width:200px">【荐】通用印刷体识别</th>
23
+ <th ><a href="https://cloud.tencent.com/document/product/866/34937">【荐】通用印刷体识别(高精度版)</a></th>
24
+ <th><a href="https://cloud.tencent.com/document/product/866/37831">通用印刷体识别(精简版)</a></th>
25
+ </tr>
26
+ </thead>
27
+ <tbody>
28
+ <tr>
29
+ <td> 适用场景</td>
30
+ <td>适用于所有通用场景的印刷体识别</td>
31
+ <td>适用于文字较多、长串数字、小字、模糊字、倾斜文本等困难场景</td>
32
+ <td>适用于快速文本识别场景,准召率有一定损失,价格更优惠</td>
33
+ </tr>
34
+ <tr>
35
+ <td>识别准确率</td>
36
+ <td>96%</td>
37
+ <td>99%</td>
38
+ <td>91%</td>
39
+ </tr>
40
+ <tr>
41
+ <td>价格</td>
42
+ <td>中</td>
43
+ <td>高</td>
44
+ <td>低</td>
45
+ </tr>
46
+ <tr>
47
+ <td>支持的语言</td>
48
+ <td>中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语</td>
49
+ <td>中文、英文、中英文</td>
50
+ <td>中文、英文、中英文</td>
51
+ </tr>
52
+ <tr>
53
+ <td>自动语言检测</td>
54
+ <td>支持</td>
55
+ <td>支持</td>
56
+ <td>支持</td>
57
+ </tr>
58
+ <tr>
59
+ <td>返回文本行坐标</td>
60
+ <td>支持</td>
61
+ <td>支持</td>
62
+ <td>支持</td>
63
+ </tr>
64
+ <tr>
65
+ <td>自动旋转纠正</td>
66
+ <td>支持旋转识别,返回角度信息</td>
67
+ <td>支持旋转识别,返回角度信息</td>
68
+ <td>支持旋转识别,返回角度信息</td>
69
+ </tr>
70
+ </tbody>
71
+ </table>
72
+
73
+ 默认接口请求频率限制:20次/秒。
12
74
  */
13
- TextDetect(req: TextDetectRequest, cb?: (error: string, rep: TextDetectResponse) => void): Promise<TextDetectResponse>;
75
+ GeneralBasicOCR(req: GeneralBasicOCRRequest, cb?: (error: string, rep: GeneralBasicOCRResponse) => void): Promise<GeneralBasicOCRResponse>;
76
+ /**
77
+ * 文本图像增强是面向文档类图片提供的图像增强处理能力,包括切边增强、图像矫正、阴影去除、摩尔纹去除等;可以有效优化文档类的图片质量,提升文字的清晰度。
78
+
79
+ 默认接口请求频率限制:10次/秒。
80
+ */
81
+ ImageEnhancement(req: ImageEnhancementRequest, cb?: (error: string, rep: ImageEnhancementResponse) => void): Promise<ImageEnhancementResponse>;
82
+ /**
83
+ * 本接口支持智能提取各类证照、票据、表单、合同等结构化场景的key:value字段信息,并支持提取表格信息的key:value组的结构化,灵活高效,适用于各类非标准材料的信息录入场景,点击[立即体验](https://cloud.tencent.com/product/smart-ocr)。
84
+
85
+ 默认接口请求频率限制:5次/秒。
86
+ */
87
+ SmartStructuralOCRV2(req: SmartStructuralOCRV2Request, cb?: (error: string, rep: SmartStructuralOCRV2Response) => void): Promise<SmartStructuralOCRV2Response>;
88
+ /**
89
+ * 本接口支持智能化识别各类企业登记证书、许可证书、企业执照、三证合一类证书,结构化输出统一社会信用代码、公司名称、法定代表人、公司地址、注册资金、企业类型、经营范围、成立日期、有效期、开办资金、经费来源、举办单位等关键字段。
90
+
91
+ 默认接口请求频率限制:5次/秒。
92
+ */
93
+ EnterpriseLicenseOCR(req: EnterpriseLicenseOCRRequest, cb?: (error: string, rep: EnterpriseLicenseOCRResponse) => void): Promise<EnterpriseLicenseOCRResponse>;
94
+ /**
95
+ * 本接口支持中英文名片各字段的自动定位与识别,包含姓名、电话、手机号、邮箱、公司、部门、职位、网址、地址、QQ、微信、MSN等。
96
+
97
+ 默认接口请求频率限制:10次/秒。
98
+ */
99
+ BusinessCardOCR(req: BusinessCardOCRRequest, cb?: (error: string, rep: BusinessCardOCRResponse) => void): Promise<BusinessCardOCRResponse>;
100
+ /**
101
+ * 本接口支持病案首页、费用清单、结算单、医疗发票四种保险理赔单据的文本识别和结构化输出。
102
+
103
+ 默认接口请求频率限制:1次/秒。
104
+ */
105
+ InsuranceBillOCR(req: InsuranceBillOCRRequest, cb?: (error: string, rep: InsuranceBillOCRResponse) => void): Promise<InsuranceBillOCRResponse>;
106
+ /**
107
+ * 本接口支持中国大陆居民二代身份证正反面所有字段的识别,包括姓名、性别、民族、出生日期、住址、公民身份证号、签发机关、有效期限,识别准确度达到99%以上。
108
+
109
+ 另外,本接口还支持多种增值能力,满足不同场景的需求。如身份证照片、人像照片的裁剪功能,同时具备9种告警功能,如下表所示。
110
+
111
+ <table style="width:650px">
112
+ <thead>
113
+ <tr>
114
+ <th width="150">增值能力</th>
115
+ <th width="500">能力项</th>
116
+ </tr>
117
+ </thead>
118
+ <tbody>
119
+ <tr>
120
+ <td rowspan="2">裁剪功能</td>
121
+ <td>身份证照片裁剪(去掉证件外多余的边缘、自动矫正拍摄角度)</td>
122
+ </tr>
123
+ <tr>
124
+ <td>人像照片裁剪(自动抠取身份证头像区域)</td>
125
+ </tr>
126
+ <tr>
127
+ <td rowspan="9">告警功能</td>
128
+ <td>身份证有效日期不合法,即有效日期不符合5年、10年、20年、长期期限
129
+
130
+ </td>
131
+ </tr>
132
+ <tr>
133
+ <td>身份证边框不完整告警</td>
134
+ </tr>
135
+ <tr>
136
+ <td>身份证复印件告警</td>
137
+ </tr>
138
+ <tr>
139
+ <td>身份证翻拍告警</td>
140
+ </tr>
141
+ <tr>
142
+ <td>身份证框内遮挡告警</td>
143
+ </tr>
144
+ <tr>
145
+ <td>临时身份证告警</td>
146
+ </tr>
147
+ <tr>
148
+ <td>身份证疑似存在PS痕迹告警</td>
149
+ </tr>
150
+ <tr>
151
+ <td>图片模糊告警(可根据图片质量分数判断)</td>
152
+ </tr>
153
+ </tbody>
154
+ </table>
155
+
156
+ 默认接口请求频率限制:20次/秒。
157
+ */
158
+ IDCardOCR(req: IDCardOCRRequest, cb?: (error: string, rep: IDCardOCRResponse) => void): Promise<IDCardOCRResponse>;
159
+ /**
160
+ * 本接口支持过路过桥费发票关键字段的识别,包括发票代码、发票号码、日期、金额、入口、出口、时间、发票消费类型、高速标志等。
161
+
162
+ 默认接口请求频率限制:5次/秒。
163
+ */
164
+ TollInvoiceOCR(req: TollInvoiceOCRRequest, cb?: (error: string, rep: TollInvoiceOCRResponse) => void): Promise<TollInvoiceOCRResponse>;
165
+ /**
166
+ * 本接口支持马来西亚身份证识别,识别字段包括身份证号、姓名、性别、地址;具备身份证人像照片的裁剪功能和翻拍、复印件告警功能。
167
+ 本接口暂未完全对外开放,如需咨询,请[联系商务](https://cloud.tencent.com/about/connect)
168
+ */
169
+ MLIDCardOCR(req: MLIDCardOCRRequest, cb?: (error: string, rep: MLIDCardOCRResponse) => void): Promise<MLIDCardOCRResponse>;
170
+ /**
171
+ * 本接口支持增值税发票的准确性核验,您可以通过输入增值税发票的关键字段提供所需的验证信息,接口返回真实的票面相关信息,包括发票代码、发票号码、开票日期、金额、消费类型、购方名称、购方税号、销方名称、销方税号等多个常用字段。支持多种发票类型核验,包括增值税专用发票、增值税普通发票(含电子普通发票、卷式发票、通行费发票)、全电发票、机动车销售统一发票、货物运输业增值税专用发票、二手车销售统一发票、通用机打电子发票(广东和浙江)。
172
+
173
+ 默认接口请求频率限制:20次/秒。
174
+ */
175
+ VatInvoiceVerifyNew(req: VatInvoiceVerifyNewRequest, cb?: (error: string, rep: VatInvoiceVerifyNewResponse) => void): Promise<VatInvoiceVerifyNewResponse>;
14
176
  /**
15
177
  * 本接口支持条形码和二维码的识别(包括 DataMatrix 和 PDF417)。
16
178
 
@@ -88,6 +250,12 @@ export declare class Client extends AbstractClient {
88
250
  默认接口请求频率限制:5次/秒。
89
251
  */
90
252
  RecognizeContainerOCR(req: RecognizeContainerOCRRequest, cb?: (error: string, rep: RecognizeContainerOCRResponse) => void): Promise<RecognizeContainerOCRResponse>;
253
+ /**
254
+ * 本接口支持中英文图片/PDF内常规表格、无线表格、多表格的检测和识别,返回每个单元格的文字内容,支持旋转的表格图片识别,且支持将识别结果保存为 Excel 格式。识别效果比表格识别V2更好,覆盖场景更加广泛,对表格难例场景,如无线表格、嵌套表格(有线表格中包含无线表格)的识别效果均优于表格识别V2。点击[立即体验](https://cloud.tencent.com/act/event/ocrdemo)。
255
+
256
+ 默认接口请求频率限制:2次/秒。
257
+ */
258
+ RecognizeTableAccurateOCR(req: RecognizeTableAccurateOCRRequest, cb?: (error: string, rep: RecognizeTableAccurateOCRResponse) => void): Promise<RecognizeTableAccurateOCRResponse>;
91
259
  /**
92
260
  * 身份证识别(安全加密版)接口实现了数据加密传输,能够有效防止个人身份证隐私信息不被窃取泄露。
93
261
 
@@ -143,6 +311,23 @@ export declare class Client extends AbstractClient {
143
311
  默认接口请求频率限制:20次/秒。
144
312
  */
145
313
  RecognizeEncryptedIDCardOCR(req: RecognizeEncryptedIDCardOCRRequest, cb?: (error: string, rep: RecognizeEncryptedIDCardOCRResponse) => void): Promise<RecognizeEncryptedIDCardOCRResponse>;
314
+ /**
315
+ * 本接口支持多张、多类型票据的混合检测和自动分类,返回对应票据类型。目前已支持增值税发票、增值税发票(卷票)、定额发票、通用机打发票、购车发票、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票、酒店账单、客运限额发票、购物小票、完税证明共15种票据。
316
+ 默认接口请求频率限制:5次/秒。
317
+ */
318
+ MixedInvoiceDetect(req: MixedInvoiceDetectRequest, cb?: (error: string, rep: MixedInvoiceDetectResponse) => void): Promise<MixedInvoiceDetectResponse>;
319
+ /**
320
+ * 本接口支持国内机动车登记证书主要字段的结构化识别,包括机动车所有人、身份证明名称、号码、车辆型号、车辆识别代号、发动机号、制造厂名称等。
321
+
322
+ 默认接口请求频率限制:5次/秒。
323
+ */
324
+ VehicleRegCertOCR(req: VehicleRegCertOCRRequest, cb?: (error: string, rep: VehicleRegCertOCRResponse) => void): Promise<VehicleRegCertOCRResponse>;
325
+ /**
326
+ * 本接口支持识别轮船票的发票代码、发票号码、日期、姓名、票价、始发地、目的地、姓名、时间、发票消费类型、省、市、币种字段。
327
+
328
+ 默认接口请求频率限制:5次/秒。
329
+ */
330
+ ShipInvoiceOCR(req: ShipInvoiceOCRRequest, cb?: (error: string, rep: ShipInvoiceOCRResponse) => void): Promise<ShipInvoiceOCRResponse>;
146
331
  /**
147
332
  * 本接口用于识别门头照文字识别结果以及对应分类标签信息
148
333
  默认接口请求频率限制:1次/秒
@@ -156,69 +341,71 @@ export declare class Client extends AbstractClient {
156
341
  */
157
342
  MLIDPassportOCR(req: MLIDPassportOCRRequest, cb?: (error: string, rep: MLIDPassportOCRResponse) => void): Promise<MLIDPassportOCRResponse>;
158
343
  /**
159
- * 本接口支持火车票全字段的识别,包括编号、出发站、到达站、出发时间、车次、座位号、姓名、票价、席别、身份证号、发票消费类型、序列号、加收票价、手续费、大写金额、售票站、原票价、发票类型、收据号码、是否仅供报销使用等字段的识别。
344
+ * 本接口支持对增值税发票(卷票)关键字段的识别,包括的发票代码、合计金额(小写)、合计金额(大写)、开票日期、发票号码、购买方识别号、销售方识别号、校验码、销售方名称、购买方名称、发票消费类型、省、市、是否有公司印章、单价、金额、数量、服务类型、品名、种类等。
160
345
 
161
346
  默认接口请求频率限制:5次/秒。
162
347
  */
163
- TrainTicketOCR(req: TrainTicketOCRRequest, cb?: (error: string, rep: TrainTicketOCRResponse) => void): Promise<TrainTicketOCRResponse>;
348
+ VatRollInvoiceOCR(req: VatRollInvoiceOCRRequest, cb?: (error: string, rep: VatRollInvoiceOCRResponse) => void): Promise<VatRollInvoiceOCRResponse>;
164
349
  /**
165
- * 本接口支持房产证关键字段的识别,包括房地产权利人、共有情况、登记时间、规划用途、房屋性质、房屋坐落等。
166
- 目前接口对合肥、成都、佛山三个城市的房产证版式识别较好。
350
+ * 本接口支持定额发票的发票号码、发票代码、金额(大小写)、发票消费类型、地区及是否有公司印章等关键字段的识别。
167
351
 
168
352
  默认接口请求频率限制:5次/秒。
169
353
  */
170
- PropOwnerCertOCR(req: PropOwnerCertOCRRequest, cb?: (error: string, rep: PropOwnerCertOCRResponse) => void): Promise<PropOwnerCertOCRResponse>;
354
+ QuotaInvoiceOCR(req: QuotaInvoiceOCRRequest, cb?: (error: string, rep: QuotaInvoiceOCRResponse) => void): Promise<QuotaInvoiceOCRResponse>;
171
355
  /**
172
- * 本接口支持对通用机打发票的发票代码、发票号码、日期、合计金额(小写)、合计金额(大写)、购买方识别号、销售方识别号、校验码、购买方名称、销售方名称、时间、种类、发票消费类型、省、市、是否有公司印章、发票名称、购买方地址、电话、销售方地址、电话、购买方开户行及账号、销售方开户行及账号、经办人取票用户、经办人支付信息、经办人商户号、经办人订单号、货物或应税劳务、服务名称、数量、单价、税率、税额、金额、单位、规格型号、合计税额、合计金额、备注、收款人、复核、开票人、密码区、行业分类等字段的识别。
356
+ * 本接口支持市面上主流版式电子运单的识别,包括收件人和寄件人的姓名、电话、地址以及运单号等字段。
173
357
 
174
- 默认接口请求频率限制:5次/秒。
358
+ 默认接口请求频率限制:10次/秒。
175
359
  */
176
- InvoiceGeneralOCR(req: InvoiceGeneralOCRRequest, cb?: (error: string, rep: InvoiceGeneralOCRResponse) => void): Promise<InvoiceGeneralOCRResponse>;
360
+ WaybillOCR(req: WaybillOCRRequest, cb?: (error: string, rep: WaybillOCRResponse) => void): Promise<WaybillOCRResponse>;
177
361
  /**
178
- * 服务已迁移至 [文档解析](https://cloud.tencent.com/document/product/1759/107504),请跳转查看接口文档。该接口支持将图片或PDF文件转换成Markdown格式文件,可解析包括表格、公式、图片、标题、段落、页眉、页脚等内容元素,并将内容智能转换成阅读顺序。
362
+ * 本接口支持图片内车辆识别代号(VIN)的检测和识别。
363
+ 默认接口请求频率限制:10次/秒。
179
364
  */
180
- ReconstructDocument(req: ReconstructDocumentRequest, cb?: (error: string, rep: ReconstructDocumentResponse) => void): Promise<ReconstructDocumentResponse>;
365
+ VinOCR(req: VinOCRRequest, cb?: (error: string, rep: VinOCRResponse) => void): Promise<VinOCRResponse>;
181
366
  /**
182
- * 本接口支持中国香港身份证人像面中关键字段的识别,包括中文姓名、英文姓名、姓名电码、出生日期、性别、证件符号、首次签发日期、最近领用日期、身份证号、是否是永久性居民身份证;具备人像照片裁剪等扩展功能。
367
+ * 本接口支持图片中整体文字的检测和识别,返回文字框位置与文字内容。相比通用印刷体识别接口,识别速度更快。
183
368
 
184
- 默认接口请求频率限制:5次/秒。
369
+ 默认接口请求频率限制:10次/秒。
185
370
  */
186
- HKIDCardOCR(req: HKIDCardOCRRequest, cb?: (error: string, rep: HKIDCardOCRResponse) => void): Promise<HKIDCardOCRResponse>;
371
+ GeneralFastOCR(req: GeneralFastOCRRequest, cb?: (error: string, rep: GeneralFastOCRResponse) => void): Promise<GeneralFastOCRResponse>;
187
372
  /**
188
- * 本接口支持 单张、多张、多类型 票据的混合识别,同时支持自选需要识别的票据类型,已支持票种包括:增值税发票(专票、普票、卷票)、全电发票、非税发票、定额发票、通用机打发票、购车发票、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票共14种标准报销发票,并支持其他类发票的识别。
373
+ * 本接口支持房产证关键字段的识别,包括房地产权利人、共有情况、登记时间、规划用途、房屋性质、房屋坐落等。
374
+ 目前接口对合肥、成都、佛山三个城市的房产证版式识别较好。
189
375
 
190
376
  默认接口请求频率限制:5次/秒。
191
377
  */
192
- MixedInvoiceOCR(req: MixedInvoiceOCRRequest, cb?: (error: string, rep: MixedInvoiceOCRResponse) => void): Promise<MixedInvoiceOCRResponse>;
378
+ PropOwnerCertOCR(req: PropOwnerCertOCRRequest, cb?: (error: string, rep: PropOwnerCertOCRResponse) => void): Promise<PropOwnerCertOCRResponse>;
193
379
  /**
194
- * 本接口支持对卡式港澳台通行证的识别,包括签发地点、签发机关、有效期限、性别、出生日期、英文姓名、姓名、证件号等字段。
380
+ * 本接口支持智能提取各类证照、票据、表单、合同等结构化场景的key:value字段信息,并支持提取表格信息的key:value组的结构化,灵活高效,适用于各类非标准材料的信息录入场景,点击[立即体验](https://cloud.tencent.com/product/smart-ocr)。
195
381
 
196
- 默认接口请求频率限制:10次/秒。
382
+ 默认接口请求频率限制:5次/秒。
197
383
  */
198
- PermitOCR(req: PermitOCRRequest, cb?: (error: string, rep: PermitOCRResponse) => void): Promise<PermitOCRResponse>;
384
+ SmartStructuralPro(req: SmartStructuralProRequest, cb?: (error: string, rep: SmartStructuralProResponse) => void): Promise<SmartStructuralProResponse>;
199
385
  /**
200
- * 本接口支持识别公路汽车客票关键字段的识别,包括发票代码、发票号码、日期、票价、始发地、目的地、姓名、时间、发票消费类型、身份证号、省、市、开票日期、乘车地点、检票口、客票类型、车型、座位号、车次等。
386
+ * 本接口支持快速精准识别营业执照上的字段,包括统一社会信用代码、公司名称、主体类型、法定代表人、注册资本、组成形式、成立日期、营业期限和经营范围等字段。
201
387
 
202
- 默认接口请求频率限制:5次/秒。
388
+ 默认接口请求频率限制:10次/秒。
203
389
  */
204
- BusInvoiceOCR(req: BusInvoiceOCRRequest, cb?: (error: string, rep: BusInvoiceOCRResponse) => void): Promise<BusInvoiceOCRResponse>;
390
+ BizLicenseOCR(req: BizLicenseOCRRequest, cb?: (error: string, rep: BizLicenseOCRResponse) => void): Promise<BizLicenseOCRResponse>;
205
391
  /**
206
- * 本接口支持图像英文文字的检测和识别,返回文字框位置与文字内容。支持多场景、任意版面下的英文、字母、数字和常见字符的识别,同时覆盖英文印刷体和英文手写体识别。
392
+ * 本接口支持图片内手写体文字的检测和识别,针对手写字体无规则、字迹潦草、模糊等特点进行了识别能力的增强。
207
393
 
208
394
  默认接口请求频率限制:10次/秒。
209
395
  */
210
- EnglishOCR(req: EnglishOCRRequest, cb?: (error: string, rep: EnglishOCRResponse) => void): Promise<EnglishOCRResponse>;
396
+ GeneralHandwritingOCR(req: GeneralHandwritingOCRRequest, cb?: (error: string, rep: GeneralHandwritingOCRResponse) => void): Promise<GeneralHandwritingOCRResponse>;
211
397
  /**
212
- * 本接口支持识别并提取各类证照、票据、表单、合同等结构化场景的字段信息。无需任何配置,灵活高效。适用于各类结构化信息录入场景。
213
-
214
- 默认接口请求频率限制:5次/秒。
398
+ * 外国人永久居留身份证识别
215
399
  */
216
- SmartStructuralOCR(req: SmartStructuralOCRRequest, cb?: (error: string, rep: SmartStructuralOCRResponse) => void): Promise<SmartStructuralOCRResponse>;
400
+ RecognizeForeignPermanentResidentIdCard(req: RecognizeForeignPermanentResidentIdCardRequest, cb?: (error: string, rep: RecognizeForeignPermanentResidentIdCardResponse) => void): Promise<RecognizeForeignPermanentResidentIdCardResponse>;
217
401
  /**
218
- * 本接口用于识别门头照分类标签信息
219
- 默认接口请求频率限制:1次/秒
402
+ * 已上线VatInvoiceVerifyNew,VatInvoiceVerify需要下线,产品在官网已发通告
403
+
404
+ 本接口支持增值税发票的准确性核验,您可以通过输入增值税发票的关键字段提供所需的验证信息,接口返回真实的票面相关信息,包括发票代码、发票号码、开票日期、金额、消费类型、购方名称、购方税号、销方名称、销方税号等多个常用字段。支持多种发票类型核验,包括增值税专用发票、增值税普通发票(含电子普通发票、卷式发票、通行费发票)、全电发票、机动车销售统一发票、货物运输业增值税专用发票、二手车销售统一发票。
405
+
406
+ 默认接口请求频率限制:20次/秒。
220
407
  */
221
- ClassifyStoreName(req: ClassifyStoreNameRequest, cb?: (error: string, rep: ClassifyStoreNameResponse) => void): Promise<ClassifyStoreNameResponse>;
408
+ VatInvoiceVerify(req: VatInvoiceVerifyRequest, cb?: (error: string, rep: VatInvoiceVerifyResponse) => void): Promise<VatInvoiceVerifyResponse>;
222
409
  /**
223
410
  * 本接口支持出租车发票关键字段的识别,包括发票号码、发票代码、金额、日期、上下车时间、里程、车牌号、发票类型及所属地区等字段。
224
411
 
@@ -226,470 +413,35 @@ export declare class Client extends AbstractClient {
226
413
  */
227
414
  TaxiInvoiceOCR(req: TaxiInvoiceOCRRequest, cb?: (error: string, rep: TaxiInvoiceOCRResponse) => void): Promise<TaxiInvoiceOCRResponse>;
228
415
  /**
229
- * 本接口支持网约车驾驶证关键字段的识别,包括姓名、证号、起始日期、截止日期、发证日期。
416
+ * 本接口支持对通用机打发票的发票代码、发票号码、日期、合计金额(小写)、合计金额(大写)、购买方识别号、销售方识别号、校验码、购买方名称、销售方名称、时间、种类、发票消费类型、省、市、是否有公司印章、发票名称、购买方地址、电话、销售方地址、电话、购买方开户行及账号、销售方开户行及账号、经办人取票用户、经办人支付信息、经办人商户号、经办人订单号、货物或应税劳务、服务名称、数量、单价、税率、税额、金额、单位、规格型号、合计税额、合计金额、备注、收款人、复核、开票人、密码区、行业分类等字段的识别。
230
417
 
231
418
  默认接口请求频率限制:5次/秒。
232
419
  */
233
- RideHailingDriverLicenseOCR(req: RideHailingDriverLicenseOCRRequest, cb?: (error: string, rep: RideHailingDriverLicenseOCRResponse) => void): Promise<RideHailingDriverLicenseOCRResponse>;
420
+ InvoiceGeneralOCR(req: InvoiceGeneralOCRRequest, cb?: (error: string, rep: InvoiceGeneralOCRResponse) => void): Promise<InvoiceGeneralOCRResponse>;
234
421
  /**
235
- * 本接口支持对完税证明的税号、纳税人识别号、纳税人名称、金额合计大写、金额合计小写、填发日期、税务机关、填票人等关键字段的识别。
236
-
237
- 默认接口请求频率限制:5次/秒。
238
- */
239
- DutyPaidProofOCR(req: DutyPaidProofOCRRequest, cb?: (error: string, rep: DutyPaidProofOCRResponse) => void): Promise<DutyPaidProofOCRResponse>;
240
- /**
241
- * 智能识别并结构化港澳台居民来往内地通行证正面全部字段,包含中文姓名、英文姓名、性别、出生日期、签发机关、有效期限、证件号、签发地点、签发次数、证件类别。
242
-
243
- 默认接口请求频率限制:20次/秒。
244
- */
245
- MainlandPermitOCR(req: MainlandPermitOCRRequest, cb?: (error: string, rep: MainlandPermitOCRResponse) => void): Promise<MainlandPermitOCRResponse>;
246
- /**
247
- * 本接口支持机票行程单关键字段的识别,包括旅客姓名、有效身份证件号码、电子客票号码、验证码、填开单位、其他税费、燃油附加费、民航发展基金、保险费、销售单位代号、始发地、目的地、航班号、时间、日期、座位等级、承运人、发票消费类型、票价、合计金额、填开日期、国内国际标签、印刷序号、客票级别/类别、客票生效日期、有效期截止日期、免费行李等字段,支持航班信息多行明细输出。
248
-
249
- 默认接口请求频率限制:5次/秒。
250
- */
251
- FlightInvoiceOCR(req: FlightInvoiceOCRRequest, cb?: (error: string, rep: FlightInvoiceOCRResponse) => void): Promise<FlightInvoiceOCRResponse>;
252
- /**
253
- * 本接口支持 PDF多页(最多30页)、一页中单张、多张、类型票据的混合识别,同时支持单选识别某类票据,已支持票种包括:增值税发票(专票、普票、卷票、区块链发票、通行费发票)、全电发票(专票、普票)、非税发票(通用票据、统一缴纳书)、定额发票、通用机打发票、购车发票(机动车销售发票、二手车发票)、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票共14种标准报销发票,支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(机票行程单)、电子发票(铁路电子客票)的第一页识别,并支持非上述类型的其他发票的智能识别,点击[立即试用](https://cloud.tencent.com/product/ocr)。
254
-
255
- 默认接口请求频率限制:5次/秒。
256
-
257
-
258
- 支持返回的细项目子票种SubType、子票种中文TypeDescription、以及对应所属大类票种Type 的说明如下列表:
259
- <table style="width:715px">
260
- <thead>
261
- <tr>
262
- <th style="width:200px">SubType 子票种英文</th>
263
- <th style="width:200px">TypeDescription子票种中文</th>
264
- <th >Type 所属大类票种</th>
265
- </tr>
266
- </thead>
267
- <tbody>
268
- <tr>
269
- <td> VatSpecialInvoice</td>
270
- <td> 增值税专用发票 </td>
271
- <td> 3 </td>
272
- </tr>
273
- <tr>
274
- <td> VatCommonInvoice</td>
275
- <td> 增值税普通发票 </td>
276
- <td> 3 </td>
277
- </tr>
278
- <tr>
279
- <td> VatElectronicCommonInvoice </td>
280
- <td> 增值税电子普通发票 </td>
281
- <td> 3 </td>
282
- </tr>
283
- <tr>
284
- <td> VatElectronicSpecialInvoice </td>
285
- <td> 增值税电子专用发票 </td>
286
- <td> 3 </td>
287
- </tr>
288
- <tr>
289
- <td> VatElectronicInvoiceBlockchain</td>
290
- <td> 区块链电子发票 </td>
291
- <td> 3 </td>
292
- </tr>
293
- <tr>
294
- <td> VatElectronicInvoiceToll</td>
295
- <td> 增值税电子普通发票(通行费)</td>
296
- <td> 3 </td>
297
- </tr>
298
- <tr>
299
- <td> VatSalesList</td>
300
- <td> 增值税销货清单</td>
301
- <td> 3 </td>
302
- </tr>
303
- <tr>
304
- <td> VatElectronicSpecialInvoiceFull</td>
305
- <td> 电子发票(专用发票)</td>
306
- <td> 16 </td>
307
- </tr>
308
- <tr>
309
- <td> VatElectronicInvoiceFull</td>
310
- <td> 电子发票(普通发票) </td>
311
- <td> 16 </td>
312
- </tr>
313
- <tr>
314
- <td> ElectronicFlightTicketFull</td>
315
- <td> 电子发票(机票行程单),该子类目前仅支持ofd发票</td>
316
- <td> 16 </td>
317
- </tr>
318
- <tr>
319
- <td> ElectronicTrainTicketFull</td>
320
- <td> 电子发票(铁路电子客票),该子类目前仅支持ofd发票</td>
321
- <td> 16 </td>
322
- </tr>
323
- <tr>
324
- <td> MotorVehicleSaleInvoice </td>
325
- <td> 机动车销售统一发票 </td>
326
- <td> 12 </td>
327
- </tr>
328
- <tr>
329
- <td> UsedCarPurchaseInvoice </td>
330
- <td> 二手车销售统一发票 </td>
331
- <td> 12 </td>
332
- </tr>
333
- <tr>
334
- <td> VatInvoiceRoll </td>
335
- <td> 增值税普通发票(卷票) </td>
336
- <td> 11 </td>
337
- </tr>
338
- <tr>
339
- <td> TaxiTicket </td>
340
- <td> 出租车发票 </td>
341
- <td> 0 </td>
342
- </tr>
343
- <tr>
344
- <td> QuotaInvoice </td>
345
- <td> 定额发票 </td>
346
- <td> 1 </td>
347
- </tr>
348
- <tr>
349
- <td> TrainTicket </td>
350
- <td> 火车票 </td>
351
- <td> 2 </td>
352
- </tr>
353
- <tr>
354
- <td> AirTransport </td>
355
- <td> 机票行程单 </td>
356
- <td> 5 </td>
357
- </tr>
358
- <tr>
359
- <td> MachinePrintedInvoice </td>
360
- <td> 通用机打发票 </td>
361
- <td> 8 </td>
362
- </tr>
363
- <tr>
364
- <td> BusInvoice </td>
365
- <td> 汽车票 </td>
366
- <td> 9 </td>
367
- </tr>
368
- <tr>
369
- <td> ShippingInvoice </td>
370
- <td> 轮船票 </td>
371
- <td> 10 </td>
372
- </tr>
373
- <tr>
374
- <td> NonTaxIncomeGeneralBill </td>
375
- <td> 非税收入通用票据 </td>
376
- <td> 15 </td>
377
- </tr>
378
- <tr>
379
- <td> NonTaxIncomeElectronicBill </td>
380
- <td> 非税收入一般缴款书(电子) </td>
381
- <td> 15 </td>
382
- </tr>
383
- <tr>
384
- <td> TollInvoice </td>
385
- <td> 过路过桥费发票 </td>
386
- <td> 13 </td>
387
- </tr>
388
- <tr>
389
- <td> MedicalOutpatientInvoice </td>
390
- <td> 医疗门诊收费票据(电子) </td>
391
- <td> 17 </td>
392
- </tr>
393
- <tr>
394
- <td> MedicalHospitalizedInvoice </td>
395
- <td> 医疗住院收费票据(电子) </td>
396
- <td> 17 </td>
397
- </tr>
398
- <tr>
399
- <td> OtherInvoice </td>
400
- <td> 其他发票 </td>
401
- <td> -1 </td>
402
- </tr>
403
- </tbody>
404
- </table>
405
- */
406
- RecognizeGeneralInvoice(req: RecognizeGeneralInvoiceRequest, cb?: (error: string, rep: RecognizeGeneralInvoiceResponse) => void): Promise<RecognizeGeneralInvoiceResponse>;
407
- /**
408
- * 本接口支持病案首页、费用清单、结算单、医疗发票四种保险理赔单据的文本识别和结构化输出。
409
-
410
- 默认接口请求频率限制:1次/秒。
411
- */
412
- InsuranceBillOCR(req: InsuranceBillOCRRequest, cb?: (error: string, rep: InsuranceBillOCRResponse) => void): Promise<InsuranceBillOCRResponse>;
413
- /**
414
- * 本接口支持增值税发票的准确性核验,您可以通过输入增值税发票的关键字段提供所需的验证信息,接口返回真实的票面相关信息,包括发票代码、发票号码、开票日期、金额、消费类型、购方名称、购方税号、销方名称、销方税号等多个常用字段。支持多种发票类型核验,包括增值税专用发票、增值税普通发票(含电子普通发票、卷式发票、通行费发票)、全电发票、机动车销售统一发票、货物运输业增值税专用发票、二手车销售统一发票、通用机打电子发票(广东和浙江)。
415
-
416
- 默认接口请求频率限制:20次/秒。
417
- */
418
- VatInvoiceVerifyNew(req: VatInvoiceVerifyNewRequest, cb?: (error: string, rep: VatInvoiceVerifyNewResponse) => void): Promise<VatInvoiceVerifyNewResponse>;
419
- /**
420
- * 本接口支持图片内车辆识别代号(VIN)的检测和识别。
421
- 默认接口请求频率限制:10次/秒。
422
- */
423
- VinOCR(req: VinOCRRequest, cb?: (error: string, rep: VinOCRResponse) => void): Promise<VinOCRResponse>;
424
- /**
425
- * 本接口支持行驶证主页和副页所有字段的自动定位与识别。
426
-
427
- 行驶证主页:车牌号码、车辆类型、所有人、住址、使用性质、品牌型号、识别代码、发动机号、注册日期、发证日期、发证单位。
428
-
429
- 行驶证副页:号牌号码、档案编号、核定载人数、总质量、整备质量、核定载质量、外廓尺寸、准牵引总质量、备注、检验记录。
430
-
431
- 另外,本接口还支持复印件、翻拍告警功能。
432
-
433
- 默认接口请求频率限制:10次/秒。
434
- */
435
- VehicleLicenseOCR(req: VehicleLicenseOCRRequest, cb?: (error: string, rep: VehicleLicenseOCRResponse) => void): Promise<VehicleLicenseOCRResponse>;
436
- /**
437
- * 本接口支持快速精准识别营业执照上的字段,包括统一社会信用代码、公司名称、主体类型、法定代表人、注册资本、组成形式、成立日期、营业期限和经营范围等字段。
438
-
439
- 默认接口请求频率限制:10次/秒。
440
- */
441
- BizLicenseOCR(req: BizLicenseOCRRequest, cb?: (error: string, rep: BizLicenseOCRResponse) => void): Promise<BizLicenseOCRResponse>;
442
- /**
443
- * 智慧表单产品已下线,需要下线相关API
444
-
445
- 支持查询智能表单录入任务的状态。本产品免费公测中,您可以点击demo(超链接:https://ocr.smartform.cloud.tencent.com/)试用,如需购买请与商务团队联系。
446
- */
447
- GetTaskState(req: GetTaskStateRequest, cb?: (error: string, rep: GetTaskStateResponse) => void): Promise<GetTaskStateResponse>;
448
- /**
449
- * 本接口支持图像整体文字的检测和识别。可以识别中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语,阿拉伯语20种语言,且各种语言均支持与英文混合的文字识别。
450
-
451
- 适用于印刷文档识别、网络图片识别、广告图文字识别、街景店招牌识别、菜单识别、视频标题识别、头像文字识别等场景。
452
-
453
- 产品优势:支持自动识别语言类型,可返回文本框坐标信息,对于倾斜文本支持自动旋转纠正。
454
-
455
- 通用印刷体识别不同版本的差异如下:
456
- <table style="width:715px">
457
- <thead>
458
- <tr>
459
- <th style="width:150px"></th>
460
- <th style="width:200px">【荐】通用印刷体识别</th>
461
- <th ><a href="https://cloud.tencent.com/document/product/866/34937">【荐】通用印刷体识别(高精度版)</a></th>
462
- <th><a href="https://cloud.tencent.com/document/product/866/37831">通用印刷体识别(精简版)</a></th>
463
- </tr>
464
- </thead>
465
- <tbody>
466
- <tr>
467
- <td> 适用场景</td>
468
- <td>适用于所有通用场景的印刷体识别</td>
469
- <td>适用于文字较多、长串数字、小字、模糊字、倾斜文本等困难场景</td>
470
- <td>适用于快速文本识别场景,准召率有一定损失,价格更优惠</td>
471
- </tr>
472
- <tr>
473
- <td>识别准确率</td>
474
- <td>96%</td>
475
- <td>99%</td>
476
- <td>91%</td>
477
- </tr>
478
- <tr>
479
- <td>价格</td>
480
- <td>中</td>
481
- <td>高</td>
482
- <td>低</td>
483
- </tr>
484
- <tr>
485
- <td>支持的语言</td>
486
- <td>中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语</td>
487
- <td>中文、英文、中英文</td>
488
- <td>中文、英文、中英文</td>
489
- </tr>
490
- <tr>
491
- <td>自动语言检测</td>
492
- <td>支持</td>
493
- <td>支持</td>
494
- <td>支持</td>
495
- </tr>
496
- <tr>
497
- <td>返回文本行坐标</td>
498
- <td>支持</td>
499
- <td>支持</td>
500
- <td>支持</td>
501
- </tr>
502
- <tr>
503
- <td>自动旋转纠正</td>
504
- <td>支持旋转识别,返回角度信息</td>
505
- <td>支持旋转识别,返回角度信息</td>
506
- <td>支持旋转识别,返回角度信息</td>
507
- </tr>
508
- </tbody>
509
- </table>
510
-
511
- 默认接口请求频率限制:20次/秒。
512
- */
513
- GeneralBasicOCR(req: GeneralBasicOCRRequest, cb?: (error: string, rep: GeneralBasicOCRResponse) => void): Promise<GeneralBasicOCRResponse>;
514
- /**
515
- * 本接口支持泰国身份证识别,识别字段包括泰文姓名、英文姓名、地址、出生日期、身份证号码、首次领用日期、签发日期等字段。
516
- 本接口暂未完全对外开放,如需咨询,请[联系商务](https://cloud.tencent.com/about/connect)
517
-
518
- 默认接口请求频率限制:10次/秒
519
- */
520
- RecognizeThaiIDCardOCR(req: RecognizeThaiIDCardOCRRequest, cb?: (error: string, rep: RecognizeThaiIDCardOCRResponse) => void): Promise<RecognizeThaiIDCardOCRResponse>;
521
- /**
522
- * <b>此接口为表格识别的旧版本服务,不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/49525">新版表格识别</a>。</b>
523
-
524
- 本接口支持图片内表格文档的检测和识别,返回每个单元格的文字内容,支持将识别结果保存为 Excel 格式。
525
-
526
- 默认接口请求频率限制:10次/秒。
527
- */
528
- TableOCR(req: TableOCRRequest, cb?: (error: string, rep: TableOCRResponse) => void): Promise<TableOCRResponse>;
529
- /**
530
- * 本接口支持作业算式题目的自动识别和判分,目前覆盖 K12 学力范围内的 11 种题型,包括加减乘除四则、加减乘除已知结果求运算因子、判断大小、约等于估算、带余数除法、分数四则运算、单位换算、竖式加减法、竖式乘除法、脱式计算和解方程,平均识别精度达到93%以上。
531
-
532
- 默认接口请求频率限制:10次/秒。
533
- */
534
- ArithmeticOCR(req: ArithmeticOCRRequest, cb?: (error: string, rep: ArithmeticOCRResponse) => void): Promise<ArithmeticOCRResponse>;
535
- /**
536
- * 本接口支持不动产权证关键字段的识别,包括使用期限、面积、用途、权利性质、权利类型、坐落、共有情况、权利人、权利其他状况等。
537
-
538
- 默认接口请求频率限制:5次/秒。
539
- */
540
- EstateCertOCR(req: EstateCertOCRRequest, cb?: (error: string, rep: EstateCertOCRResponse) => void): Promise<EstateCertOCRResponse>;
541
- /**
542
- * 菲律宾UMID识别
543
- */
544
- RecognizePhilippinesUMIDOCR(req: RecognizePhilippinesUMIDOCRRequest, cb?: (error: string, rep: RecognizePhilippinesUMIDOCRResponse) => void): Promise<RecognizePhilippinesUMIDOCRResponse>;
545
- /**
546
- * 本接口支持二代身份证、临时身份证、港澳台居住证、外国人永久居留证,字段内容识别功能,包括姓名、性别、民族、出生、出生日期、住址、公民身份号码、签发机关、有效期限、国籍、通行证号码、持证人持有号码;支持返回证件类型;支持翻拍、复印、边框不完整、遮挡、字段级反光和字段级完整性告警;支持卡片主体框裁剪和头像裁剪。
547
-
548
- 默认接口请求频率限制:20次/秒。
549
- */
550
- RecognizeValidIDCardOCR(req: RecognizeValidIDCardOCRRequest, cb?: (error: string, rep: RecognizeValidIDCardOCRResponse) => void): Promise<RecognizeValidIDCardOCRResponse>;
551
- /**
552
- * 本接口支持对中国大陆主流银行卡正反面关键字段的检测与识别,包括卡号、卡类型、卡名字、银行信息、有效期。支持竖排异形卡识别、多角度旋转图片识别。支持对复印件、翻拍件、边框遮挡的银行卡进行告警,可应用于各种银行卡信息有效性校验场景,如金融行业身份认证、第三方支付绑卡等场景。
553
-
554
- 默认接口请求频率限制:10次/秒。
555
- */
556
- BankCardOCR(req: BankCardOCRRequest, cb?: (error: string, rep: BankCardOCRResponse) => void): Promise<BankCardOCRResponse>;
557
- /**
558
- * 已上线VatInvoiceVerifyNew,VatInvoiceVerify需要下线,产品在官网已发通告
559
-
560
- 本接口支持增值税发票的准确性核验,您可以通过输入增值税发票的关键字段提供所需的验证信息,接口返回真实的票面相关信息,包括发票代码、发票号码、开票日期、金额、消费类型、购方名称、购方税号、销方名称、销方税号等多个常用字段。支持多种发票类型核验,包括增值税专用发票、增值税普通发票(含电子普通发票、卷式发票、通行费发票)、全电发票、机动车销售统一发票、货物运输业增值税专用发票、二手车销售统一发票。
561
-
562
- 默认接口请求频率限制:20次/秒。
563
- */
564
- VatInvoiceVerify(req: VatInvoiceVerifyRequest, cb?: (error: string, rep: VatInvoiceVerifyResponse) => void): Promise<VatInvoiceVerifyResponse>;
565
- /**
566
- * 菲律宾驾驶证识别
567
-
568
- 默认接口请求频率限制:20次/秒。
569
- */
570
- RecognizePhilippinesDrivingLicenseOCR(req: RecognizePhilippinesDrivingLicenseOCRRequest, cb?: (error: string, rep: RecognizePhilippinesDrivingLicenseOCRResponse) => void): Promise<RecognizePhilippinesDrivingLicenseOCRResponse>;
571
- /**
572
- * 本接口支持数学试题内容的识别和结构化输出,包括通用文本解析和小学/初中/高中数学公式解析能力(包括91种题型,180种符号),公式返回格式为 Latex 格式文本。
573
-
574
- 默认接口请求频率限制:5次/秒。
575
- */
576
- EduPaperOCR(req: EduPaperOCRRequest, cb?: (error: string, rep: EduPaperOCRResponse) => void): Promise<EduPaperOCRResponse>;
577
- /**
578
- * 本接口支持智能化识别各类企业登记证书、许可证书、企业执照、三证合一类证书,结构化输出统一社会信用代码、公司名称、法定代表人、公司地址、注册资金、企业类型、经营范围、成立日期、有效期、开办资金、经费来源、举办单位等关键字段。
422
+ * 本接口支持网约车运输证关键字段的识别,包括交运管许可字号、车辆所有人、车辆号牌、起始日期、截止日期、发证日期。
579
423
 
580
424
  默认接口请求频率限制:5次/秒。
581
425
  */
582
- EnterpriseLicenseOCR(req: EnterpriseLicenseOCRRequest, cb?: (error: string, rep: EnterpriseLicenseOCRResponse) => void): Promise<EnterpriseLicenseOCRResponse>;
426
+ RideHailingTransportLicenseOCR(req: RideHailingTransportLicenseOCRRequest, cb?: (error: string, rep: RideHailingTransportLicenseOCRResponse) => void): Promise<RideHailingTransportLicenseOCRResponse>;
583
427
  /**
584
- * 本接口支持中英文名片各字段的自动定位与识别,包含姓名、电话、手机号、邮箱、公司、部门、职位、网址、地址、QQ、微信、MSN等。
428
+ * 智慧表单产品已下线,需要下线相关API
585
429
 
586
- 默认接口请求频率限制:10次/秒。
430
+ 支持查询智能表单录入任务的状态。本产品免费公测中,您可以点击demo(超链接:https://ocr.smartform.cloud.tencent.com/)试用,如需购买请与商务团队联系。
587
431
  */
588
- BusinessCardOCR(req: BusinessCardOCRRequest, cb?: (error: string, rep: BusinessCardOCRResponse) => void): Promise<BusinessCardOCRResponse>;
432
+ GetTaskState(req: GetTaskStateRequest, cb?: (error: string, rep: GetTaskStateResponse) => void): Promise<GetTaskStateResponse>;
589
433
  /**
590
- * 本接口支持中国大陆居民二代身份证正反面所有字段的识别,包括姓名、性别、民族、出生日期、住址、公民身份证号、签发机关、有效期限,识别准确度达到99%以上。
591
-
592
- 另外,本接口还支持多种增值能力,满足不同场景的需求。如身份证照片、人像照片的裁剪功能,同时具备9种告警功能,如下表所示。
593
-
594
- <table style="width:650px">
595
- <thead>
596
- <tr>
597
- <th width="150">增值能力</th>
598
- <th width="500">能力项</th>
599
- </tr>
600
- </thead>
601
- <tbody>
602
- <tr>
603
- <td rowspan="2">裁剪功能</td>
604
- <td>身份证照片裁剪(去掉证件外多余的边缘、自动矫正拍摄角度)</td>
605
- </tr>
606
- <tr>
607
- <td>人像照片裁剪(自动抠取身份证头像区域)</td>
608
- </tr>
609
- <tr>
610
- <td rowspan="9">告警功能</td>
611
- <td>身份证有效日期不合法,即有效日期不符合5年、10年、20年、长期期限
612
-
613
- </td>
614
- </tr>
615
- <tr>
616
- <td>身份证边框不完整告警</td>
617
- </tr>
618
- <tr>
619
- <td>身份证复印件告警</td>
620
- </tr>
621
- <tr>
622
- <td>身份证翻拍告警</td>
623
- </tr>
624
- <tr>
625
- <td>身份证框内遮挡告警</td>
626
- </tr>
627
- <tr>
628
- <td>临时身份证告警</td>
629
- </tr>
630
- <tr>
631
- <td>身份证疑似存在PS痕迹告警</td>
632
- </tr>
633
- <tr>
634
- <td>图片模糊告警(可根据图片质量分数判断)</td>
635
- </tr>
636
- </tbody>
637
- </table>
434
+ * 本接口支持网约车行程单关键字段的识别,包括行程起止日期、上车时间、起点、终点、里程、金额等字段。
638
435
 
639
436
  默认接口请求频率限制:20次/秒。
640
437
  */
641
- IDCardOCR(req: IDCardOCRRequest, cb?: (error: string, rep: IDCardOCRResponse) => void): Promise<IDCardOCRResponse>;
642
- /**
643
- * 本接口支持多种类型证件有效性检测告警,包括卡证复印件告警、卡证翻拍告警等功能。可以应用于各种证件信息有效性校验场景,例如银行开户、用户注册等场景。
644
- */
645
- RecognizeGeneralTextImageWarn(req: RecognizeGeneralTextImageWarnRequest, cb?: (error: string, rep: RecognizeGeneralTextImageWarnResponse) => void): Promise<RecognizeGeneralTextImageWarnResponse>;
646
- /**
647
- * 本接口支持事业单位法人证书关键字段识别,包括注册号、有效期、住所、名称、法定代表人等。
648
-
649
- 默认接口请求频率限制:5次/秒。
650
- */
651
- InstitutionOCR(req: InstitutionOCRRequest, cb?: (error: string, rep: InstitutionOCRResponse) => void): Promise<InstitutionOCRResponse>;
652
- /**
653
- * 本接口支持智能提取各类证照、票据、表单、合同等结构化场景的key:value字段信息,并支持提取表格信息的key:value组的结构化,灵活高效,适用于各类非标准材料的信息录入场景,点击[立即体验](https://cloud.tencent.com/product/smart-ocr)。
654
-
655
- 默认接口请求频率限制:5次/秒。
656
- */
657
- SmartStructuralOCRV2(req: SmartStructuralOCRV2Request, cb?: (error: string, rep: SmartStructuralOCRV2Response) => void): Promise<SmartStructuralOCRV2Response>;
658
- /**
659
- * 本接口支持中英文图片/PDF内常规表格、无线表格、多表格的检测和识别,返回每个单元格的文字内容,支持旋转的表格图片识别,且支持将识别结果保存为 Excel 格式。识别效果比表格识别V2更好,覆盖场景更加广泛,对表格难例场景,如无线表格、嵌套表格(有线表格中包含无线表格)的识别效果均优于表格识别V2。点击[立即体验](https://cloud.tencent.com/act/event/ocrdemo)。
660
-
661
- 默认接口请求频率限制:2次/秒。
662
- */
663
- RecognizeTableAccurateOCR(req: RecognizeTableAccurateOCRRequest, cb?: (error: string, rep: RecognizeTableAccurateOCRResponse) => void): Promise<RecognizeTableAccurateOCRResponse>;
664
- /**
665
- * 本接口支持多张、多类型票据的混合检测和自动分类,返回对应票据类型。目前已支持增值税发票、增值税发票(卷票)、定额发票、通用机打发票、购车发票、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票、酒店账单、客运限额发票、购物小票、完税证明共15种票据。
666
- 默认接口请求频率限制:5次/秒。
667
- */
668
- MixedInvoiceDetect(req: MixedInvoiceDetectRequest, cb?: (error: string, rep: MixedInvoiceDetectResponse) => void): Promise<MixedInvoiceDetectResponse>;
669
- /**
670
- * 本接口支持对增值税发票(卷票)关键字段的识别,包括的发票代码、合计金额(小写)、合计金额(大写)、开票日期、发票号码、购买方识别号、销售方识别号、校验码、销售方名称、购买方名称、发票消费类型、省、市、是否有公司印章、单价、金额、数量、服务类型、品名、种类等。
671
-
672
- 默认接口请求频率限制:5次/秒。
673
- */
674
- VatRollInvoiceOCR(req: VatRollInvoiceOCRRequest, cb?: (error: string, rep: VatRollInvoiceOCRResponse) => void): Promise<VatRollInvoiceOCRResponse>;
438
+ RecognizeOnlineTaxiItineraryOCR(req: RecognizeOnlineTaxiItineraryOCRRequest, cb?: (error: string, rep: RecognizeOnlineTaxiItineraryOCRResponse) => void): Promise<RecognizeOnlineTaxiItineraryOCRResponse>;
675
439
  /**
676
- * 本接口支持定额发票的发票号码、发票代码、金额(大小写)、发票消费类型、地区及是否有公司印章等关键字段的识别。
440
+ * 本接口支持中国香港身份证人像面中关键字段的识别,包括中文姓名、英文姓名、姓名电码、出生日期、性别、证件符号、首次签发日期、最近领用日期、身份证号、是否是永久性居民身份证;具备人像照片裁剪等扩展功能。
677
441
 
678
442
  默认接口请求频率限制:5次/秒。
679
443
  */
680
- QuotaInvoiceOCR(req: QuotaInvoiceOCRRequest, cb?: (error: string, rep: QuotaInvoiceOCRResponse) => void): Promise<QuotaInvoiceOCRResponse>;
681
- /**
682
- * 本接口支持图片内手写体文字的检测和识别,针对手写字体无规则、字迹潦草、模糊等特点进行了识别能力的增强。
683
-
684
- 默认接口请求频率限制:10次/秒。
685
- */
686
- GeneralHandwritingOCR(req: GeneralHandwritingOCRRequest, cb?: (error: string, rep: GeneralHandwritingOCRResponse) => void): Promise<GeneralHandwritingOCRResponse>;
687
- /**
688
- * 本接口支持网约车行程单关键字段的识别,包括行程起止日期、上车时间、起点、终点、里程、金额等字段。
689
-
690
- 默认接口请求频率限制:20次/秒。
691
- */
692
- RecognizeOnlineTaxiItineraryOCR(req: RecognizeOnlineTaxiItineraryOCRRequest, cb?: (error: string, rep: RecognizeOnlineTaxiItineraryOCRResponse) => void): Promise<RecognizeOnlineTaxiItineraryOCRResponse>;
444
+ HKIDCardOCR(req: HKIDCardOCRRequest, cb?: (error: string, rep: HKIDCardOCRResponse) => void): Promise<HKIDCardOCRResponse>;
693
445
  /**
694
446
  * 本接口支持中英文图片/ PDF内常规表格、无线表格、多表格的检测和识别,支持日文有线表格识别,返回每个单元格的文字内容,支持旋转的表格图片识别,且支持将识别结果保存为 Excel 格式。
695
447
 
@@ -705,148 +457,128 @@ export declare class Client extends AbstractClient {
705
457
  */
706
458
  CreateAIFormTask(req: CreateAIFormTaskRequest, cb?: (error: string, rep: CreateAIFormTaskResponse) => void): Promise<CreateAIFormTaskResponse>;
707
459
  /**
708
- * 本接口支持市面上主流版式电子运单的识别,包括收件人和寄件人的姓名、电话、地址以及运单号等字段。
709
-
710
- 默认接口请求频率限制:10次/秒。
711
- */
712
- WaybillOCR(req: WaybillOCRRequest, cb?: (error: string, rep: WaybillOCRResponse) => void): Promise<WaybillOCRResponse>;
713
- /**
714
- * 港澳台居住证OCR支持港澳台居住证正反面全字段内容检测识别功能,包括姓名、性别、出生日期、地址、身份证号、签发机关、有效期限、签发次数、通行证号码关键字段识别。可以应用于港澳台居住证信息识别场景,例如银行开户、用户注册等。
460
+ * 本接口支持对完税证明的税号、纳税人识别号、纳税人名称、金额合计大写、金额合计小写、填发日期、税务机关、填票人等关键字段的识别。
715
461
 
716
- 默认接口请求频率限制:20次/秒。
462
+ 默认接口请求频率限制:5次/秒。
717
463
  */
718
- HmtResidentPermitOCR(req: HmtResidentPermitOCRRequest, cb?: (error: string, rep: HmtResidentPermitOCRResponse) => void): Promise<HmtResidentPermitOCRResponse>;
464
+ DutyPaidProofOCR(req: DutyPaidProofOCRRequest, cb?: (error: string, rep: DutyPaidProofOCRResponse) => void): Promise<DutyPaidProofOCRResponse>;
719
465
  /**
720
- * 本接口支持过路过桥费发票关键字段的识别,包括发票代码、发票号码、日期、金额、入口、出口、时间、发票消费类型、高速标志等。
466
+ * 本接口支持机票行程单关键字段的识别,包括旅客姓名、有效身份证件号码、电子客票号码、验证码、填开单位、其他税费、燃油附加费、民航发展基金、保险费、销售单位代号、始发地、目的地、航班号、时间、日期、座位等级、承运人、发票消费类型、票价、合计金额、填开日期、国内国际标签、印刷序号、客票级别/类别、客票生效日期、有效期截止日期、免费行李等字段,支持航班信息多行明细输出。
721
467
 
722
468
  默认接口请求频率限制:5次/秒。
723
469
  */
724
- TollInvoiceOCR(req: TollInvoiceOCRRequest, cb?: (error: string, rep: TollInvoiceOCRResponse) => void): Promise<TollInvoiceOCRResponse>;
470
+ FlightInvoiceOCR(req: FlightInvoiceOCRRequest, cb?: (error: string, rep: FlightInvoiceOCRResponse) => void): Promise<FlightInvoiceOCRResponse>;
725
471
  /**
726
- * 支持身份证、护照、名片、银行卡、行驶证、驾驶证、港澳台通行证、户口本、港澳台来往内地通行证、港澳台居住证、不动产证、营业执照的智能分类。
472
+ * 本接口支持对卡式港澳台通行证的识别,包括签发地点、签发机关、有效期限、性别、出生日期、英文姓名、姓名、证件号等字段。
727
473
 
728
- 默认接口请求频率限制:20次/秒。
474
+ 默认接口请求频率限制:10次/秒。
729
475
  */
730
- ClassifyDetectOCR(req: ClassifyDetectOCRRequest, cb?: (error: string, rep: ClassifyDetectOCRResponse) => void): Promise<ClassifyDetectOCRResponse>;
476
+ PermitOCR(req: PermitOCRRequest, cb?: (error: string, rep: PermitOCRResponse) => void): Promise<PermitOCRResponse>;
731
477
  /**
732
- * 本接口支持各类印章主体内容、印章其他内容及形状识别,支持单图多印章识别,包括发票章、财务章等,适用于公文票据等场景。
478
+ * 本接口支持组织机构代码证关键字段的识别,包括代码、有效期、地址、机构名称等。
733
479
 
734
480
  默认接口请求频率限制:5次/秒。
735
481
  */
736
- SealOCR(req: SealOCRRequest, cb?: (error: string, rep: SealOCRResponse) => void): Promise<SealOCRResponse>;
482
+ OrgCodeCertOCR(req: OrgCodeCertOCRRequest, cb?: (error: string, rep: OrgCodeCertOCRResponse) => void): Promise<OrgCodeCertOCRResponse>;
737
483
  /**
738
- * 本接口支持菲律宾VoteID识别,识别字段包括姓名、姓氏、出生日期、婚姻状况、国籍、地址、地区、菲律宾VoteID的VIN等。
739
-
740
- 默认接口请求频率限制:20次/秒。
484
+ * 本接口通过检测图片中的文字信息特征,快速判断图片中有无文字并返回判断结果,帮助用户过滤无文字的图片。
741
485
  */
742
- RecognizePhilippinesVoteIDOCR(req: RecognizePhilippinesVoteIDOCRRequest, cb?: (error: string, rep: RecognizePhilippinesVoteIDOCRResponse) => void): Promise<RecognizePhilippinesVoteIDOCRResponse>;
486
+ TextDetect(req: TextDetectRequest, cb?: (error: string, rep: TextDetectResponse) => void): Promise<TextDetectResponse>;
743
487
  /**
744
- * 本接口支持银行回单全字段的识别,包括付款开户行、收款开户行、付款账号、收款账号、回单类型、回单编号、币种、流水号、凭证号码、交易机构、交易金额、手续费、日期等字段信息。
488
+ * 本接口支持常见银行票据的自动分类和识别。切片识别包括金融行业常见票据的重要切片字段识别,包括金额、账号、日期、凭证号码等。(金融票据切片:金融票据中待识别字段及其周围局部区域的裁剪图像。)
745
489
 
746
- 默认接口请求频率限制:10次/秒。
490
+ 默认接口请求频率限制:5次/秒。
747
491
  */
748
- BankSlipOCR(req: BankSlipOCRRequest, cb?: (error: string, rep: BankSlipOCRResponse) => void): Promise<BankSlipOCRResponse>;
492
+ FinanBillSliceOCR(req: FinanBillSliceOCRRequest, cb?: (error: string, rep: FinanBillSliceOCRResponse) => void): Promise<FinanBillSliceOCRResponse>;
749
493
  /**
750
- * 本接口支持国内机动车登记证书主要字段的结构化识别,包括机动车所有人、身份证明名称、号码、车辆型号、车辆识别代号、发动机号、制造厂名称等。
494
+ * 本接口支持识别公路汽车客票关键字段的识别,包括发票代码、发票号码、日期、票价、始发地、目的地、姓名、时间、发票消费类型、身份证号、省、市、开票日期、乘车地点、检票口、客票类型、车型、座位号、车次等。
751
495
 
752
496
  默认接口请求频率限制:5次/秒。
753
497
  */
754
- VehicleRegCertOCR(req: VehicleRegCertOCRRequest, cb?: (error: string, rep: VehicleRegCertOCRResponse) => void): Promise<VehicleRegCertOCRResponse>;
498
+ BusInvoiceOCR(req: BusInvoiceOCRRequest, cb?: (error: string, rep: BusInvoiceOCRResponse) => void): Promise<BusInvoiceOCRResponse>;
755
499
  /**
756
- * 本接口支持通信大数据行程卡识别,包括行程卡颜色、更新时间、途经地、存在中高风险地区的城市、电话号码,五个字段的识别结果输出。
500
+ * 医疗发票识别目前支持全国统一门诊发票、全国统一住院发票、以及部分地方的门诊和住院发票的识别。
757
501
 
758
- 默认接口请求频率限制:20次/秒。
759
- */
760
- RecognizeTravelCardOCR(req: RecognizeTravelCardOCRRequest, cb?: (error: string, rep: RecognizeTravelCardOCRResponse) => void): Promise<RecognizeTravelCardOCRResponse>;
761
- /**
762
- * 韩国身份证识别
763
- */
764
- RecognizeKoreanIDCardOCR(req: RecognizeKoreanIDCardOCRRequest, cb?: (error: string, rep: RecognizeKoreanIDCardOCRResponse) => void): Promise<RecognizeKoreanIDCardOCRResponse>;
765
- /**
766
- * 本接口支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(铁路电子客票)、电子发票(航空运输电子客票行程单)识别,返回发票代码、发票号码、开票日期、验证码、机器编号、密码区,购买方和销售方信息,包括名称、纳税人识别号、地址电话、开户行及账号,以及价税合计、开票人、收款人、复核人、税额、不含税金额等字段信息。
502
+ 默认接口请求频率限制:5次/秒。
767
503
  */
768
- VerifyOfdVatInvoiceOCR(req: VerifyOfdVatInvoiceOCRRequest, cb?: (error: string, rep: VerifyOfdVatInvoiceOCRResponse) => void): Promise<VerifyOfdVatInvoiceOCRResponse>;
504
+ RecognizeMedicalInvoiceOCR(req: RecognizeMedicalInvoiceOCRRequest, cb?: (error: string, rep: RecognizeMedicalInvoiceOCRResponse) => void): Promise<RecognizeMedicalInvoiceOCRResponse>;
769
505
  /**
770
- * 本接口支持驾驶证主页和副页所有字段的自动定位与识别,重点字段的识别准确度达到99%以上。
771
-
772
- 驾驶证主页:包括证号、姓名、性别、国籍、住址、出生日期、初次领证日期、准驾车型、有效期限、发证单位
773
-
774
- 驾驶证副页:包括证号、姓名、档案编号、记录。
775
-
776
- 另外,本接口还支持复印件、翻拍告警功能。同时支持识别交管12123 APP发放的电子驾驶证正页。
777
-
778
- 电子驾驶证正页:包括证号、姓名、性别、国籍、出生日期、初次领证日期、准驾车型、有效期开始时间、有效期截止时间、档案编号、状态、累积记分。
506
+ * 本接口支持增值税专用发票、增值税普通发票、增值税电子专票、增值税电子普票、电子发票(普通发票)、电子发票(增值税专用发票)全字段的内容检测和识别,包括发票代码、发票号码、打印发票代码、打印发票号码、开票日期、合计金额、校验码、税率、合计税额、价税合计、购买方识别号、复核、销售方识别号、开票人、密码区1、密码区2、密码区3、密码区4、发票名称、购买方名称、销售方名称、服务名称、备注、规格型号、数量、单价、金额、税额、收款人等字段,点击[立即试用](https://cloud.tencent.com/product/ocr)。
779
507
 
780
508
  默认接口请求频率限制:10次/秒。
781
509
  */
782
- DriverLicenseOCR(req: DriverLicenseOCRRequest, cb?: (error: string, rep: DriverLicenseOCRResponse) => void): Promise<DriverLicenseOCRResponse>;
783
- /**
784
- * 韩国驾驶证识别
785
- */
786
- RecognizeKoreanDrivingLicenseOCR(req: RecognizeKoreanDrivingLicenseOCRRequest, cb?: (error: string, rep: RecognizeKoreanDrivingLicenseOCRResponse) => void): Promise<RecognizeKoreanDrivingLicenseOCRResponse>;
510
+ VatInvoiceOCR(req: VatInvoiceOCRRequest, cb?: (error: string, rep: VatInvoiceOCRResponse) => void): Promise<VatInvoiceOCRResponse>;
787
511
  /**
788
- * 本接口支持常见银行票据的自动分类和识别。整单识别包括支票(含现金支票、普通支票、转账支票),承兑汇票(含银行承兑汇票、商业承兑汇票)以及进账单等,适用于中国人民银行印发的 2010 版银行票据凭证版式(银发[2010]299 号)。
512
+ * <b>此接口为表格识别的旧版本服务,不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/49525">新版表格识别</a>。</b>
789
513
 
790
- 默认接口请求频率限制:5次/秒。
514
+ 本接口支持图片内表格文档的检测和识别,返回每个单元格的文字内容,支持将识别结果保存为 Excel 格式。
515
+
516
+ 默认接口请求频率限制:10次/秒。
791
517
  */
792
- FinanBillOCR(req: FinanBillOCRRequest, cb?: (error: string, rep: FinanBillOCRResponse) => void): Promise<FinanBillOCRResponse>;
518
+ TableOCR(req: TableOCRRequest, cb?: (error: string, rep: TableOCRResponse) => void): Promise<TableOCRResponse>;
793
519
  /**
794
- * 本接口支持智能提取各类证照、票据、表单、合同等结构化场景的key:value字段信息,并支持提取表格信息的key:value组的结构化,灵活高效,适用于各类非标准材料的信息录入场景,点击[立即体验](https://cloud.tencent.com/product/smart-ocr)。
520
+ * 本接口支持网约车驾驶证关键字段的识别,包括姓名、证号、起始日期、截止日期、发证日期。
795
521
 
796
522
  默认接口请求频率限制:5次/秒。
797
523
  */
798
- SmartStructuralPro(req: SmartStructuralProRequest, cb?: (error: string, rep: SmartStructuralProResponse) => void): Promise<SmartStructuralProResponse>;
524
+ RideHailingDriverLicenseOCR(req: RideHailingDriverLicenseOCRRequest, cb?: (error: string, rep: RideHailingDriverLicenseOCRResponse) => void): Promise<RideHailingDriverLicenseOCRResponse>;
799
525
  /**
800
- * 文本图像增强是面向文档类图片提供的图像增强处理能力,包括切边增强、图像矫正、阴影去除、摩尔纹去除等;可以有效优化文档类的图片质量,提升文字的清晰度。
526
+ * 港澳台居住证OCR支持港澳台居住证正反面全字段内容检测识别功能,包括姓名、性别、出生日期、地址、身份证号、签发机关、有效期限、签发次数、通行证号码关键字段识别。可以应用于港澳台居住证信息识别场景,例如银行开户、用户注册等。
801
527
 
802
- 默认接口请求频率限制:10次/秒。
528
+ 默认接口请求频率限制:20次/秒。
803
529
  */
804
- ImageEnhancement(req: ImageEnhancementRequest, cb?: (error: string, rep: ImageEnhancementResponse) => void): Promise<ImageEnhancementResponse>;
530
+ HmtResidentPermitOCR(req: HmtResidentPermitOCRRequest, cb?: (error: string, rep: HmtResidentPermitOCRResponse) => void): Promise<HmtResidentPermitOCRResponse>;
805
531
  /**
806
- * 本接口支持马来西亚身份证识别,识别字段包括身份证号、姓名、性别、地址;具备身份证人像照片的裁剪功能和翻拍、复印件告警功能。
807
- 本接口暂未完全对外开放,如需咨询,请[联系商务](https://cloud.tencent.com/about/connect)
532
+ * 本接口支持多种类型证件有效性检测告警,包括卡证复印件告警、卡证翻拍告警等功能。可以应用于各种证件信息有效性校验场景,例如银行开户、用户注册等场景。
808
533
  */
809
- MLIDCardOCR(req: MLIDCardOCRRequest, cb?: (error: string, rep: MLIDCardOCRResponse) => void): Promise<MLIDCardOCRResponse>;
534
+ RecognizeGeneralTextImageWarn(req: RecognizeGeneralTextImageWarnRequest, cb?: (error: string, rep: RecognizeGeneralTextImageWarnResponse) => void): Promise<RecognizeGeneralTextImageWarnResponse>;
810
535
  /**
811
- * 医疗发票识别目前支持全国统一门诊发票、全国统一住院发票、以及部分地方的门诊和住院发票的识别。
536
+ * 本接口支持识别并提取各类证照、票据、表单、合同等结构化场景的字段信息。无需任何配置,灵活高效。适用于各类结构化信息录入场景。
812
537
 
813
538
  默认接口请求频率限制:5次/秒。
814
539
  */
815
- RecognizeMedicalInvoiceOCR(req: RecognizeMedicalInvoiceOCRRequest, cb?: (error: string, rep: RecognizeMedicalInvoiceOCRResponse) => void): Promise<RecognizeMedicalInvoiceOCRResponse>;
540
+ SmartStructuralOCR(req: SmartStructuralOCRRequest, cb?: (error: string, rep: SmartStructuralOCRResponse) => void): Promise<SmartStructuralOCRResponse>;
816
541
  /**
817
- * 本接口支持图片中整体文字的检测和识别,返回文字框位置与文字内容。相比通用印刷体识别接口,识别速度更快。
542
+ * 本接口支持作业算式题目的自动识别和判分,目前覆盖 K12 学力范围内的 11 种题型,包括加减乘除四则、加减乘除已知结果求运算因子、判断大小、约等于估算、带余数除法、分数四则运算、单位换算、竖式加减法、竖式乘除法、脱式计算和解方程,平均识别精度达到93%以上。
818
543
 
819
544
  默认接口请求频率限制:10次/秒。
820
545
  */
821
- GeneralFastOCR(req: GeneralFastOCRRequest, cb?: (error: string, rep: GeneralFastOCRResponse) => void): Promise<GeneralFastOCRResponse>;
546
+ ArithmeticOCR(req: ArithmeticOCRRequest, cb?: (error: string, rep: ArithmeticOCRResponse) => void): Promise<ArithmeticOCRResponse>;
822
547
  /**
823
- * 本接口支持增值税专用发票、增值税普通发票、增值税电子专票、增值税电子普票、电子发票(普通发票)、电子发票(增值税专用发票)全字段的内容检测和识别,包括发票代码、发票号码、打印发票代码、打印发票号码、开票日期、合计金额、校验码、税率、合计税额、价税合计、购买方识别号、复核、销售方识别号、开票人、密码区1、密码区2、密码区3、密码区4、发票名称、购买方名称、销售方名称、服务名称、备注、规格型号、数量、单价、金额、税额、收款人等字段,点击[立即试用](https://cloud.tencent.com/product/ocr)。
548
+ * 本接口支持对中国大陆机动车车牌的自动定位和识别,返回地域编号和车牌号码与车牌颜色信息。
824
549
 
825
550
  默认接口请求频率限制:10次/秒。
826
551
  */
827
- VatInvoiceOCR(req: VatInvoiceOCRRequest, cb?: (error: string, rep: VatInvoiceOCRResponse) => void): Promise<VatInvoiceOCRResponse>;
552
+ LicensePlateOCR(req: LicensePlateOCRRequest, cb?: (error: string, rep: LicensePlateOCRResponse) => void): Promise<LicensePlateOCRResponse>;
828
553
  /**
829
- * 外国人永久居留身份证识别
554
+ * 本接口支持不动产权证关键字段的识别,包括使用期限、面积、用途、权利性质、权利类型、坐落、共有情况、权利人、权利其他状况等。
555
+
556
+ 默认接口请求频率限制:5次/秒。
830
557
  */
831
- RecognizeForeignPermanentResidentIdCard(req: RecognizeForeignPermanentResidentIdCardRequest, cb?: (error: string, rep: RecognizeForeignPermanentResidentIdCardResponse) => void): Promise<RecognizeForeignPermanentResidentIdCardResponse>;
558
+ EstateCertOCR(req: EstateCertOCRRequest, cb?: (error: string, rep: EstateCertOCRResponse) => void): Promise<EstateCertOCRResponse>;
832
559
  /**
833
- * 本接口支持组织机构代码证关键字段的识别,包括代码、有效期、地址、机构名称等。
560
+ * 支持身份证、护照、名片、银行卡、行驶证、驾驶证、港澳台通行证、户口本、港澳台来往内地通行证、港澳台居住证、不动产证、营业执照的智能分类。
834
561
 
835
- 默认接口请求频率限制:5次/秒。
562
+ 默认接口请求频率限制:20次/秒。
836
563
  */
837
- OrgCodeCertOCR(req: OrgCodeCertOCRRequest, cb?: (error: string, rep: OrgCodeCertOCRResponse) => void): Promise<OrgCodeCertOCRResponse>;
564
+ ClassifyDetectOCR(req: ClassifyDetectOCRRequest, cb?: (error: string, rep: ClassifyDetectOCRResponse) => void): Promise<ClassifyDetectOCRResponse>;
838
565
  /**
839
- * 本接口支持常见银行票据的自动分类和识别。切片识别包括金融行业常见票据的重要切片字段识别,包括金额、账号、日期、凭证号码等。(金融票据切片:金融票据中待识别字段及其周围局部区域的裁剪图像。)
566
+ * 本接口支持各类印章主体内容、印章其他内容及形状识别,支持单图多印章识别,包括发票章、财务章等,适用于公文票据等场景。
840
567
 
841
568
  默认接口请求频率限制:5次/秒。
842
569
  */
843
- FinanBillSliceOCR(req: FinanBillSliceOCRRequest, cb?: (error: string, rep: FinanBillSliceOCRResponse) => void): Promise<FinanBillSliceOCRResponse>;
570
+ SealOCR(req: SealOCRRequest, cb?: (error: string, rep: SealOCRResponse) => void): Promise<SealOCRResponse>;
571
+ /**
572
+ * 本接口用于识别门头照分类标签信息
573
+ 默认接口请求频率限制:1次/秒
574
+ */
575
+ ClassifyStoreName(req: ClassifyStoreNameRequest, cb?: (error: string, rep: ClassifyStoreNameResponse) => void): Promise<ClassifyStoreNameResponse>;
844
576
  /**
845
- * 本接口支持对中国大陆机动车车牌的自动定位和识别,返回地域编号和车牌号码与车牌颜色信息。
577
+ * 本接口支持银行回单全字段的识别,包括付款开户行、收款开户行、付款账号、收款账号、回单类型、回单编号、币种、流水号、凭证号码、交易机构、交易金额、手续费、日期等字段信息。
846
578
 
847
579
  默认接口请求频率限制:10次/秒。
848
580
  */
849
- LicensePlateOCR(req: LicensePlateOCRRequest, cb?: (error: string, rep: LicensePlateOCRResponse) => void): Promise<LicensePlateOCRResponse>;
581
+ BankSlipOCR(req: BankSlipOCRRequest, cb?: (error: string, rep: BankSlipOCRResponse) => void): Promise<BankSlipOCRResponse>;
850
582
  /**
851
583
  * 本接口支持图像整体文字的检测和识别。支持中文、英文、中英文、数字和特殊字符号的识别,并返回文字框位置和文字内容。
852
584
 
@@ -921,12 +653,48 @@ export declare class Client extends AbstractClient {
921
653
  默认接口请求频率限制:20次/秒。
922
654
  */
923
655
  AdvertiseOCR(req: AdvertiseOCRRequest, cb?: (error: string, rep: AdvertiseOCRResponse) => void): Promise<AdvertiseOCRResponse>;
656
+ /**
657
+ * 本接口支持火车票全字段的识别,包括编号、出发站、到达站、出发时间、车次、座位号、姓名、票价、席别、身份证号、发票消费类型、序列号、加收票价、手续费、大写金额、售票站、原票价、发票类型、收据号码、是否仅供报销使用等字段的识别。
658
+
659
+ 默认接口请求频率限制:5次/秒。
660
+ */
661
+ TrainTicketOCR(req: TrainTicketOCRRequest, cb?: (error: string, rep: TrainTicketOCRResponse) => void): Promise<TrainTicketOCRResponse>;
924
662
  /**
925
663
  * 本接口支持居民户口簿户主页及成员页关键字段的识别,包括姓名、户别、地址、籍贯、身份证号码等。
926
664
 
927
665
  默认接口请求频率限制:5次/秒。
928
666
  */
929
667
  ResidenceBookletOCR(req: ResidenceBookletOCRRequest, cb?: (error: string, rep: ResidenceBookletOCRResponse) => void): Promise<ResidenceBookletOCRResponse>;
668
+ /**
669
+ * 本接口支持通信大数据行程卡识别,包括行程卡颜色、更新时间、途经地、存在中高风险地区的城市、电话号码,五个字段的识别结果输出。
670
+
671
+ 默认接口请求频率限制:20次/秒。
672
+ */
673
+ RecognizeTravelCardOCR(req: RecognizeTravelCardOCRRequest, cb?: (error: string, rep: RecognizeTravelCardOCRResponse) => void): Promise<RecognizeTravelCardOCRResponse>;
674
+ /**
675
+ * 本接口支持事业单位法人证书关键字段识别,包括注册号、有效期、住所、名称、法定代表人等。
676
+
677
+ 默认接口请求频率限制:5次/秒。
678
+ */
679
+ InstitutionOCR(req: InstitutionOCRRequest, cb?: (error: string, rep: InstitutionOCRResponse) => void): Promise<InstitutionOCRResponse>;
680
+ /**
681
+ * 本接口支持图像英文文字的检测和识别,返回文字框位置与文字内容。支持多场景、任意版面下的英文、字母、数字和常见字符的识别,同时覆盖英文印刷体和英文手写体识别。
682
+
683
+ 默认接口请求频率限制:10次/秒。
684
+ */
685
+ EnglishOCR(req: EnglishOCRRequest, cb?: (error: string, rep: EnglishOCRResponse) => void): Promise<EnglishOCRResponse>;
686
+ /**
687
+ * 本接口支持二代身份证、临时身份证、港澳台居住证、外国人永久居留证,字段内容识别功能,包括姓名、性别、民族、出生、出生日期、住址、公民身份号码、签发机关、有效期限、国籍、通行证号码、持证人持有号码;支持返回证件类型;支持翻拍、复印、边框不完整、遮挡、字段级反光和字段级完整性告警;支持卡片主体框裁剪和头像裁剪。
688
+
689
+ 默认接口请求频率限制:20次/秒。
690
+ */
691
+ RecognizeValidIDCardOCR(req: RecognizeValidIDCardOCRRequest, cb?: (error: string, rep: RecognizeValidIDCardOCRResponse) => void): Promise<RecognizeValidIDCardOCRResponse>;
692
+ /**
693
+ * 本接口支持对中国大陆主流银行卡正反面关键字段的检测与识别,包括卡号、卡类型、卡名字、银行信息、有效期。支持竖排异形卡识别、多角度旋转图片识别。支持对复印件、翻拍件、边框遮挡的银行卡进行告警,可应用于各种银行卡信息有效性校验场景,如金融行业身份认证、第三方支付绑卡等场景。
694
+
695
+ 默认接口请求频率限制:10次/秒。
696
+ */
697
+ BankCardOCR(req: BankCardOCRRequest, cb?: (error: string, rep: BankCardOCRResponse) => void): Promise<BankCardOCRResponse>;
930
698
  /**
931
699
  * 本接口支持机动车销售统一发票和二手车销售统一发票的识别,包括发票号码、发票代码、合计金额、合计税额等二十多个字段。
932
700
 
@@ -934,15 +702,25 @@ export declare class Client extends AbstractClient {
934
702
  */
935
703
  CarInvoiceOCR(req: CarInvoiceOCRRequest, cb?: (error: string, rep: CarInvoiceOCRResponse) => void): Promise<CarInvoiceOCRResponse>;
936
704
  /**
937
- * 本接口支持北京、上海、广东、江苏、吉林、黑龙江、天津、辽宁、浙江、河南、四川、贵州、山东、安徽、福建、江西、湖北、湖南等省份健康码的识别,包括持码人姓名、持码人身份证号、健康码更新时间、健康码颜色、核酸检测结果、核酸检测间隔时长、核酸检测时间,疫苗接种信息,八个字段的识别结果输出。不同省市健康码显示的字段信息有所不同,上述字段的识别结果可能为空,以图片上具体展示的信息为准。
705
+ * 本接口支持驾驶证主页和副页所有字段的自动定位与识别,重点字段的识别准确度达到99%以上。
706
+
707
+ 驾驶证主页:包括证号、姓名、性别、国籍、住址、出生日期、初次领证日期、准驾车型、有效期限、发证单位
708
+
709
+ 驾驶证副页:包括证号、姓名、档案编号、记录。
710
+
711
+ 另外,本接口还支持复印件、翻拍告警功能。同时支持识别交管12123 APP发放的电子驾驶证正页。
712
+
713
+ 电子驾驶证正页:包括证号、姓名、性别、国籍、出生日期、初次领证日期、准驾车型、有效期开始时间、有效期截止时间、档案编号、状态、累积记分。
938
714
 
939
715
  默认接口请求频率限制:10次/秒。
940
716
  */
941
- RecognizeHealthCodeOCR(req: RecognizeHealthCodeOCRRequest, cb?: (error: string, rep: RecognizeHealthCodeOCRResponse) => void): Promise<RecognizeHealthCodeOCRResponse>;
717
+ DriverLicenseOCR(req: DriverLicenseOCRRequest, cb?: (error: string, rep: DriverLicenseOCRResponse) => void): Promise<DriverLicenseOCRResponse>;
942
718
  /**
943
- * 菲律宾SSSID/UMID识别
719
+ * 智能识别并结构化港澳台居民来往内地通行证正面全部字段,包含中文姓名、英文姓名、性别、出生日期、签发机关、有效期限、证件号、签发地点、签发次数、证件类别。
720
+
721
+ 默认接口请求频率限制:20次/秒。
944
722
  */
945
- RecognizePhilippinesSssIDOCR(req: RecognizePhilippinesSssIDOCRRequest, cb?: (error: string, rep: RecognizePhilippinesSssIDOCRResponse) => void): Promise<RecognizePhilippinesSssIDOCRResponse>;
723
+ MainlandPermitOCR(req: MainlandPermitOCRRequest, cb?: (error: string, rep: MainlandPermitOCRResponse) => void): Promise<MainlandPermitOCRResponse>;
946
724
  /**
947
725
  * 本接口支持识别主流初高中数学符号和公式,返回公式的 Latex 格式文本。
948
726
 
@@ -956,25 +734,213 @@ export declare class Client extends AbstractClient {
956
734
  */
957
735
  PassportOCR(req: PassportOCRRequest, cb?: (error: string, rep: PassportOCRResponse) => void): Promise<PassportOCRResponse>;
958
736
  /**
959
- * 本接口支持识别轮船票的发票代码、发票号码、日期、姓名、票价、始发地、目的地、姓名、时间、发票消费类型、省、市、币种字段。
737
+ * 本接口支持常见银行票据的自动分类和识别。整单识别包括支票(含现金支票、普通支票、转账支票),承兑汇票(含银行承兑汇票、商业承兑汇票)以及进账单等,适用于中国人民银行印发的 2010 版银行票据凭证版式(银发[2010]299 号)。
960
738
 
961
739
  默认接口请求频率限制:5次/秒。
962
740
  */
963
- ShipInvoiceOCR(req: ShipInvoiceOCRRequest, cb?: (error: string, rep: ShipInvoiceOCRResponse) => void): Promise<ShipInvoiceOCRResponse>;
741
+ FinanBillOCR(req: FinanBillOCRRequest, cb?: (error: string, rep: FinanBillOCRResponse) => void): Promise<FinanBillOCRResponse>;
742
+ /**
743
+ * 本接口支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(铁路电子客票)、电子发票(航空运输电子客票行程单)识别,返回发票代码、发票号码、开票日期、验证码、机器编号、密码区,购买方和销售方信息,包括名称、纳税人识别号、地址电话、开户行及账号,以及价税合计、开票人、收款人、复核人、税额、不含税金额等字段信息。
744
+ */
745
+ VerifyOfdVatInvoiceOCR(req: VerifyOfdVatInvoiceOCRRequest, cb?: (error: string, rep: VerifyOfdVatInvoiceOCRResponse) => void): Promise<VerifyOfdVatInvoiceOCRResponse>;
964
746
  /**
965
- * 印尼身份证识别
747
+ * 本接口支持 单张、多张、多类型 票据的混合识别,同时支持自选需要识别的票据类型,已支持票种包括:增值税发票(专票、普票、卷票)、全电发票、非税发票、定额发票、通用机打发票、购车发票、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票共14种标准报销发票,并支持其他类发票的识别。
966
748
 
967
749
  默认接口请求频率限制:5次/秒。
968
750
  */
969
- RecognizeIndonesiaIDCardOCR(req: RecognizeIndonesiaIDCardOCRRequest, cb?: (error: string, rep: RecognizeIndonesiaIDCardOCRResponse) => void): Promise<RecognizeIndonesiaIDCardOCRResponse>;
751
+ MixedInvoiceOCR(req: MixedInvoiceOCRRequest, cb?: (error: string, rep: MixedInvoiceOCRResponse) => void): Promise<MixedInvoiceOCRResponse>;
970
752
  /**
971
- * 本接口支持网约车运输证关键字段的识别,包括交运管许可字号、车辆所有人、车辆号牌、起始日期、截止日期、发证日期。
753
+ * 本接口支持北京、上海、广东、江苏、吉林、黑龙江、天津、辽宁、浙江、河南、四川、贵州、山东、安徽、福建、江西、湖北、湖南等省份健康码的识别,包括持码人姓名、持码人身份证号、健康码更新时间、健康码颜色、核酸检测结果、核酸检测间隔时长、核酸检测时间,疫苗接种信息,八个字段的识别结果输出。不同省市健康码显示的字段信息有所不同,上述字段的识别结果可能为空,以图片上具体展示的信息为准。
754
+
755
+ 默认接口请求频率限制:10次/秒。
756
+ */
757
+ RecognizeHealthCodeOCR(req: RecognizeHealthCodeOCRRequest, cb?: (error: string, rep: RecognizeHealthCodeOCRResponse) => void): Promise<RecognizeHealthCodeOCRResponse>;
758
+ /**
759
+ * 本接口支持数学试题内容的识别和结构化输出,包括通用文本解析和小学/初中/高中数学公式解析能力(包括91种题型,180种符号),公式返回格式为 Latex 格式文本。
972
760
 
973
761
  默认接口请求频率限制:5次/秒。
974
762
  */
975
- RideHailingTransportLicenseOCR(req: RideHailingTransportLicenseOCRRequest, cb?: (error: string, rep: RideHailingTransportLicenseOCRResponse) => void): Promise<RideHailingTransportLicenseOCRResponse>;
763
+ EduPaperOCR(req: EduPaperOCRRequest, cb?: (error: string, rep: EduPaperOCRResponse) => void): Promise<EduPaperOCRResponse>;
764
+ /**
765
+ * 服务已迁移至 [文档解析](https://cloud.tencent.com/document/product/1759/107504),请跳转查看接口文档。该接口支持将图片或PDF文件转换成Markdown格式文件,可解析包括表格、公式、图片、标题、段落、页眉、页脚等内容元素,并将内容智能转换成阅读顺序。
766
+ */
767
+ ReconstructDocument(req: ReconstructDocumentRequest, cb?: (error: string, rep: ReconstructDocumentResponse) => void): Promise<ReconstructDocumentResponse>;
768
+ /**
769
+ * 本接口支持泰国身份证识别,识别字段包括泰文姓名、英文姓名、地址、出生日期、身份证号码、首次领用日期、签发日期等字段。
770
+ 本接口暂未完全对外开放,如需咨询,请[联系商务](https://cloud.tencent.com/about/connect)
771
+
772
+ 默认接口请求频率限制:10次/秒
773
+ */
774
+ RecognizeThaiIDCardOCR(req: RecognizeThaiIDCardOCRRequest, cb?: (error: string, rep: RecognizeThaiIDCardOCRResponse) => void): Promise<RecognizeThaiIDCardOCRResponse>;
775
+ /**
776
+ * 韩国驾驶证识别
777
+ */
778
+ RecognizeKoreanDrivingLicenseOCR(req: RecognizeKoreanDrivingLicenseOCRRequest, cb?: (error: string, rep: RecognizeKoreanDrivingLicenseOCRResponse) => void): Promise<RecognizeKoreanDrivingLicenseOCRResponse>;
779
+ /**
780
+ * 本接口支持 PDF多页(最多30页)、一页中单张、多张、类型票据的混合识别,同时支持单选识别某类票据,已支持票种包括:增值税发票(专票、普票、卷票、区块链发票、通行费发票)、全电发票(专票、普票)、非税发票(通用票据、统一缴纳书)、定额发票、通用机打发票、购车发票(机动车销售发票、二手车发票)、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票共14种标准报销发票,支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(机票行程单)、电子发票(铁路电子客票)的第一页识别,并支持非上述类型的其他发票的智能识别,点击[立即试用](https://cloud.tencent.com/product/ocr)。
781
+
782
+ 默认接口请求频率限制:5次/秒。
783
+
784
+
785
+ 支持返回的细项目子票种SubType、子票种中文TypeDescription、以及对应所属大类票种Type 的说明如下列表:
786
+ <table style="width:715px">
787
+ <thead>
788
+ <tr>
789
+ <th style="width:200px">SubType 子票种英文</th>
790
+ <th style="width:200px">TypeDescription子票种中文</th>
791
+ <th >Type 所属大类票种</th>
792
+ </tr>
793
+ </thead>
794
+ <tbody>
795
+ <tr>
796
+ <td> VatSpecialInvoice</td>
797
+ <td> 增值税专用发票 </td>
798
+ <td> 3 </td>
799
+ </tr>
800
+ <tr>
801
+ <td> VatCommonInvoice</td>
802
+ <td> 增值税普通发票 </td>
803
+ <td> 3 </td>
804
+ </tr>
805
+ <tr>
806
+ <td> VatElectronicCommonInvoice </td>
807
+ <td> 增值税电子普通发票 </td>
808
+ <td> 3 </td>
809
+ </tr>
810
+ <tr>
811
+ <td> VatElectronicSpecialInvoice </td>
812
+ <td> 增值税电子专用发票 </td>
813
+ <td> 3 </td>
814
+ </tr>
815
+ <tr>
816
+ <td> VatElectronicInvoiceBlockchain</td>
817
+ <td> 区块链电子发票 </td>
818
+ <td> 3 </td>
819
+ </tr>
820
+ <tr>
821
+ <td> VatElectronicInvoiceToll</td>
822
+ <td> 增值税电子普通发票(通行费)</td>
823
+ <td> 3 </td>
824
+ </tr>
825
+ <tr>
826
+ <td> VatSalesList</td>
827
+ <td> 增值税销货清单</td>
828
+ <td> 3 </td>
829
+ </tr>
830
+ <tr>
831
+ <td> VatElectronicSpecialInvoiceFull</td>
832
+ <td> 电子发票(专用发票)</td>
833
+ <td> 16 </td>
834
+ </tr>
835
+ <tr>
836
+ <td> VatElectronicInvoiceFull</td>
837
+ <td> 电子发票(普通发票) </td>
838
+ <td> 16 </td>
839
+ </tr>
840
+ <tr>
841
+ <td> ElectronicFlightTicketFull</td>
842
+ <td> 电子发票(机票行程单),该子类目前仅支持ofd发票</td>
843
+ <td> 16 </td>
844
+ </tr>
845
+ <tr>
846
+ <td> ElectronicTrainTicketFull</td>
847
+ <td> 电子发票(铁路电子客票),该子类目前仅支持ofd发票</td>
848
+ <td> 16 </td>
849
+ </tr>
850
+ <tr>
851
+ <td> MotorVehicleSaleInvoice </td>
852
+ <td> 机动车销售统一发票 </td>
853
+ <td> 12 </td>
854
+ </tr>
855
+ <tr>
856
+ <td> UsedCarPurchaseInvoice </td>
857
+ <td> 二手车销售统一发票 </td>
858
+ <td> 12 </td>
859
+ </tr>
860
+ <tr>
861
+ <td> VatInvoiceRoll </td>
862
+ <td> 增值税普通发票(卷票) </td>
863
+ <td> 11 </td>
864
+ </tr>
865
+ <tr>
866
+ <td> TaxiTicket </td>
867
+ <td> 出租车发票 </td>
868
+ <td> 0 </td>
869
+ </tr>
870
+ <tr>
871
+ <td> QuotaInvoice </td>
872
+ <td> 定额发票 </td>
873
+ <td> 1 </td>
874
+ </tr>
875
+ <tr>
876
+ <td> TrainTicket </td>
877
+ <td> 火车票 </td>
878
+ <td> 2 </td>
879
+ </tr>
880
+ <tr>
881
+ <td> AirTransport </td>
882
+ <td> 机票行程单 </td>
883
+ <td> 5 </td>
884
+ </tr>
885
+ <tr>
886
+ <td> MachinePrintedInvoice </td>
887
+ <td> 通用机打发票 </td>
888
+ <td> 8 </td>
889
+ </tr>
890
+ <tr>
891
+ <td> BusInvoice </td>
892
+ <td> 汽车票 </td>
893
+ <td> 9 </td>
894
+ </tr>
895
+ <tr>
896
+ <td> ShippingInvoice </td>
897
+ <td> 轮船票 </td>
898
+ <td> 10 </td>
899
+ </tr>
900
+ <tr>
901
+ <td> NonTaxIncomeGeneralBill </td>
902
+ <td> 非税收入通用票据 </td>
903
+ <td> 15 </td>
904
+ </tr>
905
+ <tr>
906
+ <td> NonTaxIncomeElectronicBill </td>
907
+ <td> 非税收入一般缴款书(电子) </td>
908
+ <td> 15 </td>
909
+ </tr>
910
+ <tr>
911
+ <td> TollInvoice </td>
912
+ <td> 过路过桥费发票 </td>
913
+ <td> 13 </td>
914
+ </tr>
915
+ <tr>
916
+ <td> MedicalOutpatientInvoice </td>
917
+ <td> 医疗门诊收费票据(电子) </td>
918
+ <td> 17 </td>
919
+ </tr>
920
+ <tr>
921
+ <td> MedicalHospitalizedInvoice </td>
922
+ <td> 医疗住院收费票据(电子) </td>
923
+ <td> 17 </td>
924
+ </tr>
925
+ <tr>
926
+ <td> OtherInvoice </td>
927
+ <td> 其他发票 </td>
928
+ <td> -1 </td>
929
+ </tr>
930
+ </tbody>
931
+ </table>
932
+ */
933
+ RecognizeGeneralInvoice(req: RecognizeGeneralInvoiceRequest, cb?: (error: string, rep: RecognizeGeneralInvoiceResponse) => void): Promise<RecognizeGeneralInvoiceResponse>;
976
934
  /**
977
- * 菲律宾TinID识别
935
+ * 本接口支持行驶证主页和副页所有字段的自动定位与识别。
936
+
937
+ 行驶证主页:车牌号码、车辆类型、所有人、住址、使用性质、品牌型号、识别代码、发动机号、注册日期、发证日期、发证单位。
938
+
939
+ 行驶证副页:号牌号码、档案编号、核定载人数、总质量、整备质量、核定载质量、外廓尺寸、准牵引总质量、备注、检验记录。
940
+
941
+ 另外,本接口还支持复印件、翻拍告警功能。
942
+
943
+ 默认接口请求频率限制:10次/秒。
978
944
  */
979
- RecognizePhilippinesTinIDOCR(req: RecognizePhilippinesTinIDOCRRequest, cb?: (error: string, rep: RecognizePhilippinesTinIDOCRResponse) => void): Promise<RecognizePhilippinesTinIDOCRResponse>;
945
+ VehicleLicenseOCR(req: VehicleLicenseOCRRequest, cb?: (error: string, rep: VehicleLicenseOCRResponse) => void): Promise<VehicleLicenseOCRResponse>;
980
946
  }