tencentcloud-sdk-nodejs-ocr 4.0.982 → 4.0.983
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/products.md +15 -15
- package/src/services/ocr/v20181119/ocr_client.ts +1 -13
- package/src/services/ocr/v20181119/ocr_models.ts +15 -94
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -5
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +0 -6
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +15 -92
package/package.json
CHANGED
package/products.md
CHANGED
@@ -16,15 +16,15 @@
|
|
16
16
|
| api | [云 API](https://cloud.tencent.com/document/product/1278) | 2023-01-05 01:02:52 |
|
17
17
|
| apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2024-11-28 22:52:11 |
|
18
18
|
| apm | [应用性能监控](https://cloud.tencent.com/document/product/1463) | 2024-11-15 01:09:10 |
|
19
|
-
| as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2024-
|
19
|
+
| as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2024-12-02 01:07:50 |
|
20
20
|
| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2024-11-21 01:05:01 |
|
21
21
|
| asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2023-05-18 01:04:02 |
|
22
22
|
| ba | [ICP备案](https://cloud.tencent.com/document/product/243) | 2024-04-22 01:08:02 |
|
23
|
-
| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2024-
|
23
|
+
| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2024-12-02 01:08:07 |
|
24
24
|
| bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2024-11-14 01:10:31 |
|
25
25
|
| bh | [运维安全中心(堡垒机)](https://cloud.tencent.com/document/product/1025) | 2024-11-21 01:05:46 |
|
26
26
|
| bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2024-11-29 01:09:08 |
|
27
|
-
| billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2024-
|
27
|
+
| billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2024-12-02 01:08:36 |
|
28
28
|
| bizlive | [商业直播](https://cloud.tencent.com/document/product) | 2020-03-10 01:08:07 |
|
29
29
|
| bm | [黑石物理服务器CPM](https://cloud.tencent.com/document/product/386) | 2024-03-20 01:08:40 |
|
30
30
|
| bma | [品牌经营管家](https://cloud.tencent.com/document/product/1296) | 2024-10-18 01:04:14 |
|
@@ -40,9 +40,9 @@
|
|
40
40
|
| captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2024-10-23 01:09:56 |
|
41
41
|
| car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2024-06-19 01:14:59 |
|
42
42
|
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2024-11-15 01:13:36 |
|
43
|
-
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2024-
|
43
|
+
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2024-12-02 01:09:38 |
|
44
44
|
| ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2024-11-21 01:09:52 |
|
45
|
-
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-
|
45
|
+
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-12-02 01:09:55 |
|
46
46
|
| cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2024-11-15 01:15:46 |
|
47
47
|
| cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-11-26 01:10:29 |
|
48
48
|
| cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2024-11-08 01:17:02 |
|
@@ -73,10 +73,10 @@
|
|
73
73
|
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2023-09-21 02:09:54 |
|
74
74
|
| csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2024-11-04 21:21:11 |
|
75
75
|
| csxg | [5G入云服务](https://cloud.tencent.com/document/product/1687) | 2024-03-20 01:12:25 |
|
76
|
-
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-
|
77
|
-
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-
|
76
|
+
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-12-02 01:13:45 |
|
77
|
+
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-12-02 01:14:03 |
|
78
78
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
79
|
-
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-
|
79
|
+
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-12-02 01:15:10 |
|
80
80
|
| dasb | [运维安全中心(堡垒机)](https://cloud.tencent.com/document/product/1025) | 2024-11-19 01:26:13 |
|
81
81
|
| dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
|
82
82
|
| dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2023-05-18 01:20:11 |
|
@@ -100,8 +100,8 @@
|
|
100
100
|
| eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 |
|
101
101
|
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-11-21 01:30:48 |
|
102
102
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-11-15 01:34:50 |
|
103
|
-
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-
|
104
|
-
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-
|
103
|
+
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-12-02 01:18:08 |
|
104
|
+
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-12-02 01:18:29 |
|
105
105
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-11-21 01:33:53 |
|
106
106
|
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-11-22 11:46:40 |
|
107
107
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-11-15 01:37:24 |
|
@@ -130,7 +130,7 @@
|
|
130
130
|
| ioa | [iOA 零信任安全管理系统](https://cloud.tencent.com/document/product/1092) | 2024-11-11 01:39:45 |
|
131
131
|
| iot | [加速物联网套件](https://cloud.tencent.com/document/product/568) | 2023-07-17 01:22:28 |
|
132
132
|
| iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2024-06-05 01:47:50 |
|
133
|
-
| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2024-
|
133
|
+
| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2024-12-02 01:19:57 |
|
134
134
|
| iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2023-05-18 01:33:02 |
|
135
135
|
| iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2024-11-06 01:44:05 |
|
136
136
|
| iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2024-03-20 01:18:54 |
|
@@ -141,7 +141,7 @@
|
|
141
141
|
| kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2024-11-07 01:44:48 |
|
142
142
|
| lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2024-11-29 01:24:07 |
|
143
143
|
| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2024-11-28 01:21:14 |
|
144
|
-
| live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2024-
|
144
|
+
| live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2024-12-02 01:22:02 |
|
145
145
|
| lke | [大模型知识引擎](https://cloud.tencent.com/document/product/1759) | 2024-11-29 01:25:07 |
|
146
146
|
| lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
|
147
147
|
| lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
|
@@ -156,14 +156,14 @@
|
|
156
156
|
| monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-11-21 01:46:37 |
|
157
157
|
| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-11-29 01:26:32 |
|
158
158
|
| mqtt | [消息队列 MQTT 版](https://cloud.tencent.com/document/product/1778) | 2024-11-01 01:51:29 |
|
159
|
-
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2024-11-
|
159
|
+
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2024-11-29 11:42:29 |
|
160
160
|
| ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2024-11-14 01:54:52 |
|
161
161
|
| msp | [迁移服务平台](https://cloud.tencent.com/document/product/659) | 2024-04-17 14:48:31 |
|
162
162
|
| mvj | [营销价值判断](https://cloud.tencent.com/document/product) | 2020-03-19 08:11:44 |
|
163
163
|
| nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2024-09-27 01:23:18 |
|
164
164
|
| npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
|
165
165
|
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-11-28 01:23:56 |
|
166
|
-
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-
|
166
|
+
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-12-02 01:25:30 |
|
167
167
|
| omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2024-11-21 01:50:50 |
|
168
168
|
| organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-11-29 01:27:56 |
|
169
169
|
| partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2024-11-22 12:03:22 |
|
@@ -214,7 +214,7 @@
|
|
214
214
|
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-11-22 12:12:16 |
|
215
215
|
| tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2024-11-14 02:08:25 |
|
216
216
|
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2024-11-05 02:16:13 |
|
217
|
-
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-11-
|
217
|
+
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-11-29 19:52:14 |
|
218
218
|
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2024-11-26 01:28:42 |
|
219
219
|
| tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
|
220
220
|
| tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2023-08-17 05:26:08 |
|
@@ -63,8 +63,7 @@ import {
|
|
63
63
|
FlightItem,
|
64
64
|
Value,
|
65
65
|
EnterpriseLicenseOCRResponse,
|
66
|
-
|
67
|
-
RecognizeKoreanDrivingLicenseOCRRequest,
|
66
|
+
SealInfo,
|
68
67
|
InvoiceGeneralInfo,
|
69
68
|
TextVatInvoice,
|
70
69
|
InstitutionOCRResponse,
|
@@ -305,7 +304,6 @@ import {
|
|
305
304
|
VatInvoiceOCRResponse,
|
306
305
|
QuotaInvoiceOCRRequest,
|
307
306
|
BankCardOCRResponse,
|
308
|
-
SealInfo,
|
309
307
|
BusinessCardOCRRequest,
|
310
308
|
FinanBillOCRRequest,
|
311
309
|
QuotaInvoiceOCRResponse,
|
@@ -1576,16 +1574,6 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
1576
1574
|
return this.request("RecognizeThaiIDCardOCR", req, cb)
|
1577
1575
|
}
|
1578
1576
|
|
1579
|
-
/**
|
1580
|
-
* 韩国驾驶证识别
|
1581
|
-
*/
|
1582
|
-
async RecognizeKoreanDrivingLicenseOCR(
|
1583
|
-
req: RecognizeKoreanDrivingLicenseOCRRequest,
|
1584
|
-
cb?: (error: string, rep: RecognizeKoreanDrivingLicenseOCRResponse) => void
|
1585
|
-
): Promise<RecognizeKoreanDrivingLicenseOCRResponse> {
|
1586
|
-
return this.request("RecognizeKoreanDrivingLicenseOCR", req, cb)
|
1587
|
-
}
|
1588
|
-
|
1589
1577
|
/**
|
1590
1578
|
* 本接口支持 PDF多页(最多30页)、一页中单张、多张、类型票据的混合识别,同时支持单选识别某类票据,已支持票种包括:增值税发票(专票、普票、卷票、区块链发票、通行费发票)、全电发票(专票、普票)、非税发票(通用票据、统一缴纳书)、定额发票、通用机打发票、购车发票(机动车销售发票、二手车发票)、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票共14种标准报销发票,支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(机票行程单)、电子发票(铁路电子客票)的第一页识别,并支持非上述类型的其他发票的智能识别,点击[立即试用](https://cloud.tencent.com/product/ocr)。
|
1591
1579
|
|
@@ -1531,82 +1531,30 @@ export interface EnterpriseLicenseOCRResponse {
|
|
1531
1531
|
}
|
1532
1532
|
|
1533
1533
|
/**
|
1534
|
-
*
|
1534
|
+
* 印章信息
|
1535
1535
|
*/
|
1536
|
-
export interface
|
1537
|
-
/**
|
1538
|
-
* 身份证号码
|
1539
|
-
*/
|
1540
|
-
ID?: string
|
1541
|
-
/**
|
1542
|
-
* 驾照号码
|
1543
|
-
*/
|
1544
|
-
LicenseNumber?: string
|
1545
|
-
/**
|
1546
|
-
* 居民登记号码
|
1547
|
-
*/
|
1548
|
-
Number?: string
|
1549
|
-
/**
|
1550
|
-
* 驾照类型
|
1551
|
-
*/
|
1552
|
-
Type?: string
|
1553
|
-
/**
|
1554
|
-
* 地址
|
1555
|
-
*/
|
1556
|
-
Address?: string
|
1557
|
-
/**
|
1558
|
-
* 姓名
|
1559
|
-
*/
|
1560
|
-
Name?: string
|
1561
|
-
/**
|
1562
|
-
* 换证时间
|
1563
|
-
*/
|
1564
|
-
AptitudeTesDate?: string
|
1565
|
-
/**
|
1566
|
-
* 发证日期
|
1567
|
-
*/
|
1568
|
-
DateOfIssue?: string
|
1569
|
-
/**
|
1570
|
-
* 人像截图Base64后的结果
|
1571
|
-
*/
|
1572
|
-
Photo?: string
|
1573
|
-
/**
|
1574
|
-
* 性别
|
1575
|
-
*/
|
1576
|
-
Sex?: string
|
1577
|
-
/**
|
1578
|
-
* 生日,格式为dd/mm/yyyy
|
1579
|
-
*/
|
1580
|
-
Birthday?: string
|
1536
|
+
export interface SealInfo {
|
1581
1537
|
/**
|
1582
|
-
*
|
1538
|
+
* 印章主体内容
|
1583
1539
|
*/
|
1584
|
-
|
1585
|
-
}
|
1586
|
-
|
1587
|
-
/**
|
1588
|
-
* RecognizeKoreanDrivingLicenseOCR请求参数结构体
|
1589
|
-
*/
|
1590
|
-
export interface RecognizeKoreanDrivingLicenseOCRRequest {
|
1540
|
+
SealBody: string
|
1591
1541
|
/**
|
1592
|
-
*
|
1593
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
1594
|
-
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
1595
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
1542
|
+
* 印章坐标
|
1596
1543
|
*/
|
1597
|
-
|
1544
|
+
Location: Rect
|
1598
1545
|
/**
|
1599
|
-
*
|
1600
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
1601
|
-
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
1602
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
1603
|
-
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
1546
|
+
* 印章其它文本内容
|
1604
1547
|
*/
|
1605
|
-
|
1548
|
+
OtherTexts: Array<string>
|
1606
1549
|
/**
|
1607
|
-
*
|
1550
|
+
* 印章类型,表示为:
|
1551
|
+
圆形印章:0
|
1552
|
+
椭圆形印章:1
|
1553
|
+
方形印章:2
|
1554
|
+
菱形印章:3
|
1555
|
+
三角形印章:4
|
1608
1556
|
*/
|
1609
|
-
|
1557
|
+
SealShape: string
|
1610
1558
|
}
|
1611
1559
|
|
1612
1560
|
/**
|
@@ -10745,33 +10693,6 @@ export interface BankCardOCRResponse {
|
|
10745
10693
|
RequestId?: string
|
10746
10694
|
}
|
10747
10695
|
|
10748
|
-
/**
|
10749
|
-
* 印章信息
|
10750
|
-
*/
|
10751
|
-
export interface SealInfo {
|
10752
|
-
/**
|
10753
|
-
* 印章主体内容
|
10754
|
-
*/
|
10755
|
-
SealBody: string
|
10756
|
-
/**
|
10757
|
-
* 印章坐标
|
10758
|
-
*/
|
10759
|
-
Location: Rect
|
10760
|
-
/**
|
10761
|
-
* 印章其它文本内容
|
10762
|
-
*/
|
10763
|
-
OtherTexts: Array<string>
|
10764
|
-
/**
|
10765
|
-
* 印章类型,表示为:
|
10766
|
-
圆形印章:0
|
10767
|
-
椭圆形印章:1
|
10768
|
-
方形印章:2
|
10769
|
-
菱形印章:3
|
10770
|
-
三角形印章:4
|
10771
|
-
*/
|
10772
|
-
SealShape: string
|
10773
|
-
}
|
10774
|
-
|
10775
10696
|
/**
|
10776
10697
|
* BusinessCardOCR请求参数结构体
|
10777
10698
|
*/
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
2
|
-
import { RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, BankCardOCRRequest, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, FlightInvoiceOCRRequest, MLIDPassportOCRRequest, RecognizeGeneralTextImageWarnResponse, SmartStructuralOCRV2Request, TextDetectResponse, TollInvoiceOCRResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, CreateAIFormTaskRequest, ClassifyStoreNameRequest, InvoiceGeneralOCRRequest, HmtResidentPermitOCRResponse, EnterpriseLicenseOCRResponse,
|
2
|
+
import { RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, BankCardOCRRequest, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, FlightInvoiceOCRRequest, MLIDPassportOCRRequest, RecognizeGeneralTextImageWarnResponse, SmartStructuralOCRV2Request, TextDetectResponse, TollInvoiceOCRResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, CreateAIFormTaskRequest, ClassifyStoreNameRequest, InvoiceGeneralOCRRequest, HmtResidentPermitOCRResponse, EnterpriseLicenseOCRResponse, InstitutionOCRResponse, DriverLicenseOCRRequest, SmartStructuralProRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, SmartStructuralOCRV2Response, EnterpriseLicenseOCRRequest, SmartStructuralOCRRequest, RecognizeStoreNameRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, SmartStructuralOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RideHailingDriverLicenseOCRRequest, GeneralAccurateOCRResponse, QrcodeOCRRequest, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeStoreNameResponse, RecognizeMedicalInvoiceOCRResponse, RecognizeValidIDCardOCRRequest, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VatInvoiceVerifyNewRequest, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, TollInvoiceOCRRequest, LicensePlateOCRResponse, HKIDCardOCRResponse, RecognizeThaiIDCardOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, VatInvoiceVerifyNewResponse, TaxiInvoiceOCRRequest, RecognizeContainerOCRRequest, TextDetectRequest, VatRollInvoiceOCRResponse, VatInvoiceVerifyRequest, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, PropOwnerCertOCRRequest, ImageEnhancementResponse, PassportOCRResponse, VehicleRegCertOCRRequest, RecognizeTravelCardOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest, ReconstructDocumentResponse, GeneralEfficientOCRRequest, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, EnglishOCRRequest, VatInvoiceVerifyResponse, RecognizeValidIDCardOCRResponse, IDCardOCRResponse, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, FlightInvoiceOCRResponse, ShipInvoiceOCRResponse, ReconstructDocumentRequest, InstitutionOCRRequest, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, FinanBillSliceOCRRequest, ClassifyStoreNameResponse, VatRollInvoiceOCRRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, RecognizeHealthCodeOCRRequest, BankSlipOCRResponse, RecognizeEncryptedIDCardOCRResponse, VinOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, RecognizeEncryptedIDCardOCRRequest, CreateAIFormTaskResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, RecognizeGeneralInvoiceResponse, GetTaskStateResponse, GetTaskStateRequest, RecognizeMedicalInvoiceOCRRequest, InsuranceBillOCRResponse, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, MLIDPassportOCRResponse, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, HmtResidentPermitOCRRequest, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, BusInvoiceOCRResponse, MainlandPermitOCRResponse, MLIDCardOCRRequest, EnglishOCRResponse, RecognizeForeignPermanentResidentIdCardResponse, BusInvoiceOCRRequest, OrgCodeCertOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, SmartStructuralProResponse, PermitOCRResponse, InsuranceBillOCRRequest, GeneralHandwritingOCRResponse, TableOCRResponse, AdvertiseOCRResponse, VehicleLicenseOCRRequest, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, WaybillOCRRequest, VinOCRRequest, RideHailingTransportLicenseOCRRequest, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, BizLicenseOCRResponse, TableOCRRequest, VatInvoiceOCRResponse, QuotaInvoiceOCRRequest, BankCardOCRResponse, BusinessCardOCRRequest, FinanBillOCRRequest, QuotaInvoiceOCRResponse, RecognizeGeneralTextImageWarnRequest, RecognizeForeignPermanentResidentIdCardRequest, GeneralFastOCRResponse } from "./ocr_models";
|
3
3
|
/**
|
4
4
|
* ocr client
|
5
5
|
* @class
|
@@ -771,10 +771,6 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
771
771
|
默认接口请求频率限制:10次/秒
|
772
772
|
*/
|
773
773
|
RecognizeThaiIDCardOCR(req: RecognizeThaiIDCardOCRRequest, cb?: (error: string, rep: RecognizeThaiIDCardOCRResponse) => void): Promise<RecognizeThaiIDCardOCRResponse>;
|
774
|
-
/**
|
775
|
-
* 韩国驾驶证识别
|
776
|
-
*/
|
777
|
-
RecognizeKoreanDrivingLicenseOCR(req: RecognizeKoreanDrivingLicenseOCRRequest, cb?: (error: string, rep: RecognizeKoreanDrivingLicenseOCRResponse) => void): Promise<RecognizeKoreanDrivingLicenseOCRResponse>;
|
778
774
|
/**
|
779
775
|
* 本接口支持 PDF多页(最多30页)、一页中单张、多张、类型票据的混合识别,同时支持单选识别某类票据,已支持票种包括:增值税发票(专票、普票、卷票、区块链发票、通行费发票)、全电发票(专票、普票)、非税发票(通用票据、统一缴纳书)、定额发票、通用机打发票、购车发票(机动车销售发票、二手车发票)、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票共14种标准报销发票,支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(机票行程单)、电子发票(铁路电子客票)的第一页识别,并支持非上述类型的其他发票的智能识别,点击[立即试用](https://cloud.tencent.com/product/ocr)。
|
780
776
|
|
@@ -954,12 +954,6 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
954
954
|
async RecognizeThaiIDCardOCR(req, cb) {
|
955
955
|
return this.request("RecognizeThaiIDCardOCR", req, cb);
|
956
956
|
}
|
957
|
-
/**
|
958
|
-
* 韩国驾驶证识别
|
959
|
-
*/
|
960
|
-
async RecognizeKoreanDrivingLicenseOCR(req, cb) {
|
961
|
-
return this.request("RecognizeKoreanDrivingLicenseOCR", req, cb);
|
962
|
-
}
|
963
957
|
/**
|
964
958
|
* 本接口支持 PDF多页(最多30页)、一页中单张、多张、类型票据的混合识别,同时支持单选识别某类票据,已支持票种包括:增值税发票(专票、普票、卷票、区块链发票、通行费发票)、全电发票(专票、普票)、非税发票(通用票据、统一缴纳书)、定额发票、通用机打发票、购车发票(机动车销售发票、二手车发票)、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票共14种标准报销发票,支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(机票行程单)、电子发票(铁路电子客票)的第一页识别,并支持非上述类型的其他发票的智能识别,点击[立即试用](https://cloud.tencent.com/product/ocr)。
|
965
959
|
|
@@ -1468,81 +1468,30 @@ export interface EnterpriseLicenseOCRResponse {
|
|
1468
1468
|
RequestId?: string;
|
1469
1469
|
}
|
1470
1470
|
/**
|
1471
|
-
*
|
1471
|
+
* 印章信息
|
1472
1472
|
*/
|
1473
|
-
export interface
|
1474
|
-
/**
|
1475
|
-
* 身份证号码
|
1476
|
-
*/
|
1477
|
-
ID?: string;
|
1478
|
-
/**
|
1479
|
-
* 驾照号码
|
1480
|
-
*/
|
1481
|
-
LicenseNumber?: string;
|
1482
|
-
/**
|
1483
|
-
* 居民登记号码
|
1484
|
-
*/
|
1485
|
-
Number?: string;
|
1486
|
-
/**
|
1487
|
-
* 驾照类型
|
1488
|
-
*/
|
1489
|
-
Type?: string;
|
1490
|
-
/**
|
1491
|
-
* 地址
|
1492
|
-
*/
|
1493
|
-
Address?: string;
|
1494
|
-
/**
|
1495
|
-
* 姓名
|
1496
|
-
*/
|
1497
|
-
Name?: string;
|
1498
|
-
/**
|
1499
|
-
* 换证时间
|
1500
|
-
*/
|
1501
|
-
AptitudeTesDate?: string;
|
1502
|
-
/**
|
1503
|
-
* 发证日期
|
1504
|
-
*/
|
1505
|
-
DateOfIssue?: string;
|
1506
|
-
/**
|
1507
|
-
* 人像截图Base64后的结果
|
1508
|
-
*/
|
1509
|
-
Photo?: string;
|
1510
|
-
/**
|
1511
|
-
* 性别
|
1512
|
-
*/
|
1513
|
-
Sex?: string;
|
1514
|
-
/**
|
1515
|
-
* 生日,格式为dd/mm/yyyy
|
1516
|
-
*/
|
1517
|
-
Birthday?: string;
|
1473
|
+
export interface SealInfo {
|
1518
1474
|
/**
|
1519
|
-
*
|
1475
|
+
* 印章主体内容
|
1520
1476
|
*/
|
1521
|
-
|
1522
|
-
}
|
1523
|
-
/**
|
1524
|
-
* RecognizeKoreanDrivingLicenseOCR请求参数结构体
|
1525
|
-
*/
|
1526
|
-
export interface RecognizeKoreanDrivingLicenseOCRRequest {
|
1477
|
+
SealBody: string;
|
1527
1478
|
/**
|
1528
|
-
*
|
1529
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
1530
|
-
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
1531
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
1479
|
+
* 印章坐标
|
1532
1480
|
*/
|
1533
|
-
|
1481
|
+
Location: Rect;
|
1534
1482
|
/**
|
1535
|
-
*
|
1536
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
1537
|
-
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
1538
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
1539
|
-
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
1483
|
+
* 印章其它文本内容
|
1540
1484
|
*/
|
1541
|
-
|
1485
|
+
OtherTexts: Array<string>;
|
1542
1486
|
/**
|
1543
|
-
*
|
1487
|
+
* 印章类型,表示为:
|
1488
|
+
圆形印章:0
|
1489
|
+
椭圆形印章:1
|
1490
|
+
方形印章:2
|
1491
|
+
菱形印章:3
|
1492
|
+
三角形印章:4
|
1544
1493
|
*/
|
1545
|
-
|
1494
|
+
SealShape: string;
|
1546
1495
|
}
|
1547
1496
|
/**
|
1548
1497
|
* 通用机打发票信息
|
@@ -10440,32 +10389,6 @@ export interface BankCardOCRResponse {
|
|
10440
10389
|
*/
|
10441
10390
|
RequestId?: string;
|
10442
10391
|
}
|
10443
|
-
/**
|
10444
|
-
* 印章信息
|
10445
|
-
*/
|
10446
|
-
export interface SealInfo {
|
10447
|
-
/**
|
10448
|
-
* 印章主体内容
|
10449
|
-
*/
|
10450
|
-
SealBody: string;
|
10451
|
-
/**
|
10452
|
-
* 印章坐标
|
10453
|
-
*/
|
10454
|
-
Location: Rect;
|
10455
|
-
/**
|
10456
|
-
* 印章其它文本内容
|
10457
|
-
*/
|
10458
|
-
OtherTexts: Array<string>;
|
10459
|
-
/**
|
10460
|
-
* 印章类型,表示为:
|
10461
|
-
圆形印章:0
|
10462
|
-
椭圆形印章:1
|
10463
|
-
方形印章:2
|
10464
|
-
菱形印章:3
|
10465
|
-
三角形印章:4
|
10466
|
-
*/
|
10467
|
-
SealShape: string;
|
10468
|
-
}
|
10469
10392
|
/**
|
10470
10393
|
* BusinessCardOCR请求参数结构体
|
10471
10394
|
*/
|