tencentcloud-sdk-nodejs-ocr 4.0.609 → 4.0.611
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 +416 -0
- package/SERVICE_CHANGELOG.md +411 -196
- package/package.json +1 -1
- package/products.md +27 -27
- package/src/services/ocr/v20181119/ocr_client.ts +22 -8
- package/src/services/ocr/v20181119/ocr_models.ts +91 -21
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +9 -3
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +11 -3
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +78 -20
package/package.json
CHANGED
package/products.md
CHANGED
@@ -36,12 +36,12 @@
|
|
36
36
|
| btoe | [区块链可信取证](https://cloud.tencent.com/document/product/1259) | 2023-05-18 01:06:44 |
|
37
37
|
| cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2023-05-26 01:06:43 |
|
38
38
|
| captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2023-05-18 01:07:27 |
|
39
|
-
| car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2023-05-
|
39
|
+
| car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2023-05-31 01:09:58 |
|
40
40
|
| casb | [云访问安全代理](https://cloud.tencent.com/document/product/1303) | 2022-12-26 10:53:16 |
|
41
41
|
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2023-05-18 01:07:39 |
|
42
42
|
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2023-05-23 01:06:09 |
|
43
|
-
| ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2023-05-
|
44
|
-
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2023-
|
43
|
+
| ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2023-05-31 01:10:22 |
|
44
|
+
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2023-06-01 09:45:06 |
|
45
45
|
| cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2023-05-18 01:09:37 |
|
46
46
|
| cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2023-05-24 01:09:09 |
|
47
47
|
| cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2023-05-18 01:10:41 |
|
@@ -49,7 +49,7 @@
|
|
49
49
|
| cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2023-05-18 01:10:56 |
|
50
50
|
| cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2023-05-24 01:10:16 |
|
51
51
|
| cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2023-05-29 01:13:18 |
|
52
|
-
| chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2023-05-
|
52
|
+
| chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2023-05-31 01:12:53 |
|
53
53
|
| ciam | [账号风控平台](https://cloud.tencent.com/document/product/1441) | 2023-05-18 01:11:59 |
|
54
54
|
| cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2023-05-18 01:12:07 |
|
55
55
|
| cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 |
|
@@ -62,22 +62,22 @@
|
|
62
62
|
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2023-05-29 01:15:07 |
|
63
63
|
| cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2023-05-18 01:14:25 |
|
64
64
|
| cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2023-05-18 01:14:51 |
|
65
|
-
| cms | [内容安全](https://cloud.tencent.com/document/product) |
|
65
|
+
| cms | [内容安全](https://cloud.tencent.com/document/product/669) | 2023-05-31 21:42:46 |
|
66
66
|
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2023-05-18 01:15:05 |
|
67
67
|
| cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
|
68
|
-
| csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2023-
|
68
|
+
| csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2023-06-01 09:47:17 |
|
69
69
|
| csxg | [5G入云服务](https://cloud.tencent.com/document/product/1687) | 2023-05-19 11:26:14 |
|
70
70
|
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2023-05-26 01:16:07 |
|
71
|
-
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2023-05-
|
71
|
+
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2023-05-31 01:16:52 |
|
72
72
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
73
|
-
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2023-05-
|
73
|
+
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2023-05-31 01:18:15 |
|
74
74
|
| dasb | [T-Sec-堡垒机(BH)](https://cloud.tencent.com/document/product/1025) | 2023-05-18 01:19:47 |
|
75
75
|
| dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
|
76
76
|
| dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2023-05-18 01:20:11 |
|
77
77
|
| dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2023-05-18 01:21:10 |
|
78
78
|
| dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2023-05-18 01:21:33 |
|
79
79
|
| dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2023-05-18 01:21:37 |
|
80
|
-
| dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2023-
|
80
|
+
| dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2023-06-01 09:49:03 |
|
81
81
|
| dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2023-05-29 01:21:27 |
|
82
82
|
| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2023-05-18 01:22:51 |
|
83
83
|
| domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2023-05-18 01:23:17 |
|
@@ -91,12 +91,12 @@
|
|
91
91
|
| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2023-05-18 01:24:47 |
|
92
92
|
| eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2023-05-18 01:25:40 |
|
93
93
|
| eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-05-18 01:25:58 |
|
94
|
-
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2023-
|
94
|
+
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2023-06-01 09:50:15 |
|
95
95
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2023-05-18 01:26:23 |
|
96
|
-
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-
|
96
|
+
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-06-01 09:50:34 |
|
97
97
|
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-05-26 15:35:45 |
|
98
|
-
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2023-05-
|
99
|
-
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2023-05-
|
98
|
+
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2023-05-31 01:26:29 |
|
99
|
+
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2023-05-31 01:26:34 |
|
100
100
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2023-05-24 14:30:55 |
|
101
101
|
| ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2023-05-18 01:28:35 |
|
102
102
|
| gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2023-05-18 01:28:41 |
|
@@ -127,7 +127,7 @@
|
|
127
127
|
| kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2023-05-18 01:35:58 |
|
128
128
|
| lcic | [低代码互动课堂](https://cloud.tencent.com/document/product/1639) | 2023-05-22 01:40:34 |
|
129
129
|
| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2023-05-23 01:28:34 |
|
130
|
-
| live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2023-05-
|
130
|
+
| live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2023-05-31 01:32:32 |
|
131
131
|
| lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
|
132
132
|
| lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
|
133
133
|
| mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2023-05-29 01:31:45 |
|
@@ -146,21 +146,21 @@
|
|
146
146
|
| nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2023-05-19 01:49:42 |
|
147
147
|
| npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
|
148
148
|
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2023-05-29 01:34:54 |
|
149
|
-
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2023-
|
149
|
+
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2023-06-01 09:54:24 |
|
150
150
|
| omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2023-05-18 01:43:39 |
|
151
|
-
| organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2023-
|
151
|
+
| organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2023-06-01 09:54:49 |
|
152
152
|
| partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2023-05-29 01:35:52 |
|
153
153
|
| pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2023-05-18 01:44:14 |
|
154
154
|
| postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2023-05-23 01:34:25 |
|
155
155
|
| privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2023-05-18 01:45:21 |
|
156
156
|
| pts | [云压测](https://cloud.tencent.com/document/product/1484) | 2023-05-26 01:47:14 |
|
157
157
|
| rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2023-05-18 01:45:58 |
|
158
|
-
| redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2023-05-
|
158
|
+
| redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2023-05-31 01:37:55 |
|
159
159
|
| region | [地域管理系统](https://cloud.tencent.com/document/product/1596) | 2023-05-18 01:46:44 |
|
160
160
|
| rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2023-05-18 01:46:50 |
|
161
161
|
| rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 |
|
162
162
|
| rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2023-05-18 01:46:54 |
|
163
|
-
| scf | [云函数](https://cloud.tencent.com/document/product/583) | 2023-05-
|
163
|
+
| scf | [云函数](https://cloud.tencent.com/document/product/583) | 2023-05-31 01:38:53 |
|
164
164
|
| ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2023-05-18 01:47:40 |
|
165
165
|
| smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2023-05-18 01:47:52 |
|
166
166
|
| smop | [腾讯安心用户运营平台](https://cloud.tencent.com/document/product/1310) | 2023-05-18 01:47:59 |
|
@@ -188,7 +188,7 @@
|
|
188
188
|
| tcex | [腾讯云释义](https://cloud.tencent.com/document/product/1266) | 2022-07-21 06:17:29 |
|
189
189
|
| tci | [腾讯智学课堂分析](https://cloud.tencent.com/document/product) | 2020-08-24 08:06:03 |
|
190
190
|
| tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2023-05-18 01:51:20 |
|
191
|
-
| tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2023-05-
|
191
|
+
| tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2023-05-31 01:41:56 |
|
192
192
|
| tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2023-05-30 01:34:13 |
|
193
193
|
| tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2023-05-18 01:54:30 |
|
194
194
|
| tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2023-05-18 01:54:42 |
|
@@ -196,7 +196,7 @@
|
|
196
196
|
| tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2023-05-18 01:55:50 |
|
197
197
|
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2023-05-22 02:01:01 |
|
198
198
|
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2023-05-29 01:44:07 |
|
199
|
-
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2023-05-
|
199
|
+
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2023-05-31 01:45:41 |
|
200
200
|
| tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
|
201
201
|
| tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2023-05-18 01:58:19 |
|
202
202
|
| ticm | [智能鉴黄](https://cloud.tencent.com/document/product/864) | 2021-01-07 08:08:15 |
|
@@ -211,9 +211,9 @@
|
|
211
211
|
| tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2023-05-18 02:01:10 |
|
212
212
|
| tourism | [文旅客情平台](https://cloud.tencent.com/document/product/1684) | 2023-05-18 02:01:16 |
|
213
213
|
| trdp | [流量风险决策平台](https://cloud.tencent.com/document/product/1604) | 2023-05-18 02:01:19 |
|
214
|
-
| trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2023-
|
215
|
-
| trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2023-05-
|
216
|
-
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2023-05-
|
214
|
+
| trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2023-06-01 09:59:32 |
|
215
|
+
| trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2023-05-31 01:48:08 |
|
216
|
+
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2023-05-31 01:48:18 |
|
217
217
|
| tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2023-05-18 02:02:09 |
|
218
218
|
| tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2023-05-22 02:10:28 |
|
219
219
|
| tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2023-05-18 02:04:00 |
|
@@ -221,12 +221,12 @@
|
|
221
221
|
| ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2023-05-18 02:04:06 |
|
222
222
|
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2023-05-18 02:04:19 |
|
223
223
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2023-05-18 02:04:23 |
|
224
|
-
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2023-05-
|
225
|
-
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2023-
|
224
|
+
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2023-05-31 01:49:59 |
|
225
|
+
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2023-06-01 10:01:44 |
|
226
226
|
| vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2023-05-19 02:51:58 |
|
227
|
-
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2023-
|
227
|
+
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2023-06-01 10:02:45 |
|
228
228
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2023-05-18 02:08:17 |
|
229
|
-
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2023-05-
|
229
|
+
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2023-05-31 01:52:47 |
|
230
230
|
| wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
|
231
231
|
| yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2023-05-25 02:13:42 |
|
232
232
|
| youmall | [](https://cloud.tencent.com/document/product) | 2019-01-11 11:24:15 |
|
@@ -50,7 +50,7 @@ import {
|
|
50
50
|
InvoiceGeneralOCRRequest,
|
51
51
|
Rect,
|
52
52
|
LicensePlateInfo,
|
53
|
-
|
53
|
+
RideHailingTransportLicenseOCRRequest,
|
54
54
|
VatRollItem,
|
55
55
|
TextFormula,
|
56
56
|
HmtResidentPermitOCRResponse,
|
@@ -137,6 +137,7 @@ import {
|
|
137
137
|
TaxiInvoiceOCRRequest,
|
138
138
|
MachinePrintedInvoice,
|
139
139
|
PropOwnerCertOCRRequest,
|
140
|
+
SingleInvoiceInfo,
|
140
141
|
RecognizeContainerOCRRequest,
|
141
142
|
TrainTicket,
|
142
143
|
EduPaperOCRRequest,
|
@@ -160,6 +161,7 @@ import {
|
|
160
161
|
TextVehicleBack,
|
161
162
|
RecognizeIndonesiaIDCardOCRResponse,
|
162
163
|
GeneralEfficientOCRRequest,
|
164
|
+
RecognizePhilippinesUMIDOCRResponse,
|
163
165
|
AdvertiseOCRRequest,
|
164
166
|
RideHailingDriverLicenseOCRResponse,
|
165
167
|
Detail,
|
@@ -269,7 +271,7 @@ import {
|
|
269
271
|
WaybillOCRRequest,
|
270
272
|
VinOCRRequest,
|
271
273
|
VatInvoiceOCRRequest,
|
272
|
-
|
274
|
+
RecognizePhilippinesUMIDOCRRequest,
|
273
275
|
MLIDCardOCRResponse,
|
274
276
|
RecognizePhilippinesTinIDOCRRequest,
|
275
277
|
RecognizeTableOCRRequest,
|
@@ -657,13 +659,13 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
657
659
|
}
|
658
660
|
|
659
661
|
/**
|
660
|
-
*
|
662
|
+
* 菲律宾UMID识别
|
661
663
|
*/
|
662
|
-
async
|
663
|
-
req:
|
664
|
-
cb?: (error: string, rep:
|
665
|
-
): Promise<
|
666
|
-
return this.request("
|
664
|
+
async RecognizePhilippinesUMIDOCR(
|
665
|
+
req: RecognizePhilippinesUMIDOCRRequest,
|
666
|
+
cb?: (error: string, rep: RecognizePhilippinesUMIDOCRResponse) => void
|
667
|
+
): Promise<RecognizePhilippinesUMIDOCRResponse> {
|
668
|
+
return this.request("RecognizePhilippinesUMIDOCR", req, cb)
|
667
669
|
}
|
668
670
|
|
669
671
|
/**
|
@@ -694,6 +696,8 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
694
696
|
/**
|
695
697
|
* 本接口支持泰国身份证识别,识别字段包括泰文姓名、英文姓名、地址、出生日期、身份证号码、首次领用日期、签发日期等字段。
|
696
698
|
本接口暂未完全对外开放,如需咨询,请[联系商务](https://cloud.tencent.com/about/connect)
|
699
|
+
|
700
|
+
默认接口请求频率限制:10次/秒
|
697
701
|
*/
|
698
702
|
async RecognizeThaiIDCardOCR(
|
699
703
|
req: RecognizeThaiIDCardOCRRequest,
|
@@ -796,6 +800,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
796
800
|
return this.request("RecognizeOnlineTaxiItineraryOCR", req, cb)
|
797
801
|
}
|
798
802
|
|
803
|
+
/**
|
804
|
+
* 本接口支持图片内车辆识别代号(VIN)的检测和识别。
|
805
|
+
*/
|
806
|
+
async VinOCR(
|
807
|
+
req: VinOCRRequest,
|
808
|
+
cb?: (error: string, rep: VinOCRResponse) => void
|
809
|
+
): Promise<VinOCRResponse> {
|
810
|
+
return this.request("VinOCR", req, cb)
|
811
|
+
}
|
812
|
+
|
799
813
|
/**
|
800
814
|
* 本接口支持中国香港身份证人像面中关键字段的识别,包括中文姓名、英文姓名、姓名电码、出生日期、性别、证件符号、首次签发日期、最近领用日期、身份证号、是否是永久性居民身份证;具备防伪识别、人像照片裁剪等扩展功能。
|
801
815
|
|
@@ -1283,23 +1283,20 @@ export interface LicensePlateInfo {
|
|
1283
1283
|
}
|
1284
1284
|
|
1285
1285
|
/**
|
1286
|
-
*
|
1286
|
+
* RideHailingTransportLicenseOCR请求参数结构体
|
1287
1287
|
*/
|
1288
|
-
export interface
|
1289
|
-
/**
|
1290
|
-
* 识别出的字段名称
|
1291
|
-
*/
|
1292
|
-
Name: string
|
1293
|
-
|
1288
|
+
export interface RideHailingTransportLicenseOCRRequest {
|
1294
1289
|
/**
|
1295
|
-
|
1296
|
-
|
1297
|
-
|
1290
|
+
* 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
|
1291
|
+
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
1292
|
+
*/
|
1293
|
+
ImageBase64?: string
|
1298
1294
|
|
1299
1295
|
/**
|
1300
|
-
|
1301
|
-
|
1302
|
-
|
1296
|
+
* 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
|
1297
|
+
建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
1298
|
+
*/
|
1299
|
+
ImageUrl?: string
|
1303
1300
|
}
|
1304
1301
|
|
1305
1302
|
/**
|
@@ -4732,6 +4729,26 @@ export interface PropOwnerCertOCRRequest {
|
|
4732
4729
|
ImageUrl?: string
|
4733
4730
|
}
|
4734
4731
|
|
4732
|
+
/**
|
4733
|
+
* 混贴票据中单张发票的内容
|
4734
|
+
*/
|
4735
|
+
export interface SingleInvoiceInfo {
|
4736
|
+
/**
|
4737
|
+
* 识别出的字段名称
|
4738
|
+
*/
|
4739
|
+
Name: string
|
4740
|
+
|
4741
|
+
/**
|
4742
|
+
* 识别出的字段名称对应的值,也就是字段name对应的字符串结果。
|
4743
|
+
*/
|
4744
|
+
Value: string
|
4745
|
+
|
4746
|
+
/**
|
4747
|
+
* 字段属于第几行,用于相同字段的排版,如发票明细表格项目,普通字段使用默认值为-1,表示无列排版。
|
4748
|
+
*/
|
4749
|
+
Row: number
|
4750
|
+
}
|
4751
|
+
|
4735
4752
|
/**
|
4736
4753
|
* RecognizeContainerOCR请求参数结构体
|
4737
4754
|
*/
|
@@ -6059,6 +6076,56 @@ export interface GeneralEfficientOCRRequest {
|
|
6059
6076
|
ImageUrl?: string
|
6060
6077
|
}
|
6061
6078
|
|
6079
|
+
/**
|
6080
|
+
* RecognizePhilippinesUMIDOCR返回参数结构体
|
6081
|
+
*/
|
6082
|
+
export interface RecognizePhilippinesUMIDOCRResponse {
|
6083
|
+
/**
|
6084
|
+
* 姓
|
6085
|
+
*/
|
6086
|
+
Surname?: TextDetectionResult
|
6087
|
+
|
6088
|
+
/**
|
6089
|
+
* 中间名
|
6090
|
+
*/
|
6091
|
+
MiddleName?: TextDetectionResult
|
6092
|
+
|
6093
|
+
/**
|
6094
|
+
* 名
|
6095
|
+
*/
|
6096
|
+
GivenName?: TextDetectionResult
|
6097
|
+
|
6098
|
+
/**
|
6099
|
+
* 地址
|
6100
|
+
*/
|
6101
|
+
Address?: TextDetectionResult
|
6102
|
+
|
6103
|
+
/**
|
6104
|
+
* 生日
|
6105
|
+
*/
|
6106
|
+
Birthday?: TextDetectionResult
|
6107
|
+
|
6108
|
+
/**
|
6109
|
+
* crn码
|
6110
|
+
*/
|
6111
|
+
CRN?: TextDetectionResult
|
6112
|
+
|
6113
|
+
/**
|
6114
|
+
* 性别
|
6115
|
+
*/
|
6116
|
+
Sex?: TextDetectionResult
|
6117
|
+
|
6118
|
+
/**
|
6119
|
+
* 人像照片Base64后的结果
|
6120
|
+
*/
|
6121
|
+
HeadPortrait?: TextDetectionResult
|
6122
|
+
|
6123
|
+
/**
|
6124
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6125
|
+
*/
|
6126
|
+
RequestId?: string
|
6127
|
+
}
|
6128
|
+
|
6062
6129
|
/**
|
6063
6130
|
* AdvertiseOCR请求参数结构体
|
6064
6131
|
*/
|
@@ -9902,20 +9969,23 @@ export interface VatInvoiceOCRRequest {
|
|
9902
9969
|
}
|
9903
9970
|
|
9904
9971
|
/**
|
9905
|
-
*
|
9972
|
+
* RecognizePhilippinesUMIDOCR请求参数结构体
|
9906
9973
|
*/
|
9907
|
-
export interface
|
9974
|
+
export interface RecognizePhilippinesUMIDOCRRequest {
|
9908
9975
|
/**
|
9909
|
-
|
9910
|
-
|
9911
|
-
*/
|
9976
|
+
* 图片的 Base64 值。 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
9977
|
+
*/
|
9912
9978
|
ImageBase64?: string
|
9913
9979
|
|
9914
9980
|
/**
|
9915
|
-
|
9916
|
-
|
9917
|
-
*/
|
9981
|
+
* 图片的 Url 地址。 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
9982
|
+
*/
|
9918
9983
|
ImageUrl?: string
|
9984
|
+
|
9985
|
+
/**
|
9986
|
+
* 是否返回人像照片。
|
9987
|
+
*/
|
9988
|
+
ReturnHeadImage?: boolean
|
9919
9989
|
}
|
9920
9990
|
|
9921
9991
|
/**
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
2
|
-
import { RecognizeOnlineTaxiItineraryOCRResponse, BankSlipOCRRequest, BusinessCardOCRResponse, HKIDCardOCRRequest, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, FlightInvoiceOCRRequest, RecognizePhilippinesDrivingLicenseOCRRequest, MLIDPassportOCRRequest, SmartStructuralOCRV2Request, TextDetectResponse, TollInvoiceOCRResponse, VerifyBizLicenseResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, CreateAIFormTaskRequest, VerifyBizLicenseRequest, PermitOCRResponse, InvoiceGeneralOCRRequest, HmtResidentPermitOCRResponse, EnterpriseLicenseOCRResponse, RecognizePhilippinesVoteIDOCRRequest, InstitutionOCRResponse, DriverLicenseOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, SmartStructuralOCRV2Response, EnterpriseLicenseOCRRequest, BankCardOCRRequest, VehicleRegCertOCRRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, RecognizePhilippinesTinIDOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RecognizePhilippinesVoteIDOCRResponse, GeneralAccurateOCRResponse, HmtResidentPermitOCRRequest, QrcodeOCRRequest, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeThaiIDCardOCRResponse, RecognizeMedicalInvoiceOCRResponse, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VatInvoiceVerifyNewRequest, VehicleLicenseOCRResponse, RecognizePhilippinesSssIDOCRRequest, IDCardOCRResponse, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, TollInvoiceOCRRequest, LicensePlateOCRResponse, HKIDCardOCRResponse, OrgCodeCertOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, VatInvoiceVerifyNewResponse, RecognizePhilippinesSssIDOCRResponse, TaxiInvoiceOCRRequest, PropOwnerCertOCRRequest, RecognizeContainerOCRRequest, EduPaperOCRRequest, VatRollInvoiceOCRResponse, VatInvoiceVerifyRequest, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, TableOCRRequest, ImageEnhancementResponse, PassportOCRResponse, VerifyBasicBizLicenseResponse, TextDetectRequest, RecognizeTravelCardOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest, RecognizeIndonesiaIDCardOCRResponse, GeneralEfficientOCRRequest, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, EnglishOCRRequest, VatInvoiceVerifyResponse, SmartStructuralOCRResponse, RecognizeIndonesiaIDCardOCRRequest, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, FlightInvoiceOCRResponse, InstitutionOCRRequest, RideHailingDriverLicenseOCRRequest, QueryBarCodeResponse, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, FinanBillSliceOCRRequest, MLIDPassportOCRResponse, VatRollInvoiceOCRRequest, VerifyEnterpriseFourFactorsRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, RecognizeHealthCodeOCRRequest, BankSlipOCRResponse, VinOCRResponse, GetTaskStateResponse, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, QueryBarCodeRequest, CreateAIFormTaskResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, ShipInvoiceOCRResponse, RecognizeGeneralInvoiceResponse, GetTaskStateRequest, RecognizeMedicalInvoiceOCRRequest, InsuranceBillOCRResponse, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, BusInvoiceOCRResponse, MainlandPermitOCRResponse, MLIDCardOCRRequest, EnglishOCRResponse, BusInvoiceOCRRequest, QuotaInvoiceOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, InsuranceBillOCRRequest, ImageEnhancementRequest, GeneralHandwritingOCRResponse, TableOCRResponse, AdvertiseOCRResponse, VehicleLicenseOCRRequest, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, WaybillOCRRequest, VinOCRRequest, VatInvoiceOCRRequest,
|
2
|
+
import { RecognizeOnlineTaxiItineraryOCRResponse, BankSlipOCRRequest, BusinessCardOCRResponse, HKIDCardOCRRequest, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, FlightInvoiceOCRRequest, RecognizePhilippinesDrivingLicenseOCRRequest, MLIDPassportOCRRequest, SmartStructuralOCRV2Request, TextDetectResponse, TollInvoiceOCRResponse, VerifyBizLicenseResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, CreateAIFormTaskRequest, VerifyBizLicenseRequest, PermitOCRResponse, InvoiceGeneralOCRRequest, RideHailingTransportLicenseOCRRequest, HmtResidentPermitOCRResponse, EnterpriseLicenseOCRResponse, RecognizePhilippinesVoteIDOCRRequest, InstitutionOCRResponse, DriverLicenseOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, SmartStructuralOCRV2Response, EnterpriseLicenseOCRRequest, BankCardOCRRequest, VehicleRegCertOCRRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, RecognizePhilippinesTinIDOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RecognizePhilippinesVoteIDOCRResponse, GeneralAccurateOCRResponse, HmtResidentPermitOCRRequest, QrcodeOCRRequest, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeThaiIDCardOCRResponse, RecognizeMedicalInvoiceOCRResponse, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VatInvoiceVerifyNewRequest, VehicleLicenseOCRResponse, RecognizePhilippinesSssIDOCRRequest, IDCardOCRResponse, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, TollInvoiceOCRRequest, LicensePlateOCRResponse, HKIDCardOCRResponse, OrgCodeCertOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, VatInvoiceVerifyNewResponse, RecognizePhilippinesSssIDOCRResponse, TaxiInvoiceOCRRequest, PropOwnerCertOCRRequest, RecognizeContainerOCRRequest, EduPaperOCRRequest, VatRollInvoiceOCRResponse, VatInvoiceVerifyRequest, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, TableOCRRequest, ImageEnhancementResponse, PassportOCRResponse, VerifyBasicBizLicenseResponse, TextDetectRequest, RecognizeTravelCardOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest, RecognizeIndonesiaIDCardOCRResponse, GeneralEfficientOCRRequest, RecognizePhilippinesUMIDOCRResponse, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, EnglishOCRRequest, VatInvoiceVerifyResponse, SmartStructuralOCRResponse, RecognizeIndonesiaIDCardOCRRequest, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, FlightInvoiceOCRResponse, InstitutionOCRRequest, RideHailingDriverLicenseOCRRequest, QueryBarCodeResponse, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, FinanBillSliceOCRRequest, MLIDPassportOCRResponse, VatRollInvoiceOCRRequest, VerifyEnterpriseFourFactorsRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, RecognizeHealthCodeOCRRequest, BankSlipOCRResponse, VinOCRResponse, GetTaskStateResponse, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, QueryBarCodeRequest, CreateAIFormTaskResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, ShipInvoiceOCRResponse, RecognizeGeneralInvoiceResponse, GetTaskStateRequest, RecognizeMedicalInvoiceOCRRequest, InsuranceBillOCRResponse, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, BusInvoiceOCRResponse, MainlandPermitOCRResponse, MLIDCardOCRRequest, EnglishOCRResponse, BusInvoiceOCRRequest, QuotaInvoiceOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, InsuranceBillOCRRequest, ImageEnhancementRequest, GeneralHandwritingOCRResponse, TableOCRResponse, AdvertiseOCRResponse, VehicleLicenseOCRRequest, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, WaybillOCRRequest, VinOCRRequest, VatInvoiceOCRRequest, RecognizePhilippinesUMIDOCRRequest, MLIDCardOCRResponse, RecognizePhilippinesTinIDOCRRequest, RecognizeTableOCRRequest, EstateCertOCRRequest, VerifyBasicBizLicenseRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, QuotaInvoiceOCRRequest, BankCardOCRResponse, BusinessCardOCRRequest, RecognizePhilippinesDrivingLicenseOCRResponse, FinanBillOCRRequest, VerifyEnterpriseFourFactorsResponse, GeneralFastOCRResponse } from "./ocr_models";
|
3
3
|
/**
|
4
4
|
* ocr client
|
5
5
|
* @class
|
@@ -240,9 +240,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
240
240
|
*/
|
241
241
|
QuotaInvoiceOCR(req: QuotaInvoiceOCRRequest, cb?: (error: string, rep: QuotaInvoiceOCRResponse) => void): Promise<QuotaInvoiceOCRResponse>;
|
242
242
|
/**
|
243
|
-
*
|
243
|
+
* 菲律宾UMID识别
|
244
244
|
*/
|
245
|
-
|
245
|
+
RecognizePhilippinesUMIDOCR(req: RecognizePhilippinesUMIDOCRRequest, cb?: (error: string, rep: RecognizePhilippinesUMIDOCRResponse) => void): Promise<RecognizePhilippinesUMIDOCRResponse>;
|
246
246
|
/**
|
247
247
|
* 本接口支持图片中整体文字的检测和识别,返回文字框位置与文字内容。相比通用印刷体识别接口,识别速度更快。
|
248
248
|
|
@@ -259,6 +259,8 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
259
259
|
/**
|
260
260
|
* 本接口支持泰国身份证识别,识别字段包括泰文姓名、英文姓名、地址、出生日期、身份证号码、首次领用日期、签发日期等字段。
|
261
261
|
本接口暂未完全对外开放,如需咨询,请[联系商务](https://cloud.tencent.com/about/connect)
|
262
|
+
|
263
|
+
默认接口请求频率限制:10次/秒
|
262
264
|
*/
|
263
265
|
RecognizeThaiIDCardOCR(req: RecognizeThaiIDCardOCRRequest, cb?: (error: string, rep: RecognizeThaiIDCardOCRResponse) => void): Promise<RecognizeThaiIDCardOCRResponse>;
|
264
266
|
/**
|
@@ -307,6 +309,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
307
309
|
默认接口请求频率限制:20次/秒。
|
308
310
|
*/
|
309
311
|
RecognizeOnlineTaxiItineraryOCR(req: RecognizeOnlineTaxiItineraryOCRRequest, cb?: (error: string, rep: RecognizeOnlineTaxiItineraryOCRResponse) => void): Promise<RecognizeOnlineTaxiItineraryOCRResponse>;
|
312
|
+
/**
|
313
|
+
* 本接口支持图片内车辆识别代号(VIN)的检测和识别。
|
314
|
+
*/
|
315
|
+
VinOCR(req: VinOCRRequest, cb?: (error: string, rep: VinOCRResponse) => void): Promise<VinOCRResponse>;
|
310
316
|
/**
|
311
317
|
* 本接口支持中国香港身份证人像面中关键字段的识别,包括中文姓名、英文姓名、姓名电码、出生日期、性别、证件符号、首次签发日期、最近领用日期、身份证号、是否是永久性居民身份证;具备防伪识别、人像照片裁剪等扩展功能。
|
312
318
|
|
@@ -303,10 +303,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
303
303
|
return this.request("QuotaInvoiceOCR", req, cb);
|
304
304
|
}
|
305
305
|
/**
|
306
|
-
*
|
306
|
+
* 菲律宾UMID识别
|
307
307
|
*/
|
308
|
-
async
|
309
|
-
return this.request("
|
308
|
+
async RecognizePhilippinesUMIDOCR(req, cb) {
|
309
|
+
return this.request("RecognizePhilippinesUMIDOCR", req, cb);
|
310
310
|
}
|
311
311
|
/**
|
312
312
|
* 本接口支持图片中整体文字的检测和识别,返回文字框位置与文字内容。相比通用印刷体识别接口,识别速度更快。
|
@@ -328,6 +328,8 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
328
328
|
/**
|
329
329
|
* 本接口支持泰国身份证识别,识别字段包括泰文姓名、英文姓名、地址、出生日期、身份证号码、首次领用日期、签发日期等字段。
|
330
330
|
本接口暂未完全对外开放,如需咨询,请[联系商务](https://cloud.tencent.com/about/connect)
|
331
|
+
|
332
|
+
默认接口请求频率限制:10次/秒
|
331
333
|
*/
|
332
334
|
async RecognizeThaiIDCardOCR(req, cb) {
|
333
335
|
return this.request("RecognizeThaiIDCardOCR", req, cb);
|
@@ -394,6 +396,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
394
396
|
async RecognizeOnlineTaxiItineraryOCR(req, cb) {
|
395
397
|
return this.request("RecognizeOnlineTaxiItineraryOCR", req, cb);
|
396
398
|
}
|
399
|
+
/**
|
400
|
+
* 本接口支持图片内车辆识别代号(VIN)的检测和识别。
|
401
|
+
*/
|
402
|
+
async VinOCR(req, cb) {
|
403
|
+
return this.request("VinOCR", req, cb);
|
404
|
+
}
|
397
405
|
/**
|
398
406
|
* 本接口支持中国香港身份证人像面中关键字段的识别,包括中文姓名、英文姓名、姓名电码、出生日期、性别、证件符号、首次签发日期、最近领用日期、身份证号、是否是永久性居民身份证;具备防伪识别、人像照片裁剪等扩展功能。
|
399
407
|
|
@@ -1071,21 +1071,19 @@ export interface LicensePlateInfo {
|
|
1071
1071
|
Color: string;
|
1072
1072
|
}
|
1073
1073
|
/**
|
1074
|
-
*
|
1074
|
+
* RideHailingTransportLicenseOCR请求参数结构体
|
1075
1075
|
*/
|
1076
|
-
export interface
|
1077
|
-
/**
|
1078
|
-
* 识别出的字段名称
|
1079
|
-
*/
|
1080
|
-
Name: string;
|
1076
|
+
export interface RideHailingTransportLicenseOCRRequest {
|
1081
1077
|
/**
|
1082
|
-
|
1083
|
-
|
1084
|
-
|
1078
|
+
* 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
|
1079
|
+
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
1080
|
+
*/
|
1081
|
+
ImageBase64?: string;
|
1085
1082
|
/**
|
1086
|
-
|
1087
|
-
|
1088
|
-
|
1083
|
+
* 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
|
1084
|
+
建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
1085
|
+
*/
|
1086
|
+
ImageUrl?: string;
|
1089
1087
|
}
|
1090
1088
|
/**
|
1091
1089
|
* 增值税普通发票(卷票)条目
|
@@ -3973,6 +3971,23 @@ export interface PropOwnerCertOCRRequest {
|
|
3973
3971
|
*/
|
3974
3972
|
ImageUrl?: string;
|
3975
3973
|
}
|
3974
|
+
/**
|
3975
|
+
* 混贴票据中单张发票的内容
|
3976
|
+
*/
|
3977
|
+
export interface SingleInvoiceInfo {
|
3978
|
+
/**
|
3979
|
+
* 识别出的字段名称
|
3980
|
+
*/
|
3981
|
+
Name: string;
|
3982
|
+
/**
|
3983
|
+
* 识别出的字段名称对应的值,也就是字段name对应的字符串结果。
|
3984
|
+
*/
|
3985
|
+
Value: string;
|
3986
|
+
/**
|
3987
|
+
* 字段属于第几行,用于相同字段的排版,如发票明细表格项目,普通字段使用默认值为-1,表示无列排版。
|
3988
|
+
*/
|
3989
|
+
Row: number;
|
3990
|
+
}
|
3976
3991
|
/**
|
3977
3992
|
* RecognizeContainerOCR请求参数结构体
|
3978
3993
|
*/
|
@@ -5082,6 +5097,47 @@ export interface GeneralEfficientOCRRequest {
|
|
5082
5097
|
*/
|
5083
5098
|
ImageUrl?: string;
|
5084
5099
|
}
|
5100
|
+
/**
|
5101
|
+
* RecognizePhilippinesUMIDOCR返回参数结构体
|
5102
|
+
*/
|
5103
|
+
export interface RecognizePhilippinesUMIDOCRResponse {
|
5104
|
+
/**
|
5105
|
+
* 姓
|
5106
|
+
*/
|
5107
|
+
Surname?: TextDetectionResult;
|
5108
|
+
/**
|
5109
|
+
* 中间名
|
5110
|
+
*/
|
5111
|
+
MiddleName?: TextDetectionResult;
|
5112
|
+
/**
|
5113
|
+
* 名
|
5114
|
+
*/
|
5115
|
+
GivenName?: TextDetectionResult;
|
5116
|
+
/**
|
5117
|
+
* 地址
|
5118
|
+
*/
|
5119
|
+
Address?: TextDetectionResult;
|
5120
|
+
/**
|
5121
|
+
* 生日
|
5122
|
+
*/
|
5123
|
+
Birthday?: TextDetectionResult;
|
5124
|
+
/**
|
5125
|
+
* crn码
|
5126
|
+
*/
|
5127
|
+
CRN?: TextDetectionResult;
|
5128
|
+
/**
|
5129
|
+
* 性别
|
5130
|
+
*/
|
5131
|
+
Sex?: TextDetectionResult;
|
5132
|
+
/**
|
5133
|
+
* 人像照片Base64后的结果
|
5134
|
+
*/
|
5135
|
+
HeadPortrait?: TextDetectionResult;
|
5136
|
+
/**
|
5137
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5138
|
+
*/
|
5139
|
+
RequestId?: string;
|
5140
|
+
}
|
5085
5141
|
/**
|
5086
5142
|
* AdvertiseOCR请求参数结构体
|
5087
5143
|
*/
|
@@ -8338,19 +8394,21 @@ export interface VatInvoiceOCRRequest {
|
|
8338
8394
|
PdfPageNumber?: number;
|
8339
8395
|
}
|
8340
8396
|
/**
|
8341
|
-
*
|
8397
|
+
* RecognizePhilippinesUMIDOCR请求参数结构体
|
8342
8398
|
*/
|
8343
|
-
export interface
|
8399
|
+
export interface RecognizePhilippinesUMIDOCRRequest {
|
8344
8400
|
/**
|
8345
|
-
|
8346
|
-
|
8347
|
-
*/
|
8401
|
+
* 图片的 Base64 值。 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
8402
|
+
*/
|
8348
8403
|
ImageBase64?: string;
|
8349
8404
|
/**
|
8350
|
-
|
8351
|
-
|
8352
|
-
*/
|
8405
|
+
* 图片的 Url 地址。 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
8406
|
+
*/
|
8353
8407
|
ImageUrl?: string;
|
8408
|
+
/**
|
8409
|
+
* 是否返回人像照片。
|
8410
|
+
*/
|
8411
|
+
ReturnHeadImage?: boolean;
|
8354
8412
|
}
|
8355
8413
|
/**
|
8356
8414
|
* MLIDCardOCR返回参数结构体
|