tencentcloud-sdk-nodejs-ocr 4.0.981 → 4.0.983

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