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