tencentcloud-sdk-nodejs-ocr 4.0.583 → 4.0.585
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 +208 -0
- package/SERVICE_CHANGELOG.md +233 -279
- package/package.json +1 -1
- package/products.md +25 -25
- package/src/services/ocr/v20181119/ocr_client.ts +33 -9
- package/src/services/ocr/v20181119/ocr_models.ts +143 -19
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +13 -5
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +17 -5
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +123 -17
package/package.json
CHANGED
package/products.md
CHANGED
@@ -17,9 +17,9 @@
|
|
17
17
|
| apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2023-03-30 01:02:33 |
|
18
18
|
| apm | [应用性能观测](https://cloud.tencent.com/document/product/1463) | 2023-04-07 01:08:00 |
|
19
19
|
| as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2023-03-30 01:03:04 |
|
20
|
-
| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2023-04-
|
20
|
+
| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2023-04-20 01:03:25 |
|
21
21
|
| asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2023-03-30 01:03:34 |
|
22
|
-
| ba | [网站备案](https://cloud.tencent.com/document/product/243) | 2023-
|
22
|
+
| ba | [网站备案](https://cloud.tencent.com/document/product/243) | 2023-04-20 01:03:43 |
|
23
23
|
| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2023-04-12 01:04:10 |
|
24
24
|
| bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2023-03-30 01:03:52 |
|
25
25
|
| bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2023-03-30 01:03:59 |
|
@@ -47,7 +47,7 @@
|
|
47
47
|
| cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2023-03-30 01:08:37 |
|
48
48
|
| cdwch | [云数据仓库 ClickHouse](https://cloud.tencent.com/document/product/1299) | 2023-04-03 01:07:25 |
|
49
49
|
| cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2023-04-19 01:11:52 |
|
50
|
-
| cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2023-04-
|
50
|
+
| cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2023-04-20 01:08:12 |
|
51
51
|
| cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2023-04-05 01:16:43 |
|
52
52
|
| chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2023-03-30 01:09:19 |
|
53
53
|
| ciam | [账号风控平台](https://cloud.tencent.com/document/product/1441) | 2023-03-30 01:09:27 |
|
@@ -76,7 +76,7 @@
|
|
76
76
|
| dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2023-03-30 01:34:45 |
|
77
77
|
| dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2023-04-07 01:43:48 |
|
78
78
|
| dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2023-04-04 01:14:38 |
|
79
|
-
| dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2023-04-
|
79
|
+
| dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2023-04-20 01:15:39 |
|
80
80
|
| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2023-04-14 01:33:12 |
|
81
81
|
| domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2023-04-19 01:27:47 |
|
82
82
|
| drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2023-03-30 01:36:07 |
|
@@ -88,18 +88,18 @@
|
|
88
88
|
| ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2023-03-30 01:36:48 |
|
89
89
|
| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2023-03-30 01:36:56 |
|
90
90
|
| eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2023-03-30 01:37:29 |
|
91
|
-
| eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-04-
|
91
|
+
| eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-04-20 01:20:51 |
|
92
92
|
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2023-04-11 01:19:59 |
|
93
93
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2023-03-31 01:26:31 |
|
94
|
-
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-04-
|
95
|
-
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-04-
|
94
|
+
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-04-20 01:21:25 |
|
95
|
+
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-04-20 01:21:44 |
|
96
96
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2023-03-30 01:38:40 |
|
97
97
|
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2023-04-17 01:20:00 |
|
98
98
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2023-03-30 01:38:53 |
|
99
99
|
| ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2023-03-30 01:38:57 |
|
100
100
|
| gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2023-04-10 01:32:20 |
|
101
|
-
| gme | [游戏多媒体引擎](https://cloud.tencent.com/document/product/607) | 2023-
|
102
|
-
| goosefs | [数据加速器 GooseFS](https://cloud.tencent.com/document/product/1424) | 2023-
|
101
|
+
| gme | [游戏多媒体引擎](https://cloud.tencent.com/document/product/607) | 2023-04-20 01:22:55 |
|
102
|
+
| goosefs | [数据加速器 GooseFS](https://cloud.tencent.com/document/product/1424) | 2023-04-20 01:23:06 |
|
103
103
|
| gpm | [游戏玩家匹配](https://cloud.tencent.com/document/product/1294) | 2022-07-11 06:12:36 |
|
104
104
|
| gs | [云游戏](https://cloud.tencent.com/document/product/1162) | 2023-03-30 01:39:39 |
|
105
105
|
| gse | [游戏服务器伸缩](https://cloud.tencent.com/document/product/1165) | 2022-07-11 06:12:44 |
|
@@ -123,8 +123,8 @@
|
|
123
123
|
| ivld | [媒体智能标签](https://cloud.tencent.com/document/product/1509) | 2023-03-30 01:43:25 |
|
124
124
|
| keewidb | [云数据库 KeeWiDB](https://cloud.tencent.com/document/product/1520) | 2023-03-30 01:43:33 |
|
125
125
|
| kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2023-03-30 01:43:44 |
|
126
|
-
| lcic | [低代码互动课堂](https://cloud.tencent.com/document/product/1639) | 2023-04-
|
127
|
-
| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2023-04-
|
126
|
+
| lcic | [低代码互动课堂](https://cloud.tencent.com/document/product/1639) | 2023-04-20 01:27:26 |
|
127
|
+
| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2023-04-20 01:27:41 |
|
128
128
|
| live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2023-04-19 01:38:43 |
|
129
129
|
| lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
|
130
130
|
| lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
|
@@ -144,7 +144,7 @@
|
|
144
144
|
| nlp | [自然语言处理](https://cloud.tencent.com/document/product/271) | 2023-03-30 01:49:26 |
|
145
145
|
| npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
|
146
146
|
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2023-03-30 01:49:33 |
|
147
|
-
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2023-04-
|
147
|
+
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2023-04-20 01:31:28 |
|
148
148
|
| omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2023-03-31 01:39:55 |
|
149
149
|
| organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2023-03-30 01:50:22 |
|
150
150
|
| partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2023-03-30 01:50:28 |
|
@@ -158,15 +158,15 @@
|
|
158
158
|
| rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2023-03-30 01:51:54 |
|
159
159
|
| rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 |
|
160
160
|
| rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2023-04-18 01:36:49 |
|
161
|
-
| scf | [云函数](https://cloud.tencent.com/document/product/583) | 2023-04-
|
162
|
-
| ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2023-
|
161
|
+
| scf | [云函数](https://cloud.tencent.com/document/product/583) | 2023-04-20 01:34:05 |
|
162
|
+
| ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2023-04-20 01:34:23 |
|
163
163
|
| smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2023-03-30 01:52:35 |
|
164
164
|
| smop | [腾讯安心用户运营平台](https://cloud.tencent.com/document/product/1310) | 2023-04-03 01:30:29 |
|
165
165
|
| smpn | [营销号码安全](https://cloud.tencent.com/document/product/1127) | 2023-03-30 01:52:41 |
|
166
166
|
| sms | [短信](https://cloud.tencent.com/document/product/382) | 2023-03-30 01:52:50 |
|
167
167
|
| soe | [智聆口语评测](https://cloud.tencent.com/document/product/884) | 2023-03-30 01:52:56 |
|
168
168
|
| solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
|
169
|
-
| sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2023-04-
|
169
|
+
| sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2023-04-20 01:35:02 |
|
170
170
|
| ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2023-03-30 01:53:27 |
|
171
171
|
| ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2023-03-30 01:53:35 |
|
172
172
|
| sslpod | [证书监控 SSLPod](https://cloud.tencent.com/document/product/1084) | 2023-03-30 01:53:47 |
|
@@ -192,7 +192,7 @@
|
|
192
192
|
| tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2023-03-30 02:27:07 |
|
193
193
|
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2023-04-05 01:56:03 |
|
194
194
|
| tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2023-03-30 02:27:47 |
|
195
|
-
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2023-
|
195
|
+
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2023-04-20 01:41:18 |
|
196
196
|
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2023-04-18 01:43:02 |
|
197
197
|
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2023-03-30 02:29:55 |
|
198
198
|
| tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
|
@@ -201,9 +201,9 @@
|
|
201
201
|
| tics | [威胁情报云查服务](https://cloud.tencent.com/document/product/1013) | 2023-03-30 02:30:06 |
|
202
202
|
| tiems | [腾讯云 TI 平台 TI-EMS ](https://cloud.tencent.com/document/product/1120) | 2022-07-19 06:19:39 |
|
203
203
|
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2023-03-30 02:30:09 |
|
204
|
-
| tione | [TI-ONE 训练平台](https://cloud.tencent.com/document/product/851) | 2023-04-
|
204
|
+
| tione | [TI-ONE 训练平台](https://cloud.tencent.com/document/product/851) | 2023-04-20 01:43:31 |
|
205
205
|
| tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2023-04-14 01:58:42 |
|
206
|
-
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2023-04-
|
206
|
+
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2023-04-20 01:46:09 |
|
207
207
|
| tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
|
208
208
|
| tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2023-03-30 02:45:27 |
|
209
209
|
| tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2023-03-30 02:45:29 |
|
@@ -211,22 +211,22 @@
|
|
211
211
|
| trdp | [流量风险决策平台](https://cloud.tencent.com/document/product/1604) | 2023-03-30 02:45:33 |
|
212
212
|
| trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2023-04-18 01:48:00 |
|
213
213
|
| trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2023-04-12 02:06:17 |
|
214
|
-
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2023-04-
|
215
|
-
| tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2023-04-
|
214
|
+
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2023-04-20 01:47:50 |
|
215
|
+
| tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2023-04-20 01:48:06 |
|
216
216
|
| tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2023-04-19 01:58:00 |
|
217
217
|
| tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2023-03-30 02:47:12 |
|
218
|
-
| tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2023-
|
218
|
+
| tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2023-04-20 01:49:24 |
|
219
219
|
| ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2023-03-30 02:47:18 |
|
220
220
|
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2023-03-30 02:47:27 |
|
221
221
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2023-03-30 02:47:30 |
|
222
|
-
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2023-04-
|
223
|
-
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2023-04-
|
222
|
+
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2023-04-20 01:49:46 |
|
223
|
+
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2023-04-20 01:58:11 |
|
224
224
|
| vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2023-04-14 02:04:14 |
|
225
|
-
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2023-04-
|
225
|
+
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2023-04-20 01:59:38 |
|
226
226
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2023-03-30 02:49:55 |
|
227
227
|
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2023-04-13 01:50:59 |
|
228
228
|
| wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
|
229
|
-
| yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2023-
|
229
|
+
| yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2023-04-19 16:26:04 |
|
230
230
|
| youmall | [](https://cloud.tencent.com/document/product) | 2019-01-11 11:24:15 |
|
231
231
|
| yunjing | [主机安全](https://cloud.tencent.com/document/product) | 2020-09-15 08:08:47 |
|
232
232
|
| yunsou | [腾讯云搜TCS](https://cloud.tencent.com/document/product/270) | 2023-03-30 02:59:18 |
|
@@ -79,6 +79,7 @@ import {
|
|
79
79
|
PropOwnerCertOCRResponse,
|
80
80
|
FinanBillInfo,
|
81
81
|
TrainTicketOCRResponse,
|
82
|
+
RecognizePhilippinesTinIDOCRResponse,
|
82
83
|
TollInvoiceInfo,
|
83
84
|
BankSlipInfo,
|
84
85
|
ArithmeticOCRResponse,
|
@@ -104,7 +105,7 @@ import {
|
|
104
105
|
ClassifyDetectOCRResponse,
|
105
106
|
VatInvoiceVerifyNewRequest,
|
106
107
|
VehicleLicenseOCRResponse,
|
107
|
-
|
108
|
+
RecognizePhilippinesSssIDOCRRequest,
|
108
109
|
Key,
|
109
110
|
IDCardOCRResponse,
|
110
111
|
ClassifyDetectOCRRequest,
|
@@ -120,6 +121,7 @@ import {
|
|
120
121
|
InvoiceGeneralOCRResponse,
|
121
122
|
SmartFormFileUrl,
|
122
123
|
VatInvoiceVerifyNewResponse,
|
124
|
+
RecognizePhilippinesSssIDOCRResponse,
|
123
125
|
TaxiInvoiceOCRRequest,
|
124
126
|
PropOwnerCertOCRRequest,
|
125
127
|
RecognizeContainerOCRRequest,
|
@@ -239,8 +241,10 @@ import {
|
|
239
241
|
MixedInvoiceDetectRequest,
|
240
242
|
WaybillOCRRequest,
|
241
243
|
VinOCRRequest,
|
244
|
+
VatInvoiceOCRRequest,
|
242
245
|
RideHailingTransportLicenseOCRRequest,
|
243
246
|
MLIDCardOCRResponse,
|
247
|
+
RecognizePhilippinesTinIDOCRRequest,
|
244
248
|
RecognizeTableOCRRequest,
|
245
249
|
EstateCertOCRRequest,
|
246
250
|
VerifyBasicBizLicenseRequest,
|
@@ -657,6 +661,17 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
657
661
|
return this.request("PropOwnerCertOCR", req, cb)
|
658
662
|
}
|
659
663
|
|
664
|
+
/**
|
665
|
+
* 本接口支持泰国身份证识别,识别字段包括泰文姓名、英文姓名、地址、出生日期、身份证号码、首次领用日期、签发日期等字段。
|
666
|
+
本接口暂未完全对外开放,如需咨询,请[联系商务](https://cloud.tencent.com/about/connect)
|
667
|
+
*/
|
668
|
+
async RecognizeThaiIDCardOCR(
|
669
|
+
req: RecognizeThaiIDCardOCRRequest,
|
670
|
+
cb?: (error: string, rep: RecognizeThaiIDCardOCRResponse) => void
|
671
|
+
): Promise<RecognizeThaiIDCardOCRResponse> {
|
672
|
+
return this.request("RecognizeThaiIDCardOCR", req, cb)
|
673
|
+
}
|
674
|
+
|
660
675
|
/**
|
661
676
|
* 本接口支持快速精准识别营业执照上的字段,包括统一社会信用代码、公司名称、主体类型、法定代表人、注册资本、组成形式、成立日期、营业期限和经营范围等字段。
|
662
677
|
|
@@ -1311,6 +1326,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
1311
1326
|
return this.request("MainlandPermitOCR", req, cb)
|
1312
1327
|
}
|
1313
1328
|
|
1329
|
+
/**
|
1330
|
+
* 菲律宾SSSID识别
|
1331
|
+
*/
|
1332
|
+
async RecognizePhilippinesSssIDOCR(
|
1333
|
+
req: RecognizePhilippinesSssIDOCRRequest,
|
1334
|
+
cb?: (error: string, rep: RecognizePhilippinesSssIDOCRResponse) => void
|
1335
|
+
): Promise<RecognizePhilippinesSssIDOCRResponse> {
|
1336
|
+
return this.request("RecognizePhilippinesSssIDOCR", req, cb)
|
1337
|
+
}
|
1338
|
+
|
1314
1339
|
/**
|
1315
1340
|
* 本接口支持识别主流初高中数学符号和公式,返回公式的 Latex 格式文本。
|
1316
1341
|
|
@@ -1444,14 +1469,13 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
1444
1469
|
}
|
1445
1470
|
|
1446
1471
|
/**
|
1447
|
-
|
1448
|
-
|
1449
|
-
|
1450
|
-
|
1451
|
-
|
1452
|
-
|
1453
|
-
|
1454
|
-
return this.request("RecognizeThaiIDCardOCR", req, cb)
|
1472
|
+
* 菲律宾TinID识别
|
1473
|
+
*/
|
1474
|
+
async RecognizePhilippinesTinIDOCR(
|
1475
|
+
req: RecognizePhilippinesTinIDOCRRequest,
|
1476
|
+
cb?: (error: string, rep: RecognizePhilippinesTinIDOCRResponse) => void
|
1477
|
+
): Promise<RecognizePhilippinesTinIDOCRResponse> {
|
1478
|
+
return this.request("RecognizePhilippinesTinIDOCR", req, cb)
|
1455
1479
|
}
|
1456
1480
|
|
1457
1481
|
/**
|
@@ -2179,6 +2179,46 @@ export interface TrainTicketOCRResponse {
|
|
2179
2179
|
RequestId?: string
|
2180
2180
|
}
|
2181
2181
|
|
2182
|
+
/**
|
2183
|
+
* RecognizePhilippinesTinIDOCR返回参数结构体
|
2184
|
+
*/
|
2185
|
+
export interface RecognizePhilippinesTinIDOCRResponse {
|
2186
|
+
/**
|
2187
|
+
* 人像照片Base64后的结果
|
2188
|
+
*/
|
2189
|
+
HeadPortrait: TextDetectionResult
|
2190
|
+
|
2191
|
+
/**
|
2192
|
+
* 编码
|
2193
|
+
*/
|
2194
|
+
LicenseNumber: TextDetectionResult
|
2195
|
+
|
2196
|
+
/**
|
2197
|
+
* 姓名
|
2198
|
+
*/
|
2199
|
+
FullName: TextDetectionResult
|
2200
|
+
|
2201
|
+
/**
|
2202
|
+
* 地址
|
2203
|
+
*/
|
2204
|
+
Address: TextDetectionResult
|
2205
|
+
|
2206
|
+
/**
|
2207
|
+
* 生日
|
2208
|
+
*/
|
2209
|
+
Birthday: TextDetectionResult
|
2210
|
+
|
2211
|
+
/**
|
2212
|
+
* 发证日期
|
2213
|
+
*/
|
2214
|
+
IssueDate: TextDetectionResult
|
2215
|
+
|
2216
|
+
/**
|
2217
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2218
|
+
*/
|
2219
|
+
RequestId?: string
|
2220
|
+
}
|
2221
|
+
|
2182
2222
|
/**
|
2183
2223
|
* 过路过桥费字段信息
|
2184
2224
|
*/
|
@@ -2925,35 +2965,30 @@ WARN_DRIVER_LICENSE_PS_CARD ps告警
|
|
2925
2965
|
}
|
2926
2966
|
|
2927
2967
|
/**
|
2928
|
-
*
|
2968
|
+
* RecognizePhilippinesSssIDOCR请求参数结构体
|
2929
2969
|
*/
|
2930
|
-
export interface
|
2970
|
+
export interface RecognizePhilippinesSssIDOCRRequest {
|
2931
2971
|
/**
|
2932
|
-
|
2933
|
-
|
2934
|
-
|
2935
|
-
|
2972
|
+
* 是否返回人像照片。
|
2973
|
+
*/
|
2974
|
+
ReturnHeadImage: boolean
|
2975
|
+
|
2976
|
+
/**
|
2977
|
+
* 图片的 Base64 值。
|
2978
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
2979
|
+
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
2980
|
+
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
2936
2981
|
*/
|
2937
2982
|
ImageBase64?: string
|
2938
2983
|
|
2939
2984
|
/**
|
2940
|
-
*
|
2941
|
-
|
2942
|
-
|
2985
|
+
* 图片的 Url 地址。
|
2986
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
2987
|
+
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
2943
2988
|
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
2944
2989
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
2945
2990
|
*/
|
2946
2991
|
ImageUrl?: string
|
2947
|
-
|
2948
|
-
/**
|
2949
|
-
* 是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
|
2950
|
-
*/
|
2951
|
-
IsPdf?: boolean
|
2952
|
-
|
2953
|
-
/**
|
2954
|
-
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
2955
|
-
*/
|
2956
|
-
PdfPageNumber?: number
|
2957
2992
|
}
|
2958
2993
|
|
2959
2994
|
/**
|
@@ -3436,6 +3471,36 @@ export interface VatInvoiceVerifyNewResponse {
|
|
3436
3471
|
RequestId?: string
|
3437
3472
|
}
|
3438
3473
|
|
3474
|
+
/**
|
3475
|
+
* RecognizePhilippinesSssIDOCR返回参数结构体
|
3476
|
+
*/
|
3477
|
+
export interface RecognizePhilippinesSssIDOCRResponse {
|
3478
|
+
/**
|
3479
|
+
* 人像照片Base64后的结果
|
3480
|
+
*/
|
3481
|
+
HeadPortrait: TextDetectionResult
|
3482
|
+
|
3483
|
+
/**
|
3484
|
+
* 编号
|
3485
|
+
*/
|
3486
|
+
LicenseNumber: TextDetectionResult
|
3487
|
+
|
3488
|
+
/**
|
3489
|
+
* 姓名
|
3490
|
+
*/
|
3491
|
+
FullName: TextDetectionResult
|
3492
|
+
|
3493
|
+
/**
|
3494
|
+
* 生日
|
3495
|
+
*/
|
3496
|
+
Birthday: TextDetectionResult
|
3497
|
+
|
3498
|
+
/**
|
3499
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3500
|
+
*/
|
3501
|
+
RequestId?: string
|
3502
|
+
}
|
3503
|
+
|
3439
3504
|
/**
|
3440
3505
|
* TaxiInvoiceOCR请求参数结构体
|
3441
3506
|
*/
|
@@ -7475,6 +7540,38 @@ export interface VinOCRRequest {
|
|
7475
7540
|
ImageUrl?: string
|
7476
7541
|
}
|
7477
7542
|
|
7543
|
+
/**
|
7544
|
+
* VatInvoiceOCR请求参数结构体
|
7545
|
+
*/
|
7546
|
+
export interface VatInvoiceOCRRequest {
|
7547
|
+
/**
|
7548
|
+
* 图片/PDF的 Base64 值。
|
7549
|
+
支持的文件格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
|
7550
|
+
支持的图片/PDF大小:所下载文件经Base64编码后不超过 7M。文件下载时间不超过 3 秒。
|
7551
|
+
输入参数 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
7552
|
+
*/
|
7553
|
+
ImageBase64?: string
|
7554
|
+
|
7555
|
+
/**
|
7556
|
+
* 图片/PDF的 Url 地址。
|
7557
|
+
支持的文件格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
|
7558
|
+
支持的图片/PDF大小:所下载文件经 Base64 编码后不超过 7M。文件下载时间不超过 3 秒。
|
7559
|
+
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
7560
|
+
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
7561
|
+
*/
|
7562
|
+
ImageUrl?: string
|
7563
|
+
|
7564
|
+
/**
|
7565
|
+
* 是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
|
7566
|
+
*/
|
7567
|
+
IsPdf?: boolean
|
7568
|
+
|
7569
|
+
/**
|
7570
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
7571
|
+
*/
|
7572
|
+
PdfPageNumber?: number
|
7573
|
+
}
|
7574
|
+
|
7478
7575
|
/**
|
7479
7576
|
* RideHailingTransportLicenseOCR请求参数结构体
|
7480
7577
|
*/
|
@@ -7564,6 +7661,33 @@ MyKid 儿童卡
|
|
7564
7661
|
RequestId?: string
|
7565
7662
|
}
|
7566
7663
|
|
7664
|
+
/**
|
7665
|
+
* RecognizePhilippinesTinIDOCR请求参数结构体
|
7666
|
+
*/
|
7667
|
+
export interface RecognizePhilippinesTinIDOCRRequest {
|
7668
|
+
/**
|
7669
|
+
* 是否返回人像照片。
|
7670
|
+
*/
|
7671
|
+
ReturnHeadImage: boolean
|
7672
|
+
|
7673
|
+
/**
|
7674
|
+
* 图片的 Base64 值。
|
7675
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
7676
|
+
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
7677
|
+
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
7678
|
+
*/
|
7679
|
+
ImageBase64?: string
|
7680
|
+
|
7681
|
+
/**
|
7682
|
+
* 图片的 Url 地址。
|
7683
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
7684
|
+
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
7685
|
+
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
7686
|
+
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
7687
|
+
*/
|
7688
|
+
ImageUrl?: string
|
7689
|
+
}
|
7690
|
+
|
7567
7691
|
/**
|
7568
7692
|
* RecognizeTableOCR请求参数结构体
|
7569
7693
|
*/
|
@@ -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, ArithmeticOCRResponse, FormulaOCRResponse, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RecognizePhilippinesVoteIDOCRResponse, InsuranceBillOCRResponse, GeneralAccurateOCRResponse, HmtResidentPermitOCRRequest, QrcodeOCRRequest, TaxiInvoiceOCRResponse, GeneralBasicOCRResponse, RecognizeThaiIDCardOCRResponse, RecognizeMedicalInvoiceOCRResponse, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VatInvoiceVerifyNewRequest, VehicleLicenseOCRResponse,
|
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, InsuranceBillOCRResponse, GeneralAccurateOCRResponse, HmtResidentPermitOCRRequest, QrcodeOCRRequest, TaxiInvoiceOCRResponse, 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, VerifyEnterpriseFourFactorsRequest, RecognizeIndonesiaIDCardOCRRequest, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, FlightInvoiceOCRResponse, InstitutionOCRRequest, RideHailingDriverLicenseOCRRequest, QueryBarCodeResponse, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, FinanBillSliceOCRRequest, MLIDPassportOCRResponse, VatRollInvoiceOCRRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, RecognizeHealthCodeOCRRequest, BankSlipOCRResponse, VinOCRResponse, GetTaskStateResponse, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, QueryBarCodeRequest, CreateAIFormTaskResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, ShipInvoiceOCRResponse, GetTaskStateRequest, RecognizeMedicalInvoiceOCRRequest, 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, RideHailingTransportLicenseOCRRequest, 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
|
@@ -254,6 +254,11 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
254
254
|
默认接口请求频率限制:5次/秒。
|
255
255
|
*/
|
256
256
|
PropOwnerCertOCR(req: PropOwnerCertOCRRequest, cb?: (error: string, rep: PropOwnerCertOCRResponse) => void): Promise<PropOwnerCertOCRResponse>;
|
257
|
+
/**
|
258
|
+
* 本接口支持泰国身份证识别,识别字段包括泰文姓名、英文姓名、地址、出生日期、身份证号码、首次领用日期、签发日期等字段。
|
259
|
+
本接口暂未完全对外开放,如需咨询,请[联系商务](https://cloud.tencent.com/about/connect)
|
260
|
+
*/
|
261
|
+
RecognizeThaiIDCardOCR(req: RecognizeThaiIDCardOCRRequest, cb?: (error: string, rep: RecognizeThaiIDCardOCRResponse) => void): Promise<RecognizeThaiIDCardOCRResponse>;
|
257
262
|
/**
|
258
263
|
* 本接口支持快速精准识别营业执照上的字段,包括统一社会信用代码、公司名称、主体类型、法定代表人、注册资本、组成形式、成立日期、营业期限和经营范围等字段。
|
259
264
|
|
@@ -644,6 +649,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
644
649
|
默认接口请求频率限制:20次/秒。
|
645
650
|
*/
|
646
651
|
MainlandPermitOCR(req: MainlandPermitOCRRequest, cb?: (error: string, rep: MainlandPermitOCRResponse) => void): Promise<MainlandPermitOCRResponse>;
|
652
|
+
/**
|
653
|
+
* 菲律宾SSSID识别
|
654
|
+
*/
|
655
|
+
RecognizePhilippinesSssIDOCR(req: RecognizePhilippinesSssIDOCRRequest, cb?: (error: string, rep: RecognizePhilippinesSssIDOCRResponse) => void): Promise<RecognizePhilippinesSssIDOCRResponse>;
|
647
656
|
/**
|
648
657
|
* 本接口支持识别主流初高中数学符号和公式,返回公式的 Latex 格式文本。
|
649
658
|
|
@@ -711,10 +720,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
711
720
|
*/
|
712
721
|
RideHailingTransportLicenseOCR(req: RideHailingTransportLicenseOCRRequest, cb?: (error: string, rep: RideHailingTransportLicenseOCRResponse) => void): Promise<RideHailingTransportLicenseOCRResponse>;
|
713
722
|
/**
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
RecognizeThaiIDCardOCR(req: RecognizeThaiIDCardOCRRequest, cb?: (error: string, rep: RecognizeThaiIDCardOCRResponse) => void): Promise<RecognizeThaiIDCardOCRResponse>;
|
723
|
+
* 菲律宾TinID识别
|
724
|
+
*/
|
725
|
+
RecognizePhilippinesTinIDOCR(req: RecognizePhilippinesTinIDOCRRequest, cb?: (error: string, rep: RecognizePhilippinesTinIDOCRResponse) => void): Promise<RecognizePhilippinesTinIDOCRResponse>;
|
718
726
|
/**
|
719
727
|
* 本接口支持行驶证主页和副页所有字段的自动定位与识别。
|
720
728
|
|
@@ -323,6 +323,13 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
323
323
|
async PropOwnerCertOCR(req, cb) {
|
324
324
|
return this.request("PropOwnerCertOCR", req, cb);
|
325
325
|
}
|
326
|
+
/**
|
327
|
+
* 本接口支持泰国身份证识别,识别字段包括泰文姓名、英文姓名、地址、出生日期、身份证号码、首次领用日期、签发日期等字段。
|
328
|
+
本接口暂未完全对外开放,如需咨询,请[联系商务](https://cloud.tencent.com/about/connect)
|
329
|
+
*/
|
330
|
+
async RecognizeThaiIDCardOCR(req, cb) {
|
331
|
+
return this.request("RecognizeThaiIDCardOCR", req, cb);
|
332
|
+
}
|
326
333
|
/**
|
327
334
|
* 本接口支持快速精准识别营业执照上的字段,包括统一社会信用代码、公司名称、主体类型、法定代表人、注册资本、组成形式、成立日期、营业期限和经营范围等字段。
|
328
335
|
|
@@ -801,6 +808,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
801
808
|
async MainlandPermitOCR(req, cb) {
|
802
809
|
return this.request("MainlandPermitOCR", req, cb);
|
803
810
|
}
|
811
|
+
/**
|
812
|
+
* 菲律宾SSSID识别
|
813
|
+
*/
|
814
|
+
async RecognizePhilippinesSssIDOCR(req, cb) {
|
815
|
+
return this.request("RecognizePhilippinesSssIDOCR", req, cb);
|
816
|
+
}
|
804
817
|
/**
|
805
818
|
* 本接口支持识别主流初高中数学符号和公式,返回公式的 Latex 格式文本。
|
806
819
|
|
@@ -890,11 +903,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
890
903
|
return this.request("RideHailingTransportLicenseOCR", req, cb);
|
891
904
|
}
|
892
905
|
/**
|
893
|
-
|
894
|
-
|
895
|
-
|
896
|
-
|
897
|
-
return this.request("RecognizeThaiIDCardOCR", req, cb);
|
906
|
+
* 菲律宾TinID识别
|
907
|
+
*/
|
908
|
+
async RecognizePhilippinesTinIDOCR(req, cb) {
|
909
|
+
return this.request("RecognizePhilippinesTinIDOCR", req, cb);
|
898
910
|
}
|
899
911
|
/**
|
900
912
|
* 本接口支持行驶证主页和副页所有字段的自动定位与识别。
|