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.
- package/CHANGELOG.md +236 -0
- package/SERVICE_CHANGELOG.md +305 -174
- package/package.json +1 -1
- package/products.md +25 -25
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apigateway/v20180808/apigateway_client.ts +47 -22
- package/src/services/apigateway/v20180808/apigateway_models.ts +187 -81
- package/src/services/as/v20180419/as_models.ts +7 -6
- package/src/services/bi/v20220105/bi_client.ts +37 -9
- package/src/services/bi/v20220105/bi_models.ts +240 -47
- package/src/services/billing/v20180709/billing_models.ts +46 -37
- package/src/services/bpaas/v20181217/bpaas_models.ts +20 -20
- package/src/services/cam/v20190116/cam_models.ts +27 -27
- package/src/services/cdwch/v20200915/cdwch_models.ts +1 -1
- package/src/services/cloudhsm/v20191112/cloudhsm_models.ts +40 -120
- package/src/services/cls/v20201016/cls_client.ts +1 -1
- package/src/services/cls/v20201016/cls_models.ts +5 -2
- package/src/services/config/v20220802/config_client.ts +29 -3
- package/src/services/config/v20220802/config_models.ts +226 -41
- package/src/services/ess/v20201111/ess_models.ts +1 -1
- package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
- package/src/services/gwlb/v20240906/gwlb_models.ts +1 -1
- package/src/services/hunyuan/v20230901/hunyuan_models.ts +2 -2
- package/src/services/ivld/v20210903/ivld_client.ts +0 -1
- package/src/services/ivld/v20210903/ivld_models.ts +1 -1
- package/src/services/lcic/v20220817/lcic_client.ts +25 -1
- package/src/services/lcic/v20220817/lcic_models.ts +240 -104
- package/src/services/lke/v20231130/lke_client.ts +1 -1
- package/src/services/mps/v20190612/mps_models.ts +0 -1
- package/src/services/ocr/v20181119/ocr_client.ts +901 -992
- package/src/services/ocr/v20181119/ocr_models.ts +67 -592
- package/src/services/organization/v20181225/organization_models.ts +20 -20
- package/src/services/organization/v20210331/organization_models.ts +42 -206
- package/src/services/trtc/v20190722/trtc_client.ts +32 -7
- package/src/services/trtc/v20190722/trtc_models.ts +106 -42
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +16 -8
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +22 -10
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +182 -81
- package/tencentcloud/services/as/v20180419/as_models.d.ts +7 -6
- package/tencentcloud/services/bi/v20220105/bi_client.d.ts +11 -3
- package/tencentcloud/services/bi/v20220105/bi_client.js +15 -3
- package/tencentcloud/services/bi/v20220105/bi_models.d.ts +231 -46
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +39 -30
- package/tencentcloud/services/bpaas/v20181217/bpaas_models.d.ts +20 -20
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +27 -27
- package/tencentcloud/services/cdwch/v20200915/cdwch_models.d.ts +1 -1
- package/tencentcloud/services/cloudhsm/v20191112/cloudhsm_models.d.ts +40 -120
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
- package/tencentcloud/services/cls/v20201016/cls_client.js +1 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +5 -2
- package/tencentcloud/services/config/v20220802/config_client.d.ts +9 -1
- package/tencentcloud/services/config/v20220802/config_client.js +12 -0
- package/tencentcloud/services/config/v20220802/config_models.d.ts +219 -40
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
- package/tencentcloud/services/gwlb/v20240906/gwlb_models.d.ts +1 -1
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +2 -2
- package/tencentcloud/services/ivld/v20210903/ivld_client.d.ts +0 -1
- package/tencentcloud/services/ivld/v20210903/ivld_client.js +0 -1
- package/tencentcloud/services/ivld/v20210903/ivld_models.d.ts +1 -1
- package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +9 -1
- package/tencentcloud/services/lcic/v20220817/lcic_client.js +12 -0
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +236 -104
- package/tencentcloud/services/lke/v20231130/lke_client.d.ts +1 -1
- package/tencentcloud/services/lke/v20231130/lke_client.js +1 -1
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +0 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +533 -567
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +688 -736
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +56 -566
- package/tencentcloud/services/organization/v20181225/organization_models.d.ts +20 -20
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +41 -205
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +12 -3
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +16 -3
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +102 -42
- package/test/apigateway.v20180808.test.js +32 -12
- package/test/bi.v20220105.test.js +22 -2
- package/test/config.v20220802.test.js +20 -0
- package/test/lcic.v20220817.test.js +20 -0
- package/test/ocr.v20181119.test.js +158 -228
- package/test/trtc.v20190722.test.js +22 -2
|
@@ -28,10 +28,190 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
28
28
|
super("ocr.tencentcloudapi.com", "2018-11-19", clientConfig);
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* 本接口支持图像整体文字的检测和识别。可以识别中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语,阿拉伯语20种语言,且各种语言均支持与英文混合的文字识别。
|
|
32
|
+
|
|
33
|
+
适用于印刷文档识别、网络图片识别、广告图文字识别、街景店招牌识别、菜单识别、视频标题识别、头像文字识别等场景。
|
|
34
|
+
|
|
35
|
+
产品优势:支持自动识别语言类型,可返回文本框坐标信息,对于倾斜文本支持自动旋转纠正。
|
|
36
|
+
|
|
37
|
+
通用印刷体识别不同版本的差异如下:
|
|
38
|
+
<table style="width:715px">
|
|
39
|
+
<thead>
|
|
40
|
+
<tr>
|
|
41
|
+
<th style="width:150px"></th>
|
|
42
|
+
<th style="width:200px">【荐】通用印刷体识别</th>
|
|
43
|
+
<th ><a href="https://cloud.tencent.com/document/product/866/34937">【荐】通用印刷体识别(高精度版)</a></th>
|
|
44
|
+
<th><a href="https://cloud.tencent.com/document/product/866/37831">通用印刷体识别(精简版)</a></th>
|
|
45
|
+
</tr>
|
|
46
|
+
</thead>
|
|
47
|
+
<tbody>
|
|
48
|
+
<tr>
|
|
49
|
+
<td> 适用场景</td>
|
|
50
|
+
<td>适用于所有通用场景的印刷体识别</td>
|
|
51
|
+
<td>适用于文字较多、长串数字、小字、模糊字、倾斜文本等困难场景</td>
|
|
52
|
+
<td>适用于快速文本识别场景,准召率有一定损失,价格更优惠</td>
|
|
53
|
+
</tr>
|
|
54
|
+
<tr>
|
|
55
|
+
<td>识别准确率</td>
|
|
56
|
+
<td>96%</td>
|
|
57
|
+
<td>99%</td>
|
|
58
|
+
<td>91%</td>
|
|
59
|
+
</tr>
|
|
60
|
+
<tr>
|
|
61
|
+
<td>价格</td>
|
|
62
|
+
<td>中</td>
|
|
63
|
+
<td>高</td>
|
|
64
|
+
<td>低</td>
|
|
65
|
+
</tr>
|
|
66
|
+
<tr>
|
|
67
|
+
<td>支持的语言</td>
|
|
68
|
+
<td>中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语</td>
|
|
69
|
+
<td>中文、英文、中英文</td>
|
|
70
|
+
<td>中文、英文、中英文</td>
|
|
71
|
+
</tr>
|
|
72
|
+
<tr>
|
|
73
|
+
<td>自动语言检测</td>
|
|
74
|
+
<td>支持</td>
|
|
75
|
+
<td>支持</td>
|
|
76
|
+
<td>支持</td>
|
|
77
|
+
</tr>
|
|
78
|
+
<tr>
|
|
79
|
+
<td>返回文本行坐标</td>
|
|
80
|
+
<td>支持</td>
|
|
81
|
+
<td>支持</td>
|
|
82
|
+
<td>支持</td>
|
|
83
|
+
</tr>
|
|
84
|
+
<tr>
|
|
85
|
+
<td>自动旋转纠正</td>
|
|
86
|
+
<td>支持旋转识别,返回角度信息</td>
|
|
87
|
+
<td>支持旋转识别,返回角度信息</td>
|
|
88
|
+
<td>支持旋转识别,返回角度信息</td>
|
|
89
|
+
</tr>
|
|
90
|
+
</tbody>
|
|
91
|
+
</table>
|
|
92
|
+
|
|
93
|
+
默认接口请求频率限制:20次/秒。
|
|
32
94
|
*/
|
|
33
|
-
async
|
|
34
|
-
return this.request("
|
|
95
|
+
async GeneralBasicOCR(req, cb) {
|
|
96
|
+
return this.request("GeneralBasicOCR", req, cb);
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* 文本图像增强是面向文档类图片提供的图像增强处理能力,包括切边增强、图像矫正、阴影去除、摩尔纹去除等;可以有效优化文档类的图片质量,提升文字的清晰度。
|
|
100
|
+
|
|
101
|
+
默认接口请求频率限制:10次/秒。
|
|
102
|
+
*/
|
|
103
|
+
async ImageEnhancement(req, cb) {
|
|
104
|
+
return this.request("ImageEnhancement", req, cb);
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* 本接口支持智能提取各类证照、票据、表单、合同等结构化场景的key:value字段信息,并支持提取表格信息的key:value组的结构化,灵活高效,适用于各类非标准材料的信息录入场景,点击[立即体验](https://cloud.tencent.com/product/smart-ocr)。
|
|
108
|
+
|
|
109
|
+
默认接口请求频率限制:5次/秒。
|
|
110
|
+
*/
|
|
111
|
+
async SmartStructuralOCRV2(req, cb) {
|
|
112
|
+
return this.request("SmartStructuralOCRV2", req, cb);
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* 本接口支持智能化识别各类企业登记证书、许可证书、企业执照、三证合一类证书,结构化输出统一社会信用代码、公司名称、法定代表人、公司地址、注册资金、企业类型、经营范围、成立日期、有效期、开办资金、经费来源、举办单位等关键字段。
|
|
116
|
+
|
|
117
|
+
默认接口请求频率限制:5次/秒。
|
|
118
|
+
*/
|
|
119
|
+
async EnterpriseLicenseOCR(req, cb) {
|
|
120
|
+
return this.request("EnterpriseLicenseOCR", req, cb);
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* 本接口支持中英文名片各字段的自动定位与识别,包含姓名、电话、手机号、邮箱、公司、部门、职位、网址、地址、QQ、微信、MSN等。
|
|
124
|
+
|
|
125
|
+
默认接口请求频率限制:10次/秒。
|
|
126
|
+
*/
|
|
127
|
+
async BusinessCardOCR(req, cb) {
|
|
128
|
+
return this.request("BusinessCardOCR", req, cb);
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* 本接口支持病案首页、费用清单、结算单、医疗发票四种保险理赔单据的文本识别和结构化输出。
|
|
132
|
+
|
|
133
|
+
默认接口请求频率限制:1次/秒。
|
|
134
|
+
*/
|
|
135
|
+
async InsuranceBillOCR(req, cb) {
|
|
136
|
+
return this.request("InsuranceBillOCR", req, cb);
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* 本接口支持中国大陆居民二代身份证正反面所有字段的识别,包括姓名、性别、民族、出生日期、住址、公民身份证号、签发机关、有效期限,识别准确度达到99%以上。
|
|
140
|
+
|
|
141
|
+
另外,本接口还支持多种增值能力,满足不同场景的需求。如身份证照片、人像照片的裁剪功能,同时具备9种告警功能,如下表所示。
|
|
142
|
+
|
|
143
|
+
<table style="width:650px">
|
|
144
|
+
<thead>
|
|
145
|
+
<tr>
|
|
146
|
+
<th width="150">增值能力</th>
|
|
147
|
+
<th width="500">能力项</th>
|
|
148
|
+
</tr>
|
|
149
|
+
</thead>
|
|
150
|
+
<tbody>
|
|
151
|
+
<tr>
|
|
152
|
+
<td rowspan="2">裁剪功能</td>
|
|
153
|
+
<td>身份证照片裁剪(去掉证件外多余的边缘、自动矫正拍摄角度)</td>
|
|
154
|
+
</tr>
|
|
155
|
+
<tr>
|
|
156
|
+
<td>人像照片裁剪(自动抠取身份证头像区域)</td>
|
|
157
|
+
</tr>
|
|
158
|
+
<tr>
|
|
159
|
+
<td rowspan="9">告警功能</td>
|
|
160
|
+
<td>身份证有效日期不合法,即有效日期不符合5年、10年、20年、长期期限
|
|
161
|
+
|
|
162
|
+
</td>
|
|
163
|
+
</tr>
|
|
164
|
+
<tr>
|
|
165
|
+
<td>身份证边框不完整告警</td>
|
|
166
|
+
</tr>
|
|
167
|
+
<tr>
|
|
168
|
+
<td>身份证复印件告警</td>
|
|
169
|
+
</tr>
|
|
170
|
+
<tr>
|
|
171
|
+
<td>身份证翻拍告警</td>
|
|
172
|
+
</tr>
|
|
173
|
+
<tr>
|
|
174
|
+
<td>身份证框内遮挡告警</td>
|
|
175
|
+
</tr>
|
|
176
|
+
<tr>
|
|
177
|
+
<td>临时身份证告警</td>
|
|
178
|
+
</tr>
|
|
179
|
+
<tr>
|
|
180
|
+
<td>身份证疑似存在PS痕迹告警</td>
|
|
181
|
+
</tr>
|
|
182
|
+
<tr>
|
|
183
|
+
<td>图片模糊告警(可根据图片质量分数判断)</td>
|
|
184
|
+
</tr>
|
|
185
|
+
</tbody>
|
|
186
|
+
</table>
|
|
187
|
+
|
|
188
|
+
默认接口请求频率限制:20次/秒。
|
|
189
|
+
*/
|
|
190
|
+
async IDCardOCR(req, cb) {
|
|
191
|
+
return this.request("IDCardOCR", req, cb);
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* 本接口支持过路过桥费发票关键字段的识别,包括发票代码、发票号码、日期、金额、入口、出口、时间、发票消费类型、高速标志等。
|
|
195
|
+
|
|
196
|
+
默认接口请求频率限制:5次/秒。
|
|
197
|
+
*/
|
|
198
|
+
async TollInvoiceOCR(req, cb) {
|
|
199
|
+
return this.request("TollInvoiceOCR", req, cb);
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* 本接口支持马来西亚身份证识别,识别字段包括身份证号、姓名、性别、地址;具备身份证人像照片的裁剪功能和翻拍、复印件告警功能。
|
|
203
|
+
本接口暂未完全对外开放,如需咨询,请[联系商务](https://cloud.tencent.com/about/connect)
|
|
204
|
+
*/
|
|
205
|
+
async MLIDCardOCR(req, cb) {
|
|
206
|
+
return this.request("MLIDCardOCR", req, cb);
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* 本接口支持增值税发票的准确性核验,您可以通过输入增值税发票的关键字段提供所需的验证信息,接口返回真实的票面相关信息,包括发票代码、发票号码、开票日期、金额、消费类型、购方名称、购方税号、销方名称、销方税号等多个常用字段。支持多种发票类型核验,包括增值税专用发票、增值税普通发票(含电子普通发票、卷式发票、通行费发票)、全电发票、机动车销售统一发票、货物运输业增值税专用发票、二手车销售统一发票、通用机打电子发票(广东和浙江)。
|
|
210
|
+
|
|
211
|
+
默认接口请求频率限制:20次/秒。
|
|
212
|
+
*/
|
|
213
|
+
async VatInvoiceVerifyNew(req, cb) {
|
|
214
|
+
return this.request("VatInvoiceVerifyNew", req, cb);
|
|
35
215
|
}
|
|
36
216
|
/**
|
|
37
217
|
* 本接口支持条形码和二维码的识别(包括 DataMatrix 和 PDF417)。
|
|
@@ -116,6 +296,14 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
116
296
|
async RecognizeContainerOCR(req, cb) {
|
|
117
297
|
return this.request("RecognizeContainerOCR", req, cb);
|
|
118
298
|
}
|
|
299
|
+
/**
|
|
300
|
+
* 本接口支持中英文图片/PDF内常规表格、无线表格、多表格的检测和识别,返回每个单元格的文字内容,支持旋转的表格图片识别,且支持将识别结果保存为 Excel 格式。识别效果比表格识别V2更好,覆盖场景更加广泛,对表格难例场景,如无线表格、嵌套表格(有线表格中包含无线表格)的识别效果均优于表格识别V2。点击[立即体验](https://cloud.tencent.com/act/event/ocrdemo)。
|
|
301
|
+
|
|
302
|
+
默认接口请求频率限制:2次/秒。
|
|
303
|
+
*/
|
|
304
|
+
async RecognizeTableAccurateOCR(req, cb) {
|
|
305
|
+
return this.request("RecognizeTableAccurateOCR", req, cb);
|
|
306
|
+
}
|
|
119
307
|
/**
|
|
120
308
|
* 身份证识别(安全加密版)接口实现了数据加密传输,能够有效防止个人身份证隐私信息不被窃取泄露。
|
|
121
309
|
|
|
@@ -173,6 +361,29 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
173
361
|
async RecognizeEncryptedIDCardOCR(req, cb) {
|
|
174
362
|
return this.request("RecognizeEncryptedIDCardOCR", req, cb);
|
|
175
363
|
}
|
|
364
|
+
/**
|
|
365
|
+
* 本接口支持多张、多类型票据的混合检测和自动分类,返回对应票据类型。目前已支持增值税发票、增值税发票(卷票)、定额发票、通用机打发票、购车发票、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票、酒店账单、客运限额发票、购物小票、完税证明共15种票据。
|
|
366
|
+
默认接口请求频率限制:5次/秒。
|
|
367
|
+
*/
|
|
368
|
+
async MixedInvoiceDetect(req, cb) {
|
|
369
|
+
return this.request("MixedInvoiceDetect", req, cb);
|
|
370
|
+
}
|
|
371
|
+
/**
|
|
372
|
+
* 本接口支持国内机动车登记证书主要字段的结构化识别,包括机动车所有人、身份证明名称、号码、车辆型号、车辆识别代号、发动机号、制造厂名称等。
|
|
373
|
+
|
|
374
|
+
默认接口请求频率限制:5次/秒。
|
|
375
|
+
*/
|
|
376
|
+
async VehicleRegCertOCR(req, cb) {
|
|
377
|
+
return this.request("VehicleRegCertOCR", req, cb);
|
|
378
|
+
}
|
|
379
|
+
/**
|
|
380
|
+
* 本接口支持识别轮船票的发票代码、发票号码、日期、姓名、票价、始发地、目的地、姓名、时间、发票消费类型、省、市、币种字段。
|
|
381
|
+
|
|
382
|
+
默认接口请求频率限制:5次/秒。
|
|
383
|
+
*/
|
|
384
|
+
async ShipInvoiceOCR(req, cb) {
|
|
385
|
+
return this.request("ShipInvoiceOCR", req, cb);
|
|
386
|
+
}
|
|
176
387
|
/**
|
|
177
388
|
* 本接口用于识别门头照文字识别结果以及对应分类标签信息
|
|
178
389
|
默认接口请求频率限制:1次/秒
|
|
@@ -190,90 +401,92 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
190
401
|
return this.request("MLIDPassportOCR", req, cb);
|
|
191
402
|
}
|
|
192
403
|
/**
|
|
193
|
-
*
|
|
404
|
+
* 本接口支持对增值税发票(卷票)关键字段的识别,包括的发票代码、合计金额(小写)、合计金额(大写)、开票日期、发票号码、购买方识别号、销售方识别号、校验码、销售方名称、购买方名称、发票消费类型、省、市、是否有公司印章、单价、金额、数量、服务类型、品名、种类等。
|
|
194
405
|
|
|
195
406
|
默认接口请求频率限制:5次/秒。
|
|
196
407
|
*/
|
|
197
|
-
async
|
|
198
|
-
return this.request("
|
|
408
|
+
async VatRollInvoiceOCR(req, cb) {
|
|
409
|
+
return this.request("VatRollInvoiceOCR", req, cb);
|
|
199
410
|
}
|
|
200
411
|
/**
|
|
201
|
-
*
|
|
202
|
-
目前接口对合肥、成都、佛山三个城市的房产证版式识别较好。
|
|
412
|
+
* 本接口支持定额发票的发票号码、发票代码、金额(大小写)、发票消费类型、地区及是否有公司印章等关键字段的识别。
|
|
203
413
|
|
|
204
414
|
默认接口请求频率限制:5次/秒。
|
|
205
415
|
*/
|
|
206
|
-
async
|
|
207
|
-
return this.request("
|
|
416
|
+
async QuotaInvoiceOCR(req, cb) {
|
|
417
|
+
return this.request("QuotaInvoiceOCR", req, cb);
|
|
208
418
|
}
|
|
209
419
|
/**
|
|
210
|
-
*
|
|
420
|
+
* 本接口支持市面上主流版式电子运单的识别,包括收件人和寄件人的姓名、电话、地址以及运单号等字段。
|
|
211
421
|
|
|
212
|
-
默认接口请求频率限制:
|
|
422
|
+
默认接口请求频率限制:10次/秒。
|
|
213
423
|
*/
|
|
214
|
-
async
|
|
215
|
-
return this.request("
|
|
424
|
+
async WaybillOCR(req, cb) {
|
|
425
|
+
return this.request("WaybillOCR", req, cb);
|
|
216
426
|
}
|
|
217
427
|
/**
|
|
218
|
-
*
|
|
428
|
+
* 本接口支持图片内车辆识别代号(VIN)的检测和识别。
|
|
429
|
+
默认接口请求频率限制:10次/秒。
|
|
219
430
|
*/
|
|
220
|
-
async
|
|
221
|
-
return this.request("
|
|
431
|
+
async VinOCR(req, cb) {
|
|
432
|
+
return this.request("VinOCR", req, cb);
|
|
222
433
|
}
|
|
223
434
|
/**
|
|
224
|
-
*
|
|
435
|
+
* 本接口支持图片中整体文字的检测和识别,返回文字框位置与文字内容。相比通用印刷体识别接口,识别速度更快。
|
|
225
436
|
|
|
226
|
-
默认接口请求频率限制:
|
|
437
|
+
默认接口请求频率限制:10次/秒。
|
|
227
438
|
*/
|
|
228
|
-
async
|
|
229
|
-
return this.request("
|
|
439
|
+
async GeneralFastOCR(req, cb) {
|
|
440
|
+
return this.request("GeneralFastOCR", req, cb);
|
|
230
441
|
}
|
|
231
442
|
/**
|
|
232
|
-
*
|
|
443
|
+
* 本接口支持房产证关键字段的识别,包括房地产权利人、共有情况、登记时间、规划用途、房屋性质、房屋坐落等。
|
|
444
|
+
目前接口对合肥、成都、佛山三个城市的房产证版式识别较好。
|
|
233
445
|
|
|
234
446
|
默认接口请求频率限制:5次/秒。
|
|
235
447
|
*/
|
|
236
|
-
async
|
|
237
|
-
return this.request("
|
|
448
|
+
async PropOwnerCertOCR(req, cb) {
|
|
449
|
+
return this.request("PropOwnerCertOCR", req, cb);
|
|
238
450
|
}
|
|
239
451
|
/**
|
|
240
|
-
*
|
|
452
|
+
* 本接口支持智能提取各类证照、票据、表单、合同等结构化场景的key:value字段信息,并支持提取表格信息的key:value组的结构化,灵活高效,适用于各类非标准材料的信息录入场景,点击[立即体验](https://cloud.tencent.com/product/smart-ocr)。
|
|
241
453
|
|
|
242
|
-
默认接口请求频率限制:
|
|
454
|
+
默认接口请求频率限制:5次/秒。
|
|
243
455
|
*/
|
|
244
|
-
async
|
|
245
|
-
return this.request("
|
|
456
|
+
async SmartStructuralPro(req, cb) {
|
|
457
|
+
return this.request("SmartStructuralPro", req, cb);
|
|
246
458
|
}
|
|
247
459
|
/**
|
|
248
|
-
*
|
|
460
|
+
* 本接口支持快速精准识别营业执照上的字段,包括统一社会信用代码、公司名称、主体类型、法定代表人、注册资本、组成形式、成立日期、营业期限和经营范围等字段。
|
|
249
461
|
|
|
250
|
-
默认接口请求频率限制:
|
|
462
|
+
默认接口请求频率限制:10次/秒。
|
|
251
463
|
*/
|
|
252
|
-
async
|
|
253
|
-
return this.request("
|
|
464
|
+
async BizLicenseOCR(req, cb) {
|
|
465
|
+
return this.request("BizLicenseOCR", req, cb);
|
|
254
466
|
}
|
|
255
467
|
/**
|
|
256
|
-
*
|
|
468
|
+
* 本接口支持图片内手写体文字的检测和识别,针对手写字体无规则、字迹潦草、模糊等特点进行了识别能力的增强。
|
|
257
469
|
|
|
258
470
|
默认接口请求频率限制:10次/秒。
|
|
259
471
|
*/
|
|
260
|
-
async
|
|
261
|
-
return this.request("
|
|
472
|
+
async GeneralHandwritingOCR(req, cb) {
|
|
473
|
+
return this.request("GeneralHandwritingOCR", req, cb);
|
|
262
474
|
}
|
|
263
475
|
/**
|
|
264
|
-
*
|
|
265
|
-
|
|
266
|
-
默认接口请求频率限制:5次/秒。
|
|
476
|
+
* 外国人永久居留身份证识别
|
|
267
477
|
*/
|
|
268
|
-
async
|
|
269
|
-
return this.request("
|
|
478
|
+
async RecognizeForeignPermanentResidentIdCard(req, cb) {
|
|
479
|
+
return this.request("RecognizeForeignPermanentResidentIdCard", req, cb);
|
|
270
480
|
}
|
|
271
481
|
/**
|
|
272
|
-
*
|
|
273
|
-
|
|
482
|
+
* 已上线VatInvoiceVerifyNew,VatInvoiceVerify需要下线,产品在官网已发通告
|
|
483
|
+
|
|
484
|
+
本接口支持增值税发票的准确性核验,您可以通过输入增值税发票的关键字段提供所需的验证信息,接口返回真实的票面相关信息,包括发票代码、发票号码、开票日期、金额、消费类型、购方名称、购方税号、销方名称、销方税号等多个常用字段。支持多种发票类型核验,包括增值税专用发票、增值税普通发票(含电子普通发票、卷式发票、通行费发票)、全电发票、机动车销售统一发票、货物运输业增值税专用发票、二手车销售统一发票。
|
|
485
|
+
|
|
486
|
+
默认接口请求频率限制:20次/秒。
|
|
274
487
|
*/
|
|
275
|
-
async
|
|
276
|
-
return this.request("
|
|
488
|
+
async VatInvoiceVerify(req, cb) {
|
|
489
|
+
return this.request("VatInvoiceVerify", req, cb);
|
|
277
490
|
}
|
|
278
491
|
/**
|
|
279
492
|
* 本接口支持出租车发票关键字段的识别,包括发票号码、发票代码、金额、日期、上下车时间、里程、车牌号、发票类型及所属地区等字段。
|
|
@@ -284,287 +497,268 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
284
497
|
return this.request("TaxiInvoiceOCR", req, cb);
|
|
285
498
|
}
|
|
286
499
|
/**
|
|
287
|
-
*
|
|
500
|
+
* 本接口支持对通用机打发票的发票代码、发票号码、日期、合计金额(小写)、合计金额(大写)、购买方识别号、销售方识别号、校验码、购买方名称、销售方名称、时间、种类、发票消费类型、省、市、是否有公司印章、发票名称、购买方地址、电话、销售方地址、电话、购买方开户行及账号、销售方开户行及账号、经办人取票用户、经办人支付信息、经办人商户号、经办人订单号、货物或应税劳务、服务名称、数量、单价、税率、税额、金额、单位、规格型号、合计税额、合计金额、备注、收款人、复核、开票人、密码区、行业分类等字段的识别。
|
|
288
501
|
|
|
289
502
|
默认接口请求频率限制:5次/秒。
|
|
290
503
|
*/
|
|
291
|
-
async
|
|
292
|
-
return this.request("
|
|
504
|
+
async InvoiceGeneralOCR(req, cb) {
|
|
505
|
+
return this.request("InvoiceGeneralOCR", req, cb);
|
|
293
506
|
}
|
|
294
507
|
/**
|
|
295
|
-
*
|
|
508
|
+
* 本接口支持网约车运输证关键字段的识别,包括交运管许可字号、车辆所有人、车辆号牌、起始日期、截止日期、发证日期。
|
|
296
509
|
|
|
297
510
|
默认接口请求频率限制:5次/秒。
|
|
298
511
|
*/
|
|
299
|
-
async
|
|
300
|
-
return this.request("
|
|
512
|
+
async RideHailingTransportLicenseOCR(req, cb) {
|
|
513
|
+
return this.request("RideHailingTransportLicenseOCR", req, cb);
|
|
301
514
|
}
|
|
302
515
|
/**
|
|
303
|
-
*
|
|
516
|
+
* 智慧表单产品已下线,需要下线相关API
|
|
304
517
|
|
|
305
|
-
|
|
518
|
+
支持查询智能表单录入任务的状态。本产品免费公测中,您可以点击demo(超链接:https://ocr.smartform.cloud.tencent.com/)试用,如需购买请与商务团队联系。
|
|
306
519
|
*/
|
|
307
|
-
async
|
|
308
|
-
return this.request("
|
|
520
|
+
async GetTaskState(req, cb) {
|
|
521
|
+
return this.request("GetTaskState", req, cb);
|
|
309
522
|
}
|
|
310
523
|
/**
|
|
311
|
-
*
|
|
524
|
+
* 本接口支持网约车行程单关键字段的识别,包括行程起止日期、上车时间、起点、终点、里程、金额等字段。
|
|
312
525
|
|
|
313
|
-
默认接口请求频率限制:
|
|
526
|
+
默认接口请求频率限制:20次/秒。
|
|
314
527
|
*/
|
|
315
|
-
async
|
|
316
|
-
return this.request("
|
|
528
|
+
async RecognizeOnlineTaxiItineraryOCR(req, cb) {
|
|
529
|
+
return this.request("RecognizeOnlineTaxiItineraryOCR", req, cb);
|
|
317
530
|
}
|
|
318
531
|
/**
|
|
319
|
-
*
|
|
532
|
+
* 本接口支持中国香港身份证人像面中关键字段的识别,包括中文姓名、英文姓名、姓名电码、出生日期、性别、证件符号、首次签发日期、最近领用日期、身份证号、是否是永久性居民身份证;具备人像照片裁剪等扩展功能。
|
|
320
533
|
|
|
321
534
|
默认接口请求频率限制:5次/秒。
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
支持返回的细项目子票种SubType、子票种中文TypeDescription、以及对应所属大类票种Type 的说明如下列表:
|
|
325
|
-
<table style="width:715px">
|
|
326
|
-
<thead>
|
|
327
|
-
<tr>
|
|
328
|
-
<th style="width:200px">SubType 子票种英文</th>
|
|
329
|
-
<th style="width:200px">TypeDescription子票种中文</th>
|
|
330
|
-
<th >Type 所属大类票种</th>
|
|
331
|
-
</tr>
|
|
332
|
-
</thead>
|
|
333
|
-
<tbody>
|
|
334
|
-
<tr>
|
|
335
|
-
<td> VatSpecialInvoice</td>
|
|
336
|
-
<td> 增值税专用发票 </td>
|
|
337
|
-
<td> 3 </td>
|
|
338
|
-
</tr>
|
|
339
|
-
<tr>
|
|
340
|
-
<td> VatCommonInvoice</td>
|
|
341
|
-
<td> 增值税普通发票 </td>
|
|
342
|
-
<td> 3 </td>
|
|
343
|
-
</tr>
|
|
344
|
-
<tr>
|
|
345
|
-
<td> VatElectronicCommonInvoice </td>
|
|
346
|
-
<td> 增值税电子普通发票 </td>
|
|
347
|
-
<td> 3 </td>
|
|
348
|
-
</tr>
|
|
349
|
-
<tr>
|
|
350
|
-
<td> VatElectronicSpecialInvoice </td>
|
|
351
|
-
<td> 增值税电子专用发票 </td>
|
|
352
|
-
<td> 3 </td>
|
|
353
|
-
</tr>
|
|
354
|
-
<tr>
|
|
355
|
-
<td> VatElectronicInvoiceBlockchain</td>
|
|
356
|
-
<td> 区块链电子发票 </td>
|
|
357
|
-
<td> 3 </td>
|
|
358
|
-
</tr>
|
|
359
|
-
<tr>
|
|
360
|
-
<td> VatElectronicInvoiceToll</td>
|
|
361
|
-
<td> 增值税电子普通发票(通行费)</td>
|
|
362
|
-
<td> 3 </td>
|
|
363
|
-
</tr>
|
|
364
|
-
<tr>
|
|
365
|
-
<td> VatSalesList</td>
|
|
366
|
-
<td> 增值税销货清单</td>
|
|
367
|
-
<td> 3 </td>
|
|
368
|
-
</tr>
|
|
369
|
-
<tr>
|
|
370
|
-
<td> VatElectronicSpecialInvoiceFull</td>
|
|
371
|
-
<td> 电子发票(专用发票)</td>
|
|
372
|
-
<td> 16 </td>
|
|
373
|
-
</tr>
|
|
374
|
-
<tr>
|
|
375
|
-
<td> VatElectronicInvoiceFull</td>
|
|
376
|
-
<td> 电子发票(普通发票) </td>
|
|
377
|
-
<td> 16 </td>
|
|
378
|
-
</tr>
|
|
379
|
-
<tr>
|
|
380
|
-
<td> ElectronicFlightTicketFull</td>
|
|
381
|
-
<td> 电子发票(机票行程单),该子类目前仅支持ofd发票</td>
|
|
382
|
-
<td> 16 </td>
|
|
383
|
-
</tr>
|
|
384
|
-
<tr>
|
|
385
|
-
<td> ElectronicTrainTicketFull</td>
|
|
386
|
-
<td> 电子发票(铁路电子客票),该子类目前仅支持ofd发票</td>
|
|
387
|
-
<td> 16 </td>
|
|
388
|
-
</tr>
|
|
389
|
-
<tr>
|
|
390
|
-
<td> MotorVehicleSaleInvoice </td>
|
|
391
|
-
<td> 机动车销售统一发票 </td>
|
|
392
|
-
<td> 12 </td>
|
|
393
|
-
</tr>
|
|
394
|
-
<tr>
|
|
395
|
-
<td> UsedCarPurchaseInvoice </td>
|
|
396
|
-
<td> 二手车销售统一发票 </td>
|
|
397
|
-
<td> 12 </td>
|
|
398
|
-
</tr>
|
|
399
|
-
<tr>
|
|
400
|
-
<td> VatInvoiceRoll </td>
|
|
401
|
-
<td> 增值税普通发票(卷票) </td>
|
|
402
|
-
<td> 11 </td>
|
|
403
|
-
</tr>
|
|
404
|
-
<tr>
|
|
405
|
-
<td> TaxiTicket </td>
|
|
406
|
-
<td> 出租车发票 </td>
|
|
407
|
-
<td> 0 </td>
|
|
408
|
-
</tr>
|
|
409
|
-
<tr>
|
|
410
|
-
<td> QuotaInvoice </td>
|
|
411
|
-
<td> 定额发票 </td>
|
|
412
|
-
<td> 1 </td>
|
|
413
|
-
</tr>
|
|
414
|
-
<tr>
|
|
415
|
-
<td> TrainTicket </td>
|
|
416
|
-
<td> 火车票 </td>
|
|
417
|
-
<td> 2 </td>
|
|
418
|
-
</tr>
|
|
419
|
-
<tr>
|
|
420
|
-
<td> AirTransport </td>
|
|
421
|
-
<td> 机票行程单 </td>
|
|
422
|
-
<td> 5 </td>
|
|
423
|
-
</tr>
|
|
424
|
-
<tr>
|
|
425
|
-
<td> MachinePrintedInvoice </td>
|
|
426
|
-
<td> 通用机打发票 </td>
|
|
427
|
-
<td> 8 </td>
|
|
428
|
-
</tr>
|
|
429
|
-
<tr>
|
|
430
|
-
<td> BusInvoice </td>
|
|
431
|
-
<td> 汽车票 </td>
|
|
432
|
-
<td> 9 </td>
|
|
433
|
-
</tr>
|
|
434
|
-
<tr>
|
|
435
|
-
<td> ShippingInvoice </td>
|
|
436
|
-
<td> 轮船票 </td>
|
|
437
|
-
<td> 10 </td>
|
|
438
|
-
</tr>
|
|
439
|
-
<tr>
|
|
440
|
-
<td> NonTaxIncomeGeneralBill </td>
|
|
441
|
-
<td> 非税收入通用票据 </td>
|
|
442
|
-
<td> 15 </td>
|
|
443
|
-
</tr>
|
|
444
|
-
<tr>
|
|
445
|
-
<td> NonTaxIncomeElectronicBill </td>
|
|
446
|
-
<td> 非税收入一般缴款书(电子) </td>
|
|
447
|
-
<td> 15 </td>
|
|
448
|
-
</tr>
|
|
449
|
-
<tr>
|
|
450
|
-
<td> TollInvoice </td>
|
|
451
|
-
<td> 过路过桥费发票 </td>
|
|
452
|
-
<td> 13 </td>
|
|
453
|
-
</tr>
|
|
454
|
-
<tr>
|
|
455
|
-
<td> MedicalOutpatientInvoice </td>
|
|
456
|
-
<td> 医疗门诊收费票据(电子) </td>
|
|
457
|
-
<td> 17 </td>
|
|
458
|
-
</tr>
|
|
459
|
-
<tr>
|
|
460
|
-
<td> MedicalHospitalizedInvoice </td>
|
|
461
|
-
<td> 医疗住院收费票据(电子) </td>
|
|
462
|
-
<td> 17 </td>
|
|
463
|
-
</tr>
|
|
464
|
-
<tr>
|
|
465
|
-
<td> OtherInvoice </td>
|
|
466
|
-
<td> 其他发票 </td>
|
|
467
|
-
<td> -1 </td>
|
|
468
|
-
</tr>
|
|
469
|
-
</tbody>
|
|
470
|
-
</table>
|
|
471
535
|
*/
|
|
472
|
-
async
|
|
473
|
-
return this.request("
|
|
536
|
+
async HKIDCardOCR(req, cb) {
|
|
537
|
+
return this.request("HKIDCardOCR", req, cb);
|
|
474
538
|
}
|
|
475
539
|
/**
|
|
476
|
-
*
|
|
540
|
+
* 本接口支持中英文图片/ PDF内常规表格、无线表格、多表格的检测和识别,支持日文有线表格识别,返回每个单元格的文字内容,支持旋转的表格图片识别,且支持将识别结果保存为 Excel 格式。
|
|
477
541
|
|
|
478
|
-
默认接口请求频率限制:
|
|
542
|
+
默认接口请求频率限制:10次/秒。
|
|
479
543
|
*/
|
|
480
|
-
async
|
|
481
|
-
return this.request("
|
|
544
|
+
async RecognizeTableOCR(req, cb) {
|
|
545
|
+
return this.request("RecognizeTableOCR", req, cb);
|
|
482
546
|
}
|
|
483
547
|
/**
|
|
484
|
-
*
|
|
548
|
+
* 智慧表单产品已下线,需要下线相关API
|
|
485
549
|
|
|
486
|
-
|
|
550
|
+
本接口可创建智能表单录入任务,支持多个识别图片和PDF的URL上传,返回含有识别内容的操作页面URL。
|
|
551
|
+
|
|
552
|
+
智能表单录入产品提供高准确率的表单识别技术和人工核对工具,支持自定义字段,将识别结果自动填入到自定义条目中,并提供人工操作工具,完成整个表单识别过程。适用性强,可对票据、合同、货单等文件的识别,适用于金融、货代、保险、档案等领域。本产品免费公测中,您可以点击demo(超链接:https://ocr.smartform.cloud.tencent.com/)试用,如需购买请与商务团队联系。
|
|
487
553
|
*/
|
|
488
|
-
async
|
|
489
|
-
return this.request("
|
|
554
|
+
async CreateAIFormTask(req, cb) {
|
|
555
|
+
return this.request("CreateAIFormTask", req, cb);
|
|
490
556
|
}
|
|
491
557
|
/**
|
|
492
|
-
*
|
|
493
|
-
|
|
558
|
+
* 本接口支持对完税证明的税号、纳税人识别号、纳税人名称、金额合计大写、金额合计小写、填发日期、税务机关、填票人等关键字段的识别。
|
|
559
|
+
|
|
560
|
+
默认接口请求频率限制:5次/秒。
|
|
494
561
|
*/
|
|
495
|
-
async
|
|
496
|
-
return this.request("
|
|
562
|
+
async DutyPaidProofOCR(req, cb) {
|
|
563
|
+
return this.request("DutyPaidProofOCR", req, cb);
|
|
497
564
|
}
|
|
498
565
|
/**
|
|
499
|
-
*
|
|
566
|
+
* 本接口支持机票行程单关键字段的识别,包括旅客姓名、有效身份证件号码、电子客票号码、验证码、填开单位、其他税费、燃油附加费、民航发展基金、保险费、销售单位代号、始发地、目的地、航班号、时间、日期、座位等级、承运人、发票消费类型、票价、合计金额、填开日期、国内国际标签、印刷序号、客票级别/类别、客票生效日期、有效期截止日期、免费行李等字段,支持航班信息多行明细输出。
|
|
500
567
|
|
|
501
|
-
|
|
568
|
+
默认接口请求频率限制:5次/秒。
|
|
569
|
+
*/
|
|
570
|
+
async FlightInvoiceOCR(req, cb) {
|
|
571
|
+
return this.request("FlightInvoiceOCR", req, cb);
|
|
572
|
+
}
|
|
573
|
+
/**
|
|
574
|
+
* 本接口支持对卡式港澳台通行证的识别,包括签发地点、签发机关、有效期限、性别、出生日期、英文姓名、姓名、证件号等字段。
|
|
502
575
|
|
|
503
|
-
|
|
576
|
+
默认接口请求频率限制:10次/秒。
|
|
577
|
+
*/
|
|
578
|
+
async PermitOCR(req, cb) {
|
|
579
|
+
return this.request("PermitOCR", req, cb);
|
|
580
|
+
}
|
|
581
|
+
/**
|
|
582
|
+
* 本接口支持组织机构代码证关键字段的识别,包括代码、有效期、地址、机构名称等。
|
|
504
583
|
|
|
505
|
-
|
|
584
|
+
默认接口请求频率限制:5次/秒。
|
|
585
|
+
*/
|
|
586
|
+
async OrgCodeCertOCR(req, cb) {
|
|
587
|
+
return this.request("OrgCodeCertOCR", req, cb);
|
|
588
|
+
}
|
|
589
|
+
/**
|
|
590
|
+
* 本接口通过检测图片中的文字信息特征,快速判断图片中有无文字并返回判断结果,帮助用户过滤无文字的图片。
|
|
591
|
+
*/
|
|
592
|
+
async TextDetect(req, cb) {
|
|
593
|
+
return this.request("TextDetect", req, cb);
|
|
594
|
+
}
|
|
595
|
+
/**
|
|
596
|
+
* 本接口支持常见银行票据的自动分类和识别。切片识别包括金融行业常见票据的重要切片字段识别,包括金额、账号、日期、凭证号码等。(金融票据切片:金融票据中待识别字段及其周围局部区域的裁剪图像。)
|
|
597
|
+
|
|
598
|
+
默认接口请求频率限制:5次/秒。
|
|
599
|
+
*/
|
|
600
|
+
async FinanBillSliceOCR(req, cb) {
|
|
601
|
+
return this.request("FinanBillSliceOCR", req, cb);
|
|
602
|
+
}
|
|
603
|
+
/**
|
|
604
|
+
* 本接口支持识别公路汽车客票关键字段的识别,包括发票代码、发票号码、日期、票价、始发地、目的地、姓名、时间、发票消费类型、身份证号、省、市、开票日期、乘车地点、检票口、客票类型、车型、座位号、车次等。
|
|
605
|
+
|
|
606
|
+
默认接口请求频率限制:5次/秒。
|
|
607
|
+
*/
|
|
608
|
+
async BusInvoiceOCR(req, cb) {
|
|
609
|
+
return this.request("BusInvoiceOCR", req, cb);
|
|
610
|
+
}
|
|
611
|
+
/**
|
|
612
|
+
* 医疗发票识别目前支持全国统一门诊发票、全国统一住院发票、以及部分地方的门诊和住院发票的识别。
|
|
613
|
+
|
|
614
|
+
默认接口请求频率限制:5次/秒。
|
|
615
|
+
*/
|
|
616
|
+
async RecognizeMedicalInvoiceOCR(req, cb) {
|
|
617
|
+
return this.request("RecognizeMedicalInvoiceOCR", req, cb);
|
|
618
|
+
}
|
|
619
|
+
/**
|
|
620
|
+
* 本接口支持增值税专用发票、增值税普通发票、增值税电子专票、增值税电子普票、电子发票(普通发票)、电子发票(增值税专用发票)全字段的内容检测和识别,包括发票代码、发票号码、打印发票代码、打印发票号码、开票日期、合计金额、校验码、税率、合计税额、价税合计、购买方识别号、复核、销售方识别号、开票人、密码区1、密码区2、密码区3、密码区4、发票名称、购买方名称、销售方名称、服务名称、备注、规格型号、数量、单价、金额、税额、收款人等字段,点击[立即试用](https://cloud.tencent.com/product/ocr)。
|
|
506
621
|
|
|
507
622
|
默认接口请求频率限制:10次/秒。
|
|
508
623
|
*/
|
|
509
|
-
async
|
|
510
|
-
return this.request("
|
|
624
|
+
async VatInvoiceOCR(req, cb) {
|
|
625
|
+
return this.request("VatInvoiceOCR", req, cb);
|
|
511
626
|
}
|
|
512
627
|
/**
|
|
513
|
-
*
|
|
628
|
+
* <b>此接口为表格识别的旧版本服务,不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/49525">新版表格识别</a>。</b>
|
|
629
|
+
|
|
630
|
+
本接口支持图片内表格文档的检测和识别,返回每个单元格的文字内容,支持将识别结果保存为 Excel 格式。
|
|
514
631
|
|
|
515
632
|
默认接口请求频率限制:10次/秒。
|
|
516
633
|
*/
|
|
517
|
-
async
|
|
518
|
-
return this.request("
|
|
634
|
+
async TableOCR(req, cb) {
|
|
635
|
+
return this.request("TableOCR", req, cb);
|
|
519
636
|
}
|
|
520
637
|
/**
|
|
521
|
-
*
|
|
638
|
+
* 本接口支持网约车驾驶证关键字段的识别,包括姓名、证号、起始日期、截止日期、发证日期。
|
|
522
639
|
|
|
523
|
-
|
|
640
|
+
默认接口请求频率限制:5次/秒。
|
|
524
641
|
*/
|
|
525
|
-
async
|
|
526
|
-
return this.request("
|
|
642
|
+
async RideHailingDriverLicenseOCR(req, cb) {
|
|
643
|
+
return this.request("RideHailingDriverLicenseOCR", req, cb);
|
|
527
644
|
}
|
|
528
645
|
/**
|
|
529
|
-
*
|
|
646
|
+
* 港澳台居住证OCR支持港澳台居住证正反面全字段内容检测识别功能,包括姓名、性别、出生日期、地址、身份证号、签发机关、有效期限、签发次数、通行证号码关键字段识别。可以应用于港澳台居住证信息识别场景,例如银行开户、用户注册等。
|
|
530
647
|
|
|
531
|
-
|
|
648
|
+
默认接口请求频率限制:20次/秒。
|
|
649
|
+
*/
|
|
650
|
+
async HmtResidentPermitOCR(req, cb) {
|
|
651
|
+
return this.request("HmtResidentPermitOCR", req, cb);
|
|
652
|
+
}
|
|
653
|
+
/**
|
|
654
|
+
* 本接口支持多种类型证件有效性检测告警,包括卡证复印件告警、卡证翻拍告警等功能。可以应用于各种证件信息有效性校验场景,例如银行开户、用户注册等场景。
|
|
655
|
+
*/
|
|
656
|
+
async RecognizeGeneralTextImageWarn(req, cb) {
|
|
657
|
+
return this.request("RecognizeGeneralTextImageWarn", req, cb);
|
|
658
|
+
}
|
|
659
|
+
/**
|
|
660
|
+
* 本接口支持识别并提取各类证照、票据、表单、合同等结构化场景的字段信息。无需任何配置,灵活高效。适用于各类结构化信息录入场景。
|
|
532
661
|
|
|
533
|
-
|
|
662
|
+
默认接口请求频率限制:5次/秒。
|
|
663
|
+
*/
|
|
664
|
+
async SmartStructuralOCR(req, cb) {
|
|
665
|
+
return this.request("SmartStructuralOCR", req, cb);
|
|
666
|
+
}
|
|
667
|
+
/**
|
|
668
|
+
* 本接口支持作业算式题目的自动识别和判分,目前覆盖 K12 学力范围内的 11 种题型,包括加减乘除四则、加减乘除已知结果求运算因子、判断大小、约等于估算、带余数除法、分数四则运算、单位换算、竖式加减法、竖式乘除法、脱式计算和解方程,平均识别精度达到93%以上。
|
|
669
|
+
|
|
670
|
+
默认接口请求频率限制:10次/秒。
|
|
671
|
+
*/
|
|
672
|
+
async ArithmeticOCR(req, cb) {
|
|
673
|
+
return this.request("ArithmeticOCR", req, cb);
|
|
674
|
+
}
|
|
675
|
+
/**
|
|
676
|
+
* 本接口支持对中国大陆机动车车牌的自动定位和识别,返回地域编号和车牌号码与车牌颜色信息。
|
|
677
|
+
|
|
678
|
+
默认接口请求频率限制:10次/秒。
|
|
679
|
+
*/
|
|
680
|
+
async LicensePlateOCR(req, cb) {
|
|
681
|
+
return this.request("LicensePlateOCR", req, cb);
|
|
682
|
+
}
|
|
683
|
+
/**
|
|
684
|
+
* 本接口支持不动产权证关键字段的识别,包括使用期限、面积、用途、权利性质、权利类型、坐落、共有情况、权利人、权利其他状况等。
|
|
685
|
+
|
|
686
|
+
默认接口请求频率限制:5次/秒。
|
|
687
|
+
*/
|
|
688
|
+
async EstateCertOCR(req, cb) {
|
|
689
|
+
return this.request("EstateCertOCR", req, cb);
|
|
690
|
+
}
|
|
691
|
+
/**
|
|
692
|
+
* 支持身份证、护照、名片、银行卡、行驶证、驾驶证、港澳台通行证、户口本、港澳台来往内地通行证、港澳台居住证、不动产证、营业执照的智能分类。
|
|
693
|
+
|
|
694
|
+
默认接口请求频率限制:20次/秒。
|
|
695
|
+
*/
|
|
696
|
+
async ClassifyDetectOCR(req, cb) {
|
|
697
|
+
return this.request("ClassifyDetectOCR", req, cb);
|
|
698
|
+
}
|
|
699
|
+
/**
|
|
700
|
+
* 本接口支持各类印章主体内容、印章其他内容及形状识别,支持单图多印章识别,包括发票章、财务章等,适用于公文票据等场景。
|
|
701
|
+
|
|
702
|
+
默认接口请求频率限制:5次/秒。
|
|
703
|
+
*/
|
|
704
|
+
async SealOCR(req, cb) {
|
|
705
|
+
return this.request("SealOCR", req, cb);
|
|
706
|
+
}
|
|
707
|
+
/**
|
|
708
|
+
* 本接口用于识别门头照分类标签信息
|
|
709
|
+
默认接口请求频率限制:1次/秒
|
|
710
|
+
*/
|
|
711
|
+
async ClassifyStoreName(req, cb) {
|
|
712
|
+
return this.request("ClassifyStoreName", req, cb);
|
|
713
|
+
}
|
|
714
|
+
/**
|
|
715
|
+
* 本接口支持银行回单全字段的识别,包括付款开户行、收款开户行、付款账号、收款账号、回单类型、回单编号、币种、流水号、凭证号码、交易机构、交易金额、手续费、日期等字段信息。
|
|
716
|
+
|
|
717
|
+
默认接口请求频率限制:10次/秒。
|
|
718
|
+
*/
|
|
719
|
+
async BankSlipOCR(req, cb) {
|
|
720
|
+
return this.request("BankSlipOCR", req, cb);
|
|
721
|
+
}
|
|
722
|
+
/**
|
|
723
|
+
* 本接口支持图像整体文字的检测和识别。支持中文、英文、中英文、数字和特殊字符号的识别,并返回文字框位置和文字内容。
|
|
724
|
+
|
|
725
|
+
适用于快速文本识别场景。
|
|
726
|
+
|
|
727
|
+
产品优势:与通用印刷体识别接口相比,精简版虽然在准确率和召回率上有一定损失,但价格更加优惠。
|
|
534
728
|
|
|
535
729
|
通用印刷体识别不同版本的差异如下:
|
|
536
730
|
<table style="width:715px">
|
|
537
731
|
<thead>
|
|
538
732
|
<tr>
|
|
539
733
|
<th style="width:150px"></th>
|
|
540
|
-
<th
|
|
541
|
-
<th ><a href="https://cloud.tencent.com/document/product/866/
|
|
542
|
-
<th><a href="https://cloud.tencent.com/document/product/866/
|
|
734
|
+
<th >通用印刷体识别(精简版)</th>
|
|
735
|
+
<th style="width:200px"><a href="https://cloud.tencent.com/document/product/866/33526">【荐】通用印刷体识别</a></th>
|
|
736
|
+
<th><a href="https://cloud.tencent.com/document/product/866/34937">【荐】通用印刷体识别(高精度版)</a></th>
|
|
543
737
|
</tr>
|
|
544
738
|
</thead>
|
|
545
739
|
<tbody>
|
|
546
740
|
<tr>
|
|
547
741
|
<td> 适用场景</td>
|
|
742
|
+
<td>适用于快速文本识别场景,准召率有一定损失,价格更优惠</td>
|
|
548
743
|
<td>适用于所有通用场景的印刷体识别</td>
|
|
549
744
|
<td>适用于文字较多、长串数字、小字、模糊字、倾斜文本等困难场景</td>
|
|
550
|
-
<td>适用于快速文本识别场景,准召率有一定损失,价格更优惠</td>
|
|
551
745
|
</tr>
|
|
552
746
|
<tr>
|
|
553
747
|
<td>识别准确率</td>
|
|
748
|
+
<td>91%</td>
|
|
554
749
|
<td>96%</td>
|
|
555
750
|
<td>99%</td>
|
|
556
|
-
<td>91%</td>
|
|
557
751
|
</tr>
|
|
558
752
|
<tr>
|
|
559
753
|
<td>价格</td>
|
|
754
|
+
<td>低</td>
|
|
560
755
|
<td>中</td>
|
|
561
756
|
<td>高</td>
|
|
562
|
-
<td>低</td>
|
|
563
757
|
</tr>
|
|
564
758
|
<tr>
|
|
565
759
|
<td>支持的语言</td>
|
|
566
|
-
<td>中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语</td>
|
|
567
760
|
<td>中文、英文、中英文</td>
|
|
761
|
+
<td>中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语</td>
|
|
568
762
|
<td>中文、英文、中英文</td>
|
|
569
763
|
</tr>
|
|
570
764
|
<tr>
|
|
@@ -588,51 +782,60 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
588
782
|
</tbody>
|
|
589
783
|
</table>
|
|
590
784
|
|
|
591
|
-
默认接口请求频率限制:
|
|
785
|
+
默认接口请求频率限制:10次/秒。
|
|
592
786
|
*/
|
|
593
|
-
async
|
|
594
|
-
return this.request("
|
|
787
|
+
async GeneralEfficientOCR(req, cb) {
|
|
788
|
+
return this.request("GeneralEfficientOCR", req, cb);
|
|
595
789
|
}
|
|
596
790
|
/**
|
|
597
|
-
*
|
|
598
|
-
本接口暂未完全对外开放,如需咨询,请[联系商务](https://cloud.tencent.com/about/connect)
|
|
791
|
+
* 本接口支持广告商品图片内文字的检测和识别,返回文本框位置与文字内容。
|
|
599
792
|
|
|
600
|
-
|
|
793
|
+
产品优势:针对广告商品图片普遍存在较多繁体字、艺术字的特点,进行了识别能力的增强。支持中英文、横排、竖排以及倾斜场景文字识别。文字识别的召回率和准确率能达到96%以上。
|
|
794
|
+
|
|
795
|
+
默认接口请求频率限制:20次/秒。
|
|
601
796
|
*/
|
|
602
|
-
async
|
|
603
|
-
return this.request("
|
|
797
|
+
async AdvertiseOCR(req, cb) {
|
|
798
|
+
return this.request("AdvertiseOCR", req, cb);
|
|
604
799
|
}
|
|
605
800
|
/**
|
|
606
|
-
*
|
|
801
|
+
* 本接口支持火车票全字段的识别,包括编号、出发站、到达站、出发时间、车次、座位号、姓名、票价、席别、身份证号、发票消费类型、序列号、加收票价、手续费、大写金额、售票站、原票价、发票类型、收据号码、是否仅供报销使用等字段的识别。
|
|
607
802
|
|
|
608
|
-
|
|
803
|
+
默认接口请求频率限制:5次/秒。
|
|
804
|
+
*/
|
|
805
|
+
async TrainTicketOCR(req, cb) {
|
|
806
|
+
return this.request("TrainTicketOCR", req, cb);
|
|
807
|
+
}
|
|
808
|
+
/**
|
|
809
|
+
* 本接口支持居民户口簿户主页及成员页关键字段的识别,包括姓名、户别、地址、籍贯、身份证号码等。
|
|
609
810
|
|
|
610
|
-
默认接口请求频率限制:
|
|
811
|
+
默认接口请求频率限制:5次/秒。
|
|
611
812
|
*/
|
|
612
|
-
async
|
|
613
|
-
return this.request("
|
|
813
|
+
async ResidenceBookletOCR(req, cb) {
|
|
814
|
+
return this.request("ResidenceBookletOCR", req, cb);
|
|
614
815
|
}
|
|
615
816
|
/**
|
|
616
|
-
*
|
|
817
|
+
* 本接口支持通信大数据行程卡识别,包括行程卡颜色、更新时间、途经地、存在中高风险地区的城市、电话号码,五个字段的识别结果输出。
|
|
617
818
|
|
|
618
|
-
默认接口请求频率限制:
|
|
819
|
+
默认接口请求频率限制:20次/秒。
|
|
619
820
|
*/
|
|
620
|
-
async
|
|
621
|
-
return this.request("
|
|
821
|
+
async RecognizeTravelCardOCR(req, cb) {
|
|
822
|
+
return this.request("RecognizeTravelCardOCR", req, cb);
|
|
622
823
|
}
|
|
623
824
|
/**
|
|
624
|
-
*
|
|
825
|
+
* 本接口支持事业单位法人证书关键字段识别,包括注册号、有效期、住所、名称、法定代表人等。
|
|
625
826
|
|
|
626
827
|
默认接口请求频率限制:5次/秒。
|
|
627
828
|
*/
|
|
628
|
-
async
|
|
629
|
-
return this.request("
|
|
829
|
+
async InstitutionOCR(req, cb) {
|
|
830
|
+
return this.request("InstitutionOCR", req, cb);
|
|
630
831
|
}
|
|
631
832
|
/**
|
|
632
|
-
*
|
|
833
|
+
* 本接口支持图像英文文字的检测和识别,返回文字框位置与文字内容。支持多场景、任意版面下的英文、字母、数字和常见字符的识别,同时覆盖英文印刷体和英文手写体识别。
|
|
834
|
+
|
|
835
|
+
默认接口请求频率限制:10次/秒。
|
|
633
836
|
*/
|
|
634
|
-
async
|
|
635
|
-
return this.request("
|
|
837
|
+
async EnglishOCR(req, cb) {
|
|
838
|
+
return this.request("EnglishOCR", req, cb);
|
|
636
839
|
}
|
|
637
840
|
/**
|
|
638
841
|
* 本接口支持二代身份证、临时身份证、港澳台居住证、外国人永久居留证,字段内容识别功能,包括姓名、性别、民族、出生、出生日期、住址、公民身份号码、签发机关、有效期限、国籍、通行证号码、持证人持有号码;支持返回证件类型;支持翻拍、复印、边框不完整、遮挡、字段级反光和字段级完整性告警;支持卡片主体框裁剪和头像裁剪。
|
|
@@ -651,473 +854,74 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
651
854
|
return this.request("BankCardOCR", req, cb);
|
|
652
855
|
}
|
|
653
856
|
/**
|
|
654
|
-
*
|
|
857
|
+
* 本接口支持机动车销售统一发票和二手车销售统一发票的识别,包括发票号码、发票代码、合计金额、合计税额等二十多个字段。
|
|
655
858
|
|
|
656
|
-
|
|
859
|
+
默认接口请求频率限制:5次/秒。
|
|
860
|
+
*/
|
|
861
|
+
async CarInvoiceOCR(req, cb) {
|
|
862
|
+
return this.request("CarInvoiceOCR", req, cb);
|
|
863
|
+
}
|
|
864
|
+
/**
|
|
865
|
+
* 本接口支持驾驶证主页和副页所有字段的自动定位与识别,重点字段的识别准确度达到99%以上。
|
|
657
866
|
|
|
658
|
-
|
|
867
|
+
驾驶证主页:包括证号、姓名、性别、国籍、住址、出生日期、初次领证日期、准驾车型、有效期限、发证单位
|
|
868
|
+
|
|
869
|
+
驾驶证副页:包括证号、姓名、档案编号、记录。
|
|
870
|
+
|
|
871
|
+
另外,本接口还支持复印件、翻拍告警功能。同时支持识别交管12123 APP发放的电子驾驶证正页。
|
|
872
|
+
|
|
873
|
+
电子驾驶证正页:包括证号、姓名、性别、国籍、出生日期、初次领证日期、准驾车型、有效期开始时间、有效期截止时间、档案编号、状态、累积记分。
|
|
874
|
+
|
|
875
|
+
默认接口请求频率限制:10次/秒。
|
|
659
876
|
*/
|
|
660
|
-
async
|
|
661
|
-
return this.request("
|
|
877
|
+
async DriverLicenseOCR(req, cb) {
|
|
878
|
+
return this.request("DriverLicenseOCR", req, cb);
|
|
662
879
|
}
|
|
663
880
|
/**
|
|
664
|
-
*
|
|
881
|
+
* 智能识别并结构化港澳台居民来往内地通行证正面全部字段,包含中文姓名、英文姓名、性别、出生日期、签发机关、有效期限、证件号、签发地点、签发次数、证件类别。
|
|
665
882
|
|
|
666
883
|
默认接口请求频率限制:20次/秒。
|
|
667
884
|
*/
|
|
668
|
-
async
|
|
669
|
-
return this.request("
|
|
885
|
+
async MainlandPermitOCR(req, cb) {
|
|
886
|
+
return this.request("MainlandPermitOCR", req, cb);
|
|
670
887
|
}
|
|
671
888
|
/**
|
|
672
|
-
*
|
|
889
|
+
* 本接口支持识别主流初高中数学符号和公式,返回公式的 Latex 格式文本。
|
|
673
890
|
|
|
674
891
|
默认接口请求频率限制:5次/秒。
|
|
675
892
|
*/
|
|
676
|
-
async
|
|
677
|
-
return this.request("
|
|
678
|
-
}
|
|
679
|
-
/**
|
|
680
|
-
*
|
|
681
|
-
|
|
682
|
-
默认接口请求频率限制:5次/秒。
|
|
683
|
-
*/
|
|
684
|
-
async EnterpriseLicenseOCR(req, cb) {
|
|
685
|
-
return this.request("EnterpriseLicenseOCR", req, cb);
|
|
686
|
-
}
|
|
687
|
-
/**
|
|
688
|
-
* 本接口支持中英文名片各字段的自动定位与识别,包含姓名、电话、手机号、邮箱、公司、部门、职位、网址、地址、QQ、微信、MSN等。
|
|
689
|
-
|
|
690
|
-
默认接口请求频率限制:10次/秒。
|
|
691
|
-
*/
|
|
692
|
-
async BusinessCardOCR(req, cb) {
|
|
693
|
-
return this.request("BusinessCardOCR", req, cb);
|
|
694
|
-
}
|
|
695
|
-
/**
|
|
696
|
-
* 本接口支持中国大陆居民二代身份证正反面所有字段的识别,包括姓名、性别、民族、出生日期、住址、公民身份证号、签发机关、有效期限,识别准确度达到99%以上。
|
|
697
|
-
|
|
698
|
-
另外,本接口还支持多种增值能力,满足不同场景的需求。如身份证照片、人像照片的裁剪功能,同时具备9种告警功能,如下表所示。
|
|
699
|
-
|
|
700
|
-
<table style="width:650px">
|
|
701
|
-
<thead>
|
|
702
|
-
<tr>
|
|
703
|
-
<th width="150">增值能力</th>
|
|
704
|
-
<th width="500">能力项</th>
|
|
705
|
-
</tr>
|
|
706
|
-
</thead>
|
|
707
|
-
<tbody>
|
|
708
|
-
<tr>
|
|
709
|
-
<td rowspan="2">裁剪功能</td>
|
|
710
|
-
<td>身份证照片裁剪(去掉证件外多余的边缘、自动矫正拍摄角度)</td>
|
|
711
|
-
</tr>
|
|
712
|
-
<tr>
|
|
713
|
-
<td>人像照片裁剪(自动抠取身份证头像区域)</td>
|
|
714
|
-
</tr>
|
|
715
|
-
<tr>
|
|
716
|
-
<td rowspan="9">告警功能</td>
|
|
717
|
-
<td>身份证有效日期不合法,即有效日期不符合5年、10年、20年、长期期限
|
|
718
|
-
|
|
719
|
-
</td>
|
|
720
|
-
</tr>
|
|
721
|
-
<tr>
|
|
722
|
-
<td>身份证边框不完整告警</td>
|
|
723
|
-
</tr>
|
|
724
|
-
<tr>
|
|
725
|
-
<td>身份证复印件告警</td>
|
|
726
|
-
</tr>
|
|
727
|
-
<tr>
|
|
728
|
-
<td>身份证翻拍告警</td>
|
|
729
|
-
</tr>
|
|
730
|
-
<tr>
|
|
731
|
-
<td>身份证框内遮挡告警</td>
|
|
732
|
-
</tr>
|
|
733
|
-
<tr>
|
|
734
|
-
<td>临时身份证告警</td>
|
|
735
|
-
</tr>
|
|
736
|
-
<tr>
|
|
737
|
-
<td>身份证疑似存在PS痕迹告警</td>
|
|
738
|
-
</tr>
|
|
739
|
-
<tr>
|
|
740
|
-
<td>图片模糊告警(可根据图片质量分数判断)</td>
|
|
741
|
-
</tr>
|
|
742
|
-
</tbody>
|
|
743
|
-
</table>
|
|
744
|
-
|
|
745
|
-
默认接口请求频率限制:20次/秒。
|
|
746
|
-
*/
|
|
747
|
-
async IDCardOCR(req, cb) {
|
|
748
|
-
return this.request("IDCardOCR", req, cb);
|
|
749
|
-
}
|
|
750
|
-
/**
|
|
751
|
-
* 本接口支持多种类型证件有效性检测告警,包括卡证复印件告警、卡证翻拍告警等功能。可以应用于各种证件信息有效性校验场景,例如银行开户、用户注册等场景。
|
|
752
|
-
*/
|
|
753
|
-
async RecognizeGeneralTextImageWarn(req, cb) {
|
|
754
|
-
return this.request("RecognizeGeneralTextImageWarn", req, cb);
|
|
755
|
-
}
|
|
756
|
-
/**
|
|
757
|
-
* 本接口支持事业单位法人证书关键字段识别,包括注册号、有效期、住所、名称、法定代表人等。
|
|
758
|
-
|
|
759
|
-
默认接口请求频率限制:5次/秒。
|
|
760
|
-
*/
|
|
761
|
-
async InstitutionOCR(req, cb) {
|
|
762
|
-
return this.request("InstitutionOCR", req, cb);
|
|
763
|
-
}
|
|
764
|
-
/**
|
|
765
|
-
* 本接口支持智能提取各类证照、票据、表单、合同等结构化场景的key:value字段信息,并支持提取表格信息的key:value组的结构化,灵活高效,适用于各类非标准材料的信息录入场景,点击[立即体验](https://cloud.tencent.com/product/smart-ocr)。
|
|
766
|
-
|
|
767
|
-
默认接口请求频率限制:5次/秒。
|
|
768
|
-
*/
|
|
769
|
-
async SmartStructuralOCRV2(req, cb) {
|
|
770
|
-
return this.request("SmartStructuralOCRV2", req, cb);
|
|
771
|
-
}
|
|
772
|
-
/**
|
|
773
|
-
* 本接口支持中英文图片/PDF内常规表格、无线表格、多表格的检测和识别,返回每个单元格的文字内容,支持旋转的表格图片识别,且支持将识别结果保存为 Excel 格式。识别效果比表格识别V2更好,覆盖场景更加广泛,对表格难例场景,如无线表格、嵌套表格(有线表格中包含无线表格)的识别效果均优于表格识别V2。点击[立即体验](https://cloud.tencent.com/act/event/ocrdemo)。
|
|
774
|
-
|
|
775
|
-
默认接口请求频率限制:2次/秒。
|
|
776
|
-
*/
|
|
777
|
-
async RecognizeTableAccurateOCR(req, cb) {
|
|
778
|
-
return this.request("RecognizeTableAccurateOCR", req, cb);
|
|
779
|
-
}
|
|
780
|
-
/**
|
|
781
|
-
* 本接口支持多张、多类型票据的混合检测和自动分类,返回对应票据类型。目前已支持增值税发票、增值税发票(卷票)、定额发票、通用机打发票、购车发票、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票、酒店账单、客运限额发票、购物小票、完税证明共15种票据。
|
|
782
|
-
默认接口请求频率限制:5次/秒。
|
|
783
|
-
*/
|
|
784
|
-
async MixedInvoiceDetect(req, cb) {
|
|
785
|
-
return this.request("MixedInvoiceDetect", req, cb);
|
|
786
|
-
}
|
|
787
|
-
/**
|
|
788
|
-
* 本接口支持对增值税发票(卷票)关键字段的识别,包括的发票代码、合计金额(小写)、合计金额(大写)、开票日期、发票号码、购买方识别号、销售方识别号、校验码、销售方名称、购买方名称、发票消费类型、省、市、是否有公司印章、单价、金额、数量、服务类型、品名、种类等。
|
|
789
|
-
|
|
790
|
-
默认接口请求频率限制:5次/秒。
|
|
791
|
-
*/
|
|
792
|
-
async VatRollInvoiceOCR(req, cb) {
|
|
793
|
-
return this.request("VatRollInvoiceOCR", req, cb);
|
|
794
|
-
}
|
|
795
|
-
/**
|
|
796
|
-
* 本接口支持定额发票的发票号码、发票代码、金额(大小写)、发票消费类型、地区及是否有公司印章等关键字段的识别。
|
|
797
|
-
|
|
798
|
-
默认接口请求频率限制:5次/秒。
|
|
799
|
-
*/
|
|
800
|
-
async QuotaInvoiceOCR(req, cb) {
|
|
801
|
-
return this.request("QuotaInvoiceOCR", req, cb);
|
|
802
|
-
}
|
|
803
|
-
/**
|
|
804
|
-
* 本接口支持图片内手写体文字的检测和识别,针对手写字体无规则、字迹潦草、模糊等特点进行了识别能力的增强。
|
|
805
|
-
|
|
806
|
-
默认接口请求频率限制:10次/秒。
|
|
807
|
-
*/
|
|
808
|
-
async GeneralHandwritingOCR(req, cb) {
|
|
809
|
-
return this.request("GeneralHandwritingOCR", req, cb);
|
|
810
|
-
}
|
|
811
|
-
/**
|
|
812
|
-
* 本接口支持网约车行程单关键字段的识别,包括行程起止日期、上车时间、起点、终点、里程、金额等字段。
|
|
813
|
-
|
|
814
|
-
默认接口请求频率限制:20次/秒。
|
|
815
|
-
*/
|
|
816
|
-
async RecognizeOnlineTaxiItineraryOCR(req, cb) {
|
|
817
|
-
return this.request("RecognizeOnlineTaxiItineraryOCR", req, cb);
|
|
818
|
-
}
|
|
819
|
-
/**
|
|
820
|
-
* 本接口支持中英文图片/ PDF内常规表格、无线表格、多表格的检测和识别,支持日文有线表格识别,返回每个单元格的文字内容,支持旋转的表格图片识别,且支持将识别结果保存为 Excel 格式。
|
|
821
|
-
|
|
822
|
-
默认接口请求频率限制:10次/秒。
|
|
823
|
-
*/
|
|
824
|
-
async RecognizeTableOCR(req, cb) {
|
|
825
|
-
return this.request("RecognizeTableOCR", req, cb);
|
|
826
|
-
}
|
|
827
|
-
/**
|
|
828
|
-
* 智慧表单产品已下线,需要下线相关API
|
|
829
|
-
|
|
830
|
-
本接口可创建智能表单录入任务,支持多个识别图片和PDF的URL上传,返回含有识别内容的操作页面URL。
|
|
831
|
-
|
|
832
|
-
智能表单录入产品提供高准确率的表单识别技术和人工核对工具,支持自定义字段,将识别结果自动填入到自定义条目中,并提供人工操作工具,完成整个表单识别过程。适用性强,可对票据、合同、货单等文件的识别,适用于金融、货代、保险、档案等领域。本产品免费公测中,您可以点击demo(超链接:https://ocr.smartform.cloud.tencent.com/)试用,如需购买请与商务团队联系。
|
|
833
|
-
*/
|
|
834
|
-
async CreateAIFormTask(req, cb) {
|
|
835
|
-
return this.request("CreateAIFormTask", req, cb);
|
|
836
|
-
}
|
|
837
|
-
/**
|
|
838
|
-
* 本接口支持市面上主流版式电子运单的识别,包括收件人和寄件人的姓名、电话、地址以及运单号等字段。
|
|
839
|
-
|
|
840
|
-
默认接口请求频率限制:10次/秒。
|
|
841
|
-
*/
|
|
842
|
-
async WaybillOCR(req, cb) {
|
|
843
|
-
return this.request("WaybillOCR", req, cb);
|
|
844
|
-
}
|
|
845
|
-
/**
|
|
846
|
-
* 港澳台居住证OCR支持港澳台居住证正反面全字段内容检测识别功能,包括姓名、性别、出生日期、地址、身份证号、签发机关、有效期限、签发次数、通行证号码关键字段识别。可以应用于港澳台居住证信息识别场景,例如银行开户、用户注册等。
|
|
847
|
-
|
|
848
|
-
默认接口请求频率限制:20次/秒。
|
|
849
|
-
*/
|
|
850
|
-
async HmtResidentPermitOCR(req, cb) {
|
|
851
|
-
return this.request("HmtResidentPermitOCR", req, cb);
|
|
852
|
-
}
|
|
853
|
-
/**
|
|
854
|
-
* 本接口支持过路过桥费发票关键字段的识别,包括发票代码、发票号码、日期、金额、入口、出口、时间、发票消费类型、高速标志等。
|
|
855
|
-
|
|
856
|
-
默认接口请求频率限制:5次/秒。
|
|
857
|
-
*/
|
|
858
|
-
async TollInvoiceOCR(req, cb) {
|
|
859
|
-
return this.request("TollInvoiceOCR", req, cb);
|
|
860
|
-
}
|
|
861
|
-
/**
|
|
862
|
-
* 支持身份证、护照、名片、银行卡、行驶证、驾驶证、港澳台通行证、户口本、港澳台来往内地通行证、港澳台居住证、不动产证、营业执照的智能分类。
|
|
863
|
-
|
|
864
|
-
默认接口请求频率限制:20次/秒。
|
|
865
|
-
*/
|
|
866
|
-
async ClassifyDetectOCR(req, cb) {
|
|
867
|
-
return this.request("ClassifyDetectOCR", req, cb);
|
|
868
|
-
}
|
|
869
|
-
/**
|
|
870
|
-
* 本接口支持各类印章主体内容、印章其他内容及形状识别,支持单图多印章识别,包括发票章、财务章等,适用于公文票据等场景。
|
|
871
|
-
|
|
872
|
-
默认接口请求频率限制:5次/秒。
|
|
873
|
-
*/
|
|
874
|
-
async SealOCR(req, cb) {
|
|
875
|
-
return this.request("SealOCR", req, cb);
|
|
876
|
-
}
|
|
877
|
-
/**
|
|
878
|
-
* 本接口支持菲律宾VoteID识别,识别字段包括姓名、姓氏、出生日期、婚姻状况、国籍、地址、地区、菲律宾VoteID的VIN等。
|
|
879
|
-
|
|
880
|
-
默认接口请求频率限制:20次/秒。
|
|
881
|
-
*/
|
|
882
|
-
async RecognizePhilippinesVoteIDOCR(req, cb) {
|
|
883
|
-
return this.request("RecognizePhilippinesVoteIDOCR", req, cb);
|
|
884
|
-
}
|
|
885
|
-
/**
|
|
886
|
-
* 本接口支持银行回单全字段的识别,包括付款开户行、收款开户行、付款账号、收款账号、回单类型、回单编号、币种、流水号、凭证号码、交易机构、交易金额、手续费、日期等字段信息。
|
|
887
|
-
|
|
888
|
-
默认接口请求频率限制:10次/秒。
|
|
889
|
-
*/
|
|
890
|
-
async BankSlipOCR(req, cb) {
|
|
891
|
-
return this.request("BankSlipOCR", req, cb);
|
|
892
|
-
}
|
|
893
|
-
/**
|
|
894
|
-
* 本接口支持国内机动车登记证书主要字段的结构化识别,包括机动车所有人、身份证明名称、号码、车辆型号、车辆识别代号、发动机号、制造厂名称等。
|
|
895
|
-
|
|
896
|
-
默认接口请求频率限制:5次/秒。
|
|
897
|
-
*/
|
|
898
|
-
async VehicleRegCertOCR(req, cb) {
|
|
899
|
-
return this.request("VehicleRegCertOCR", req, cb);
|
|
900
|
-
}
|
|
901
|
-
/**
|
|
902
|
-
* 本接口支持通信大数据行程卡识别,包括行程卡颜色、更新时间、途经地、存在中高风险地区的城市、电话号码,五个字段的识别结果输出。
|
|
903
|
-
|
|
904
|
-
默认接口请求频率限制:20次/秒。
|
|
905
|
-
*/
|
|
906
|
-
async RecognizeTravelCardOCR(req, cb) {
|
|
907
|
-
return this.request("RecognizeTravelCardOCR", req, cb);
|
|
908
|
-
}
|
|
909
|
-
/**
|
|
910
|
-
* 韩国身份证识别
|
|
911
|
-
*/
|
|
912
|
-
async RecognizeKoreanIDCardOCR(req, cb) {
|
|
913
|
-
return this.request("RecognizeKoreanIDCardOCR", req, cb);
|
|
914
|
-
}
|
|
915
|
-
/**
|
|
916
|
-
* 本接口支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(铁路电子客票)、电子发票(航空运输电子客票行程单)识别,返回发票代码、发票号码、开票日期、验证码、机器编号、密码区,购买方和销售方信息,包括名称、纳税人识别号、地址电话、开户行及账号,以及价税合计、开票人、收款人、复核人、税额、不含税金额等字段信息。
|
|
917
|
-
*/
|
|
918
|
-
async VerifyOfdVatInvoiceOCR(req, cb) {
|
|
919
|
-
return this.request("VerifyOfdVatInvoiceOCR", req, cb);
|
|
920
|
-
}
|
|
921
|
-
/**
|
|
922
|
-
* 本接口支持驾驶证主页和副页所有字段的自动定位与识别,重点字段的识别准确度达到99%以上。
|
|
923
|
-
|
|
924
|
-
驾驶证主页:包括证号、姓名、性别、国籍、住址、出生日期、初次领证日期、准驾车型、有效期限、发证单位
|
|
925
|
-
|
|
926
|
-
驾驶证副页:包括证号、姓名、档案编号、记录。
|
|
927
|
-
|
|
928
|
-
另外,本接口还支持复印件、翻拍告警功能。同时支持识别交管12123 APP发放的电子驾驶证正页。
|
|
929
|
-
|
|
930
|
-
电子驾驶证正页:包括证号、姓名、性别、国籍、出生日期、初次领证日期、准驾车型、有效期开始时间、有效期截止时间、档案编号、状态、累积记分。
|
|
931
|
-
|
|
932
|
-
默认接口请求频率限制:10次/秒。
|
|
933
|
-
*/
|
|
934
|
-
async DriverLicenseOCR(req, cb) {
|
|
935
|
-
return this.request("DriverLicenseOCR", req, cb);
|
|
936
|
-
}
|
|
937
|
-
/**
|
|
938
|
-
* 韩国驾驶证识别
|
|
939
|
-
*/
|
|
940
|
-
async RecognizeKoreanDrivingLicenseOCR(req, cb) {
|
|
941
|
-
return this.request("RecognizeKoreanDrivingLicenseOCR", req, cb);
|
|
942
|
-
}
|
|
943
|
-
/**
|
|
944
|
-
* 本接口支持常见银行票据的自动分类和识别。整单识别包括支票(含现金支票、普通支票、转账支票),承兑汇票(含银行承兑汇票、商业承兑汇票)以及进账单等,适用于中国人民银行印发的 2010 版银行票据凭证版式(银发[2010]299 号)。
|
|
945
|
-
|
|
946
|
-
默认接口请求频率限制:5次/秒。
|
|
947
|
-
*/
|
|
948
|
-
async FinanBillOCR(req, cb) {
|
|
949
|
-
return this.request("FinanBillOCR", req, cb);
|
|
950
|
-
}
|
|
951
|
-
/**
|
|
952
|
-
* 本接口支持智能提取各类证照、票据、表单、合同等结构化场景的key:value字段信息,并支持提取表格信息的key:value组的结构化,灵活高效,适用于各类非标准材料的信息录入场景,点击[立即体验](https://cloud.tencent.com/product/smart-ocr)。
|
|
953
|
-
|
|
954
|
-
默认接口请求频率限制:5次/秒。
|
|
955
|
-
*/
|
|
956
|
-
async SmartStructuralPro(req, cb) {
|
|
957
|
-
return this.request("SmartStructuralPro", req, cb);
|
|
958
|
-
}
|
|
959
|
-
/**
|
|
960
|
-
* 文本图像增强是面向文档类图片提供的图像增强处理能力,包括切边增强、图像矫正、阴影去除、摩尔纹去除等;可以有效优化文档类的图片质量,提升文字的清晰度。
|
|
961
|
-
|
|
962
|
-
默认接口请求频率限制:10次/秒。
|
|
963
|
-
*/
|
|
964
|
-
async ImageEnhancement(req, cb) {
|
|
965
|
-
return this.request("ImageEnhancement", req, cb);
|
|
966
|
-
}
|
|
967
|
-
/**
|
|
968
|
-
* 本接口支持马来西亚身份证识别,识别字段包括身份证号、姓名、性别、地址;具备身份证人像照片的裁剪功能和翻拍、复印件告警功能。
|
|
969
|
-
本接口暂未完全对外开放,如需咨询,请[联系商务](https://cloud.tencent.com/about/connect)
|
|
970
|
-
*/
|
|
971
|
-
async MLIDCardOCR(req, cb) {
|
|
972
|
-
return this.request("MLIDCardOCR", req, cb);
|
|
973
|
-
}
|
|
974
|
-
/**
|
|
975
|
-
* 医疗发票识别目前支持全国统一门诊发票、全国统一住院发票、以及部分地方的门诊和住院发票的识别。
|
|
976
|
-
|
|
977
|
-
默认接口请求频率限制:5次/秒。
|
|
978
|
-
*/
|
|
979
|
-
async RecognizeMedicalInvoiceOCR(req, cb) {
|
|
980
|
-
return this.request("RecognizeMedicalInvoiceOCR", req, cb);
|
|
981
|
-
}
|
|
982
|
-
/**
|
|
983
|
-
* 本接口支持图片中整体文字的检测和识别,返回文字框位置与文字内容。相比通用印刷体识别接口,识别速度更快。
|
|
984
|
-
|
|
985
|
-
默认接口请求频率限制:10次/秒。
|
|
986
|
-
*/
|
|
987
|
-
async GeneralFastOCR(req, cb) {
|
|
988
|
-
return this.request("GeneralFastOCR", req, cb);
|
|
989
|
-
}
|
|
990
|
-
/**
|
|
991
|
-
* 本接口支持增值税专用发票、增值税普通发票、增值税电子专票、增值税电子普票、电子发票(普通发票)、电子发票(增值税专用发票)全字段的内容检测和识别,包括发票代码、发票号码、打印发票代码、打印发票号码、开票日期、合计金额、校验码、税率、合计税额、价税合计、购买方识别号、复核、销售方识别号、开票人、密码区1、密码区2、密码区3、密码区4、发票名称、购买方名称、销售方名称、服务名称、备注、规格型号、数量、单价、金额、税额、收款人等字段,点击[立即试用](https://cloud.tencent.com/product/ocr)。
|
|
992
|
-
|
|
993
|
-
默认接口请求频率限制:10次/秒。
|
|
994
|
-
*/
|
|
995
|
-
async VatInvoiceOCR(req, cb) {
|
|
996
|
-
return this.request("VatInvoiceOCR", req, cb);
|
|
997
|
-
}
|
|
998
|
-
/**
|
|
999
|
-
* 外国人永久居留身份证识别
|
|
1000
|
-
*/
|
|
1001
|
-
async RecognizeForeignPermanentResidentIdCard(req, cb) {
|
|
1002
|
-
return this.request("RecognizeForeignPermanentResidentIdCard", req, cb);
|
|
1003
|
-
}
|
|
1004
|
-
/**
|
|
1005
|
-
* 本接口支持组织机构代码证关键字段的识别,包括代码、有效期、地址、机构名称等。
|
|
1006
|
-
|
|
1007
|
-
默认接口请求频率限制:5次/秒。
|
|
1008
|
-
*/
|
|
1009
|
-
async OrgCodeCertOCR(req, cb) {
|
|
1010
|
-
return this.request("OrgCodeCertOCR", req, cb);
|
|
1011
|
-
}
|
|
1012
|
-
/**
|
|
1013
|
-
* 本接口支持常见银行票据的自动分类和识别。切片识别包括金融行业常见票据的重要切片字段识别,包括金额、账号、日期、凭证号码等。(金融票据切片:金融票据中待识别字段及其周围局部区域的裁剪图像。)
|
|
1014
|
-
|
|
1015
|
-
默认接口请求频率限制:5次/秒。
|
|
1016
|
-
*/
|
|
1017
|
-
async FinanBillSliceOCR(req, cb) {
|
|
1018
|
-
return this.request("FinanBillSliceOCR", req, cb);
|
|
1019
|
-
}
|
|
1020
|
-
/**
|
|
1021
|
-
* 本接口支持对中国大陆机动车车牌的自动定位和识别,返回地域编号和车牌号码与车牌颜色信息。
|
|
1022
|
-
|
|
1023
|
-
默认接口请求频率限制:10次/秒。
|
|
1024
|
-
*/
|
|
1025
|
-
async LicensePlateOCR(req, cb) {
|
|
1026
|
-
return this.request("LicensePlateOCR", req, cb);
|
|
1027
|
-
}
|
|
1028
|
-
/**
|
|
1029
|
-
* 本接口支持图像整体文字的检测和识别。支持中文、英文、中英文、数字和特殊字符号的识别,并返回文字框位置和文字内容。
|
|
1030
|
-
|
|
1031
|
-
适用于快速文本识别场景。
|
|
1032
|
-
|
|
1033
|
-
产品优势:与通用印刷体识别接口相比,精简版虽然在准确率和召回率上有一定损失,但价格更加优惠。
|
|
1034
|
-
|
|
1035
|
-
通用印刷体识别不同版本的差异如下:
|
|
1036
|
-
<table style="width:715px">
|
|
1037
|
-
<thead>
|
|
1038
|
-
<tr>
|
|
1039
|
-
<th style="width:150px"></th>
|
|
1040
|
-
<th >通用印刷体识别(精简版)</th>
|
|
1041
|
-
<th style="width:200px"><a href="https://cloud.tencent.com/document/product/866/33526">【荐】通用印刷体识别</a></th>
|
|
1042
|
-
<th><a href="https://cloud.tencent.com/document/product/866/34937">【荐】通用印刷体识别(高精度版)</a></th>
|
|
1043
|
-
</tr>
|
|
1044
|
-
</thead>
|
|
1045
|
-
<tbody>
|
|
1046
|
-
<tr>
|
|
1047
|
-
<td> 适用场景</td>
|
|
1048
|
-
<td>适用于快速文本识别场景,准召率有一定损失,价格更优惠</td>
|
|
1049
|
-
<td>适用于所有通用场景的印刷体识别</td>
|
|
1050
|
-
<td>适用于文字较多、长串数字、小字、模糊字、倾斜文本等困难场景</td>
|
|
1051
|
-
</tr>
|
|
1052
|
-
<tr>
|
|
1053
|
-
<td>识别准确率</td>
|
|
1054
|
-
<td>91%</td>
|
|
1055
|
-
<td>96%</td>
|
|
1056
|
-
<td>99%</td>
|
|
1057
|
-
</tr>
|
|
1058
|
-
<tr>
|
|
1059
|
-
<td>价格</td>
|
|
1060
|
-
<td>低</td>
|
|
1061
|
-
<td>中</td>
|
|
1062
|
-
<td>高</td>
|
|
1063
|
-
</tr>
|
|
1064
|
-
<tr>
|
|
1065
|
-
<td>支持的语言</td>
|
|
1066
|
-
<td>中文、英文、中英文</td>
|
|
1067
|
-
<td>中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语</td>
|
|
1068
|
-
<td>中文、英文、中英文</td>
|
|
1069
|
-
</tr>
|
|
1070
|
-
<tr>
|
|
1071
|
-
<td>自动语言检测</td>
|
|
1072
|
-
<td>支持</td>
|
|
1073
|
-
<td>支持</td>
|
|
1074
|
-
<td>支持</td>
|
|
1075
|
-
</tr>
|
|
1076
|
-
<tr>
|
|
1077
|
-
<td>返回文本行坐标</td>
|
|
1078
|
-
<td>支持</td>
|
|
1079
|
-
<td>支持</td>
|
|
1080
|
-
<td>支持</td>
|
|
1081
|
-
</tr>
|
|
1082
|
-
<tr>
|
|
1083
|
-
<td>自动旋转纠正</td>
|
|
1084
|
-
<td>支持旋转识别,返回角度信息</td>
|
|
1085
|
-
<td>支持旋转识别,返回角度信息</td>
|
|
1086
|
-
<td>支持旋转识别,返回角度信息</td>
|
|
1087
|
-
</tr>
|
|
1088
|
-
</tbody>
|
|
1089
|
-
</table>
|
|
893
|
+
async FormulaOCR(req, cb) {
|
|
894
|
+
return this.request("FormulaOCR", req, cb);
|
|
895
|
+
}
|
|
896
|
+
/**
|
|
897
|
+
* 本接口支持中国大陆地区护照个人资料页多个字段的检测与识别。已支持字段包括英文姓名、中文姓名、国家码、护照号、出生地、出生日期、国籍英文、性别英文、有效期、签发地点英文、签发日期、持证人签名、护照机读码(MRZ码)等。
|
|
1090
898
|
|
|
1091
899
|
默认接口请求频率限制:10次/秒。
|
|
1092
900
|
*/
|
|
1093
|
-
async
|
|
1094
|
-
return this.request("
|
|
901
|
+
async PassportOCR(req, cb) {
|
|
902
|
+
return this.request("PassportOCR", req, cb);
|
|
1095
903
|
}
|
|
1096
904
|
/**
|
|
1097
|
-
*
|
|
1098
|
-
|
|
1099
|
-
产品优势:针对广告商品图片普遍存在较多繁体字、艺术字的特点,进行了识别能力的增强。支持中英文、横排、竖排以及倾斜场景文字识别。文字识别的召回率和准确率能达到96%以上。
|
|
905
|
+
* 本接口支持常见银行票据的自动分类和识别。整单识别包括支票(含现金支票、普通支票、转账支票),承兑汇票(含银行承兑汇票、商业承兑汇票)以及进账单等,适用于中国人民银行印发的 2010 版银行票据凭证版式(银发[2010]299 号)。
|
|
1100
906
|
|
|
1101
|
-
默认接口请求频率限制:
|
|
907
|
+
默认接口请求频率限制:5次/秒。
|
|
1102
908
|
*/
|
|
1103
|
-
async
|
|
1104
|
-
return this.request("
|
|
909
|
+
async FinanBillOCR(req, cb) {
|
|
910
|
+
return this.request("FinanBillOCR", req, cb);
|
|
1105
911
|
}
|
|
1106
912
|
/**
|
|
1107
|
-
*
|
|
1108
|
-
|
|
1109
|
-
默认接口请求频率限制:5次/秒。
|
|
913
|
+
* 本接口支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(铁路电子客票)、电子发票(航空运输电子客票行程单)识别,返回发票代码、发票号码、开票日期、验证码、机器编号、密码区,购买方和销售方信息,包括名称、纳税人识别号、地址电话、开户行及账号,以及价税合计、开票人、收款人、复核人、税额、不含税金额等字段信息。
|
|
1110
914
|
*/
|
|
1111
|
-
async
|
|
1112
|
-
return this.request("
|
|
915
|
+
async VerifyOfdVatInvoiceOCR(req, cb) {
|
|
916
|
+
return this.request("VerifyOfdVatInvoiceOCR", req, cb);
|
|
1113
917
|
}
|
|
1114
918
|
/**
|
|
1115
|
-
*
|
|
919
|
+
* 本接口支持 单张、多张、多类型 票据的混合识别,同时支持自选需要识别的票据类型,已支持票种包括:增值税发票(专票、普票、卷票)、全电发票、非税发票、定额发票、通用机打发票、购车发票、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票共14种标准报销发票,并支持其他类发票的识别。
|
|
1116
920
|
|
|
1117
921
|
默认接口请求频率限制:5次/秒。
|
|
1118
922
|
*/
|
|
1119
|
-
async
|
|
1120
|
-
return this.request("
|
|
923
|
+
async MixedInvoiceOCR(req, cb) {
|
|
924
|
+
return this.request("MixedInvoiceOCR", req, cb);
|
|
1121
925
|
}
|
|
1122
926
|
/**
|
|
1123
927
|
* 本接口支持北京、上海、广东、江苏、吉林、黑龙江、天津、辽宁、浙江、河南、四川、贵州、山东、安徽、福建、江西、湖北、湖南等省份健康码的识别,包括持码人姓名、持码人身份证号、健康码更新时间、健康码颜色、核酸检测结果、核酸检测间隔时长、核酸检测时间,疫苗接种信息,八个字段的识别结果输出。不同省市健康码显示的字段信息有所不同,上述字段的识别结果可能为空,以图片上具体展示的信息为准。
|
|
@@ -1128,56 +932,204 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
1128
932
|
return this.request("RecognizeHealthCodeOCR", req, cb);
|
|
1129
933
|
}
|
|
1130
934
|
/**
|
|
1131
|
-
*
|
|
1132
|
-
*/
|
|
1133
|
-
async RecognizePhilippinesSssIDOCR(req, cb) {
|
|
1134
|
-
return this.request("RecognizePhilippinesSssIDOCR", req, cb);
|
|
1135
|
-
}
|
|
1136
|
-
/**
|
|
1137
|
-
* 本接口支持识别主流初高中数学符号和公式,返回公式的 Latex 格式文本。
|
|
935
|
+
* 本接口支持数学试题内容的识别和结构化输出,包括通用文本解析和小学/初中/高中数学公式解析能力(包括91种题型,180种符号),公式返回格式为 Latex 格式文本。
|
|
1138
936
|
|
|
1139
937
|
默认接口请求频率限制:5次/秒。
|
|
1140
938
|
*/
|
|
1141
|
-
async
|
|
1142
|
-
return this.request("
|
|
939
|
+
async EduPaperOCR(req, cb) {
|
|
940
|
+
return this.request("EduPaperOCR", req, cb);
|
|
1143
941
|
}
|
|
1144
942
|
/**
|
|
1145
|
-
*
|
|
1146
|
-
|
|
1147
|
-
默认接口请求频率限制:10次/秒。
|
|
943
|
+
* 服务已迁移至 [文档解析](https://cloud.tencent.com/document/product/1759/107504),请跳转查看接口文档。该接口支持将图片或PDF文件转换成Markdown格式文件,可解析包括表格、公式、图片、标题、段落、页眉、页脚等内容元素,并将内容智能转换成阅读顺序。
|
|
1148
944
|
*/
|
|
1149
|
-
async
|
|
1150
|
-
return this.request("
|
|
945
|
+
async ReconstructDocument(req, cb) {
|
|
946
|
+
return this.request("ReconstructDocument", req, cb);
|
|
1151
947
|
}
|
|
1152
948
|
/**
|
|
1153
|
-
*
|
|
949
|
+
* 本接口支持泰国身份证识别,识别字段包括泰文姓名、英文姓名、地址、出生日期、身份证号码、首次领用日期、签发日期等字段。
|
|
950
|
+
本接口暂未完全对外开放,如需咨询,请[联系商务](https://cloud.tencent.com/about/connect)
|
|
1154
951
|
|
|
1155
|
-
默认接口请求频率限制:
|
|
952
|
+
默认接口请求频率限制:10次/秒
|
|
1156
953
|
*/
|
|
1157
|
-
async
|
|
1158
|
-
return this.request("
|
|
954
|
+
async RecognizeThaiIDCardOCR(req, cb) {
|
|
955
|
+
return this.request("RecognizeThaiIDCardOCR", req, cb);
|
|
1159
956
|
}
|
|
1160
957
|
/**
|
|
1161
|
-
*
|
|
1162
|
-
|
|
1163
|
-
默认接口请求频率限制:5次/秒。
|
|
958
|
+
* 韩国驾驶证识别
|
|
1164
959
|
*/
|
|
1165
|
-
async
|
|
1166
|
-
return this.request("
|
|
960
|
+
async RecognizeKoreanDrivingLicenseOCR(req, cb) {
|
|
961
|
+
return this.request("RecognizeKoreanDrivingLicenseOCR", req, cb);
|
|
1167
962
|
}
|
|
1168
963
|
/**
|
|
1169
|
-
*
|
|
964
|
+
* 本接口支持 PDF多页(最多30页)、一页中单张、多张、类型票据的混合识别,同时支持单选识别某类票据,已支持票种包括:增值税发票(专票、普票、卷票、区块链发票、通行费发票)、全电发票(专票、普票)、非税发票(通用票据、统一缴纳书)、定额发票、通用机打发票、购车发票(机动车销售发票、二手车发票)、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票共14种标准报销发票,支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(机票行程单)、电子发票(铁路电子客票)的第一页识别,并支持非上述类型的其他发票的智能识别,点击[立即试用](https://cloud.tencent.com/product/ocr)。
|
|
1170
965
|
|
|
1171
966
|
默认接口请求频率限制:5次/秒。
|
|
967
|
+
|
|
968
|
+
|
|
969
|
+
支持返回的细项目子票种SubType、子票种中文TypeDescription、以及对应所属大类票种Type 的说明如下列表:
|
|
970
|
+
<table style="width:715px">
|
|
971
|
+
<thead>
|
|
972
|
+
<tr>
|
|
973
|
+
<th style="width:200px">SubType 子票种英文</th>
|
|
974
|
+
<th style="width:200px">TypeDescription子票种中文</th>
|
|
975
|
+
<th >Type 所属大类票种</th>
|
|
976
|
+
</tr>
|
|
977
|
+
</thead>
|
|
978
|
+
<tbody>
|
|
979
|
+
<tr>
|
|
980
|
+
<td> VatSpecialInvoice</td>
|
|
981
|
+
<td> 增值税专用发票 </td>
|
|
982
|
+
<td> 3 </td>
|
|
983
|
+
</tr>
|
|
984
|
+
<tr>
|
|
985
|
+
<td> VatCommonInvoice</td>
|
|
986
|
+
<td> 增值税普通发票 </td>
|
|
987
|
+
<td> 3 </td>
|
|
988
|
+
</tr>
|
|
989
|
+
<tr>
|
|
990
|
+
<td> VatElectronicCommonInvoice </td>
|
|
991
|
+
<td> 增值税电子普通发票 </td>
|
|
992
|
+
<td> 3 </td>
|
|
993
|
+
</tr>
|
|
994
|
+
<tr>
|
|
995
|
+
<td> VatElectronicSpecialInvoice </td>
|
|
996
|
+
<td> 增值税电子专用发票 </td>
|
|
997
|
+
<td> 3 </td>
|
|
998
|
+
</tr>
|
|
999
|
+
<tr>
|
|
1000
|
+
<td> VatElectronicInvoiceBlockchain</td>
|
|
1001
|
+
<td> 区块链电子发票 </td>
|
|
1002
|
+
<td> 3 </td>
|
|
1003
|
+
</tr>
|
|
1004
|
+
<tr>
|
|
1005
|
+
<td> VatElectronicInvoiceToll</td>
|
|
1006
|
+
<td> 增值税电子普通发票(通行费)</td>
|
|
1007
|
+
<td> 3 </td>
|
|
1008
|
+
</tr>
|
|
1009
|
+
<tr>
|
|
1010
|
+
<td> VatSalesList</td>
|
|
1011
|
+
<td> 增值税销货清单</td>
|
|
1012
|
+
<td> 3 </td>
|
|
1013
|
+
</tr>
|
|
1014
|
+
<tr>
|
|
1015
|
+
<td> VatElectronicSpecialInvoiceFull</td>
|
|
1016
|
+
<td> 电子发票(专用发票)</td>
|
|
1017
|
+
<td> 16 </td>
|
|
1018
|
+
</tr>
|
|
1019
|
+
<tr>
|
|
1020
|
+
<td> VatElectronicInvoiceFull</td>
|
|
1021
|
+
<td> 电子发票(普通发票) </td>
|
|
1022
|
+
<td> 16 </td>
|
|
1023
|
+
</tr>
|
|
1024
|
+
<tr>
|
|
1025
|
+
<td> ElectronicFlightTicketFull</td>
|
|
1026
|
+
<td> 电子发票(机票行程单),该子类目前仅支持ofd发票</td>
|
|
1027
|
+
<td> 16 </td>
|
|
1028
|
+
</tr>
|
|
1029
|
+
<tr>
|
|
1030
|
+
<td> ElectronicTrainTicketFull</td>
|
|
1031
|
+
<td> 电子发票(铁路电子客票),该子类目前仅支持ofd发票</td>
|
|
1032
|
+
<td> 16 </td>
|
|
1033
|
+
</tr>
|
|
1034
|
+
<tr>
|
|
1035
|
+
<td> MotorVehicleSaleInvoice </td>
|
|
1036
|
+
<td> 机动车销售统一发票 </td>
|
|
1037
|
+
<td> 12 </td>
|
|
1038
|
+
</tr>
|
|
1039
|
+
<tr>
|
|
1040
|
+
<td> UsedCarPurchaseInvoice </td>
|
|
1041
|
+
<td> 二手车销售统一发票 </td>
|
|
1042
|
+
<td> 12 </td>
|
|
1043
|
+
</tr>
|
|
1044
|
+
<tr>
|
|
1045
|
+
<td> VatInvoiceRoll </td>
|
|
1046
|
+
<td> 增值税普通发票(卷票) </td>
|
|
1047
|
+
<td> 11 </td>
|
|
1048
|
+
</tr>
|
|
1049
|
+
<tr>
|
|
1050
|
+
<td> TaxiTicket </td>
|
|
1051
|
+
<td> 出租车发票 </td>
|
|
1052
|
+
<td> 0 </td>
|
|
1053
|
+
</tr>
|
|
1054
|
+
<tr>
|
|
1055
|
+
<td> QuotaInvoice </td>
|
|
1056
|
+
<td> 定额发票 </td>
|
|
1057
|
+
<td> 1 </td>
|
|
1058
|
+
</tr>
|
|
1059
|
+
<tr>
|
|
1060
|
+
<td> TrainTicket </td>
|
|
1061
|
+
<td> 火车票 </td>
|
|
1062
|
+
<td> 2 </td>
|
|
1063
|
+
</tr>
|
|
1064
|
+
<tr>
|
|
1065
|
+
<td> AirTransport </td>
|
|
1066
|
+
<td> 机票行程单 </td>
|
|
1067
|
+
<td> 5 </td>
|
|
1068
|
+
</tr>
|
|
1069
|
+
<tr>
|
|
1070
|
+
<td> MachinePrintedInvoice </td>
|
|
1071
|
+
<td> 通用机打发票 </td>
|
|
1072
|
+
<td> 8 </td>
|
|
1073
|
+
</tr>
|
|
1074
|
+
<tr>
|
|
1075
|
+
<td> BusInvoice </td>
|
|
1076
|
+
<td> 汽车票 </td>
|
|
1077
|
+
<td> 9 </td>
|
|
1078
|
+
</tr>
|
|
1079
|
+
<tr>
|
|
1080
|
+
<td> ShippingInvoice </td>
|
|
1081
|
+
<td> 轮船票 </td>
|
|
1082
|
+
<td> 10 </td>
|
|
1083
|
+
</tr>
|
|
1084
|
+
<tr>
|
|
1085
|
+
<td> NonTaxIncomeGeneralBill </td>
|
|
1086
|
+
<td> 非税收入通用票据 </td>
|
|
1087
|
+
<td> 15 </td>
|
|
1088
|
+
</tr>
|
|
1089
|
+
<tr>
|
|
1090
|
+
<td> NonTaxIncomeElectronicBill </td>
|
|
1091
|
+
<td> 非税收入一般缴款书(电子) </td>
|
|
1092
|
+
<td> 15 </td>
|
|
1093
|
+
</tr>
|
|
1094
|
+
<tr>
|
|
1095
|
+
<td> TollInvoice </td>
|
|
1096
|
+
<td> 过路过桥费发票 </td>
|
|
1097
|
+
<td> 13 </td>
|
|
1098
|
+
</tr>
|
|
1099
|
+
<tr>
|
|
1100
|
+
<td> MedicalOutpatientInvoice </td>
|
|
1101
|
+
<td> 医疗门诊收费票据(电子) </td>
|
|
1102
|
+
<td> 17 </td>
|
|
1103
|
+
</tr>
|
|
1104
|
+
<tr>
|
|
1105
|
+
<td> MedicalHospitalizedInvoice </td>
|
|
1106
|
+
<td> 医疗住院收费票据(电子) </td>
|
|
1107
|
+
<td> 17 </td>
|
|
1108
|
+
</tr>
|
|
1109
|
+
<tr>
|
|
1110
|
+
<td> OtherInvoice </td>
|
|
1111
|
+
<td> 其他发票 </td>
|
|
1112
|
+
<td> -1 </td>
|
|
1113
|
+
</tr>
|
|
1114
|
+
</tbody>
|
|
1115
|
+
</table>
|
|
1172
1116
|
*/
|
|
1173
|
-
async
|
|
1174
|
-
return this.request("
|
|
1117
|
+
async RecognizeGeneralInvoice(req, cb) {
|
|
1118
|
+
return this.request("RecognizeGeneralInvoice", req, cb);
|
|
1175
1119
|
}
|
|
1176
1120
|
/**
|
|
1177
|
-
*
|
|
1121
|
+
* 本接口支持行驶证主页和副页所有字段的自动定位与识别。
|
|
1122
|
+
|
|
1123
|
+
行驶证主页:车牌号码、车辆类型、所有人、住址、使用性质、品牌型号、识别代码、发动机号、注册日期、发证日期、发证单位。
|
|
1124
|
+
|
|
1125
|
+
行驶证副页:号牌号码、档案编号、核定载人数、总质量、整备质量、核定载质量、外廓尺寸、准牵引总质量、备注、检验记录。
|
|
1126
|
+
|
|
1127
|
+
另外,本接口还支持复印件、翻拍告警功能。
|
|
1128
|
+
|
|
1129
|
+
默认接口请求频率限制:10次/秒。
|
|
1178
1130
|
*/
|
|
1179
|
-
async
|
|
1180
|
-
return this.request("
|
|
1131
|
+
async VehicleLicenseOCR(req, cb) {
|
|
1132
|
+
return this.request("VehicleLicenseOCR", req, cb);
|
|
1181
1133
|
}
|
|
1182
1134
|
}
|
|
1183
1135
|
exports.Client = Client;
|