tencentcloud-sdk-nodejs-ocr 4.0.313 → 4.0.316

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/products.md CHANGED
@@ -7,14 +7,14 @@
7
7
  | afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2022-03-14 08:04:51 |
8
8
  | ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2022-03-21 08:06:03 |
9
9
  | ams | [音频内容检测](https://cloud.tencent.com/document/product/1219) | 2022-02-21 08:00:52 |
10
- | antiddos | [DDoS 防护](https://cloud.tencent.com/document/product/1021) | 2022-03-21 08:06:11 |
10
+ | antiddos | [DDoS 防护](https://cloud.tencent.com/document/product/1021) | 2022-03-24 23:15:57 |
11
11
  | apcas | [汽车精准获客服务](https://cloud.tencent.com/document/product/1244) | 2022-02-21 08:01:03 |
12
12
  | ape | [正版图库直通车](https://cloud.tencent.com/document/product/1181) | 2022-02-21 08:01:04 |
13
13
  | api | [云 API](https://cloud.tencent.com/document/product/1278) | 2022-03-03 08:00:37 |
14
14
  | apigateway | [API网关](https://cloud.tencent.com/document/product/628) | 2022-03-17 08:01:42 |
15
15
  | apm | [应用性能观测](https://cloud.tencent.com/document/product/1463) | 2022-02-21 08:01:18 |
16
16
  | as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2022-03-11 08:03:26 |
17
- | asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2022-03-18 08:06:40 |
17
+ | asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2022-03-24 17:32:45 |
18
18
  | asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2022-02-21 08:01:30 |
19
19
  | ba | [网站备案](https://cloud.tencent.com/document/product/243) | 2022-02-21 08:01:32 |
20
20
  | batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2022-02-21 08:01:33 |
@@ -27,14 +27,14 @@
27
27
  | bmvpc | [黑石私有网络](https://cloud.tencent.com/document/product/1024) | 2022-02-21 08:01:54 |
28
28
  | bri | [业务风险情报](https://cloud.tencent.com/document/product/1064) | 2021-01-07 08:02:40 |
29
29
  | btoe | [区块链可信取证](https://cloud.tencent.com/document/product/1259) | 2022-02-21 08:02:02 |
30
- | cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2022-03-01 08:01:53 |
30
+ | cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2022-03-28 08:03:45 |
31
31
  | captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2022-03-16 08:04:45 |
32
32
  | casb | [云数据加密代理网关](https://cloud.tencent.com/document/product/1303) | 2022-03-04 10:56:53 |
33
33
  | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2022-02-21 08:02:15 |
34
34
  | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2022-03-14 08:06:27 |
35
35
  | ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2022-03-04 08:05:02 |
36
- | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2022-03-21 08:07:42 |
37
- | cdn | [内容分发网络](https://cloud.tencent.com/document/product/228) | 2022-03-16 08:05:21 |
36
+ | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2022-03-28 08:04:14 |
37
+ | cdn | [内容分发网络](https://cloud.tencent.com/document/product/228) | 2022-03-28 08:04:33 |
38
38
  | cds | [数据安全审计](https://cloud.tencent.com/document/product/856) | 2022-02-21 08:02:59 |
39
39
  | cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2022-02-21 08:03:00 |
40
40
  | cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2022-03-16 08:05:40 |
@@ -50,16 +50,16 @@
50
50
  | cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2022-02-21 08:03:52 |
51
51
  | cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2022-03-03 08:03:36 |
52
52
  | cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
53
- | cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-03-16 08:06:39 |
53
+ | cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-03-28 08:05:49 |
54
54
  | cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
55
- | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-03-23 08:04:21 |
56
- | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-02-21 08:04:51 |
55
+ | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-03-28 08:06:12 |
56
+ | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-03-24 20:38:18 |
57
57
  | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
58
- | cynosdb | [云原生数据库 TDSQL-C](https://cloud.tencent.com/document/product/1003) | 2022-03-22 08:07:32 |
58
+ | cynosdb | [云原生数据库 TDSQL-C](https://cloud.tencent.com/document/product/1003) | 2022-03-24 17:50:45 |
59
59
  | dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2022-02-21 08:05:24 |
60
60
  | dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2022-03-15 08:08:26 |
61
61
  | dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2022-02-21 08:05:42 |
62
- | dcdb | [分布式数据库 TDSQL](https://cloud.tencent.com/document/product/557) | 2022-03-22 08:07:59 |
62
+ | dcdb | [分布式数据库 TDSQL](https://cloud.tencent.com/document/product/557) | 2022-03-24 23:20:33 |
63
63
  | dlc | [数据湖计算](https://cloud.tencent.com/document/product/1342) | 2022-03-22 08:08:11 |
64
64
  | dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2022-02-21 08:05:57 |
65
65
  | domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2022-02-21 08:06:02 |
@@ -76,7 +76,7 @@
76
76
  | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-03-03 08:06:04 |
77
77
  | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2022-03-21 11:04:25 |
78
78
  | ess | [电子签服务](https://cloud.tencent.com/document/product/1323) | 2022-03-18 15:46:35 |
79
- | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-03-22 08:09:17 |
79
+ | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-03-28 08:08:21 |
80
80
  | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2022-02-25 08:09:04 |
81
81
  | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2022-03-09 08:11:20 |
82
82
  | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2022-03-23 08:06:46 |
@@ -88,7 +88,7 @@
88
88
  | gse | [游戏服务器伸缩](https://cloud.tencent.com/document/product/1165) | 2022-02-21 08:07:25 |
89
89
  | habo | [](https://cloud.tencent.com/document/product) | 2019-05-09 19:37:22 |
90
90
  | hcm | [数学作业批改](https://cloud.tencent.com/document/product/1004) | 2022-02-21 08:07:36 |
91
- | iai | [人脸识别](https://cloud.tencent.com/document/product/867) | 2022-02-21 08:07:37 |
91
+ | iai | [人脸识别](https://cloud.tencent.com/document/product/867) | 2022-03-24 08:12:37 |
92
92
  | ic | [物联卡](https://cloud.tencent.com/document/product/636) | 2022-02-21 08:07:43 |
93
93
  | ie | [智能编辑](https://cloud.tencent.com/document/product/1186) | 2022-02-21 08:07:44 |
94
94
  | iecp | [物联网边缘计算平台](https://cloud.tencent.com/document/product/1118) | 2022-03-23 08:07:34 |
@@ -103,10 +103,10 @@
103
103
  | ivld | [视频智能标签](https://cloud.tencent.com/document/product/1509) | 2022-03-07 10:30:32 |
104
104
  | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2022-03-10 08:11:43 |
105
105
  | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2022-03-03 08:08:18 |
106
- | live | [云直播](https://cloud.tencent.com/document/product/267) | 2022-03-23 08:08:55 |
106
+ | live | [云直播](https://cloud.tencent.com/document/product/267) | 2022-03-24 20:42:32 |
107
107
  | lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-02-21 08:09:21 |
108
108
  | lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-02-21 08:09:21 |
109
- | mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2022-03-23 08:09:16 |
109
+ | mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2022-03-24 23:24:17 |
110
110
  | market | [云市场](https://cloud.tencent.com/document/product/306) | 2022-02-21 08:09:30 |
111
111
  | memcached | [云数据库 Memcached](https://cloud.tencent.com/document/product/241) | 2022-03-22 11:40:43 |
112
112
  | mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-02-21 08:09:31 |
@@ -121,18 +121,18 @@
121
121
  | nlp | [自然语言处理](https://cloud.tencent.com/document/product/271) | 2022-03-18 08:15:22 |
122
122
  | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
123
123
  | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2022-03-03 08:09:36 |
124
- | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-03-18 08:15:31 |
124
+ | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-03-24 17:13:23 |
125
125
  | organization | [企业组织](https://cloud.tencent.com/document/product/850) | 2022-03-08 08:16:27 |
126
126
  | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2022-03-15 08:13:28 |
127
127
  | pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2022-02-21 08:10:32 |
128
128
  | postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2022-03-03 08:10:01 |
129
129
  | privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2022-03-22 08:13:14 |
130
130
  | rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2022-02-21 08:10:44 |
131
- | redis | [云数据库 Redis](https://cloud.tencent.com/document/product/239) | 2022-03-23 08:10:37 |
131
+ | redis | [云数据库 Redis](https://cloud.tencent.com/document/product/239) | 2022-03-24 08:15:42 |
132
132
  | rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2022-02-21 08:10:55 |
133
133
  | rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-02-21 08:10:56 |
134
- | rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2022-03-21 08:15:09 |
135
- | scf | [云函数](https://cloud.tencent.com/document/product/583) | 2022-03-21 08:15:19 |
134
+ | rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2022-03-24 20:44:23 |
135
+ | scf | [云函数](https://cloud.tencent.com/document/product/583) | 2022-03-24 17:41:54 |
136
136
  | ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2022-03-23 08:11:08 |
137
137
  | smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2022-03-17 08:11:49 |
138
138
  | smpn | [营销号码安全](https://cloud.tencent.com/document/product/1127) | 2022-02-21 08:11:16 |
@@ -161,9 +161,9 @@
161
161
  | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2022-03-23 08:12:32 |
162
162
  | tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2022-03-01 10:49:12 |
163
163
  | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2022-03-01 15:05:45 |
164
- | tdmq | [分布式消息队列](https://cloud.tencent.com/document/product/1179) | 2022-03-16 08:15:15 |
164
+ | tdmq | [分布式消息队列](https://cloud.tencent.com/document/product/1179) | 2022-03-24 20:46:23 |
165
165
  | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2022-03-09 08:17:24 |
166
- | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2022-02-21 08:13:08 |
166
+ | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2022-03-28 08:14:34 |
167
167
  | tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
168
168
  | tic | [腾讯云IaC平台](https://cloud.tencent.com/document/product/1213) | 2022-02-21 08:13:09 |
169
169
  | ticm | [智能鉴黄](https://cloud.tencent.com/document/product/864) | 2021-01-07 08:08:15 |
@@ -184,8 +184,8 @@
184
184
  | ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2022-02-21 08:14:12 |
185
185
  | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2022-02-21 08:14:15 |
186
186
  | vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2022-02-21 08:14:16 |
187
- | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2022-03-23 08:14:23 |
188
- | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2022-03-23 08:14:50 |
187
+ | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2022-03-28 08:15:45 |
188
+ | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2022-03-24 17:45:21 |
189
189
  | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2022-02-21 08:15:09 |
190
190
  | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2022-02-21 08:15:12 |
191
191
  | wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
@@ -25,6 +25,7 @@ import {
25
25
  HKIDCardOCRRequest,
26
26
  CarInvoiceOCRRequest,
27
27
  MixedInvoiceItem,
28
+ RecognizeTravelCardOCRRequest,
28
29
  TrainTicketOCRRequest,
29
30
  EstateCertOCRResponse,
30
31
  FlightInvoiceOCRRequest,
@@ -116,7 +117,7 @@ import {
116
117
  PassportOCRResponse,
117
118
  VerifyBasicBizLicenseResponse,
118
119
  VehicleRegCertOCRRequest,
119
- WaybillOCRRequest,
120
+ RecognizeTravelCardOCRResponse,
120
121
  ProductDataRecord,
121
122
  LicensePlateOCRRequest,
122
123
  GeneralBasicOCRRequest,
@@ -203,6 +204,7 @@ import {
203
204
  RecognizeOnlineTaxiItineraryOCRRequest,
204
205
  IDCardOCRRequest,
205
206
  MixedInvoiceDetectRequest,
207
+ WaybillOCRRequest,
206
208
  VinOCRRequest,
207
209
  RideHailingTransportLicenseOCRRequest,
208
210
  MLIDCardOCRResponse,
@@ -1025,6 +1027,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
1025
1027
  return this.request("VehicleRegCertOCR", req, cb)
1026
1028
  }
1027
1029
 
1030
+ /**
1031
+ * 本接口支持通信大数据行程卡识别,包括行程卡颜色、更新时间、途经地、存在中高风险地区的城市、电话号码,五个字段的识别结果输出。
1032
+ */
1033
+ async RecognizeTravelCardOCR(
1034
+ req: RecognizeTravelCardOCRRequest,
1035
+ cb?: (error: string, rep: RecognizeTravelCardOCRResponse) => void
1036
+ ): Promise<RecognizeTravelCardOCRResponse> {
1037
+ return this.request("RecognizeTravelCardOCR", req, cb)
1038
+ }
1039
+
1028
1040
  /**
1029
1041
  * 本接口支持事业单位法人证书关键字段识别,包括注册号、有效期、住所、名称、法定代表人等。
1030
1042
  */
@@ -267,6 +267,28 @@ FailedOperation.UnKnowError:表示识别失败;
267
267
  SingleInvoiceInfos: Array<SingleInvoiceInfo>
268
268
  }
269
269
 
270
+ /**
271
+ * RecognizeTravelCardOCR请求参数结构体
272
+ */
273
+ export interface RecognizeTravelCardOCRRequest {
274
+ /**
275
+ * 图片的 Base64 值。
276
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
277
+ 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
278
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
279
+ */
280
+ ImageBase64?: string
281
+
282
+ /**
283
+ * 图片的 Url 地址。
284
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
285
+ 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
286
+ 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
287
+ 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
288
+ */
289
+ ImageUrl?: string
290
+ }
291
+
270
292
  /**
271
293
  * TrainTicketOCR请求参数结构体
272
294
  */
@@ -3366,30 +3388,38 @@ export interface VehicleRegCertOCRRequest {
3366
3388
  }
3367
3389
 
3368
3390
  /**
3369
- * WaybillOCR请求参数结构体
3391
+ * RecognizeTravelCardOCR返回参数结构体
3370
3392
  */
3371
- export interface WaybillOCRRequest {
3393
+ export interface RecognizeTravelCardOCRResponse {
3372
3394
  /**
3373
- * 图片的 Base64 值。
3374
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
3375
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
3376
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
3377
- */
3378
- ImageBase64?: string
3395
+ * 行程卡更新时间,格式为:XXXX.XX.XX XX:XX:XX
3396
+ */
3397
+ Time: string
3379
3398
 
3380
3399
  /**
3381
- * 图片的 Url 地址。
3382
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
3383
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
3384
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
3385
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
3386
- */
3387
- ImageUrl?: string
3400
+ * 行程卡颜色:绿色、黄色、红色
3401
+ */
3402
+ Color: string
3388
3403
 
3389
3404
  /**
3390
- * 预检测开关,当待识别运单占整个输入图像的比例较小时,建议打开预检测开关。默认值为false。
3405
+ * 14天内到达或途经的城市
3391
3406
  */
3392
- EnablePreDetect?: boolean
3407
+ ReachedCity: Array<string>
3408
+
3409
+ /**
3410
+ * 14天内到达或途径存在中高风险地区的城市
3411
+ */
3412
+ RiskArea: Array<string>
3413
+
3414
+ /**
3415
+ * 电话号码
3416
+ */
3417
+ Telephone: string
3418
+
3419
+ /**
3420
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3421
+ */
3422
+ RequestId?: string
3393
3423
  }
3394
3424
 
3395
3425
  /**
@@ -6151,6 +6181,33 @@ export interface MixedInvoiceDetectRequest {
6151
6181
  ImageUrl?: string
6152
6182
  }
6153
6183
 
6184
+ /**
6185
+ * WaybillOCR请求参数结构体
6186
+ */
6187
+ export interface WaybillOCRRequest {
6188
+ /**
6189
+ * 图片的 Base64 值。
6190
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
6191
+ 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
6192
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
6193
+ */
6194
+ ImageBase64?: string
6195
+
6196
+ /**
6197
+ * 图片的 Url 地址。
6198
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
6199
+ 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
6200
+ 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
6201
+ 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
6202
+ */
6203
+ ImageUrl?: string
6204
+
6205
+ /**
6206
+ * 预检测开关,当待识别运单占整个输入图像的比例较小时,建议打开预检测开关。默认值为false。
6207
+ */
6208
+ EnablePreDetect?: boolean
6209
+ }
6210
+
6154
6211
  /**
6155
6212
  * VinOCR请求参数结构体
6156
6213
  */
@@ -1,5 +1,5 @@
1
1
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
- import { RecognizeOnlineTaxiItineraryOCRResponse, BankSlipOCRRequest, BusinessCardOCRResponse, HKIDCardOCRRequest, CarInvoiceOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, FlightInvoiceOCRRequest, MLIDPassportOCRRequest, TextDetectResponse, TollInvoiceOCRResponse, VerifyBizLicenseResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, VerifyBizLicenseRequest, PermitOCRResponse, InvoiceGeneralOCRRequest, WaybillOCRResponse, MLIDCardOCRRequest, VehicleLicenseOCRRequest, EnterpriseLicenseOCRResponse, InstitutionOCRResponse, DriverLicenseOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, EnterpriseLicenseOCRRequest, BankCardOCRRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, InsuranceBillOCRResponse, GeneralAccurateOCRResponse, HmtResidentPermitOCRRequest, QrcodeOCRRequest, TaxiInvoiceOCRResponse, GeneralBasicOCRResponse, RecognizeThaiIDCardOCRResponse, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, IDCardOCRResponse, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, TollInvoiceOCRRequest, LicensePlateOCRResponse, HKIDCardOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, TaxiInvoiceOCRRequest, PropOwnerCertOCRRequest, RecognizeContainerOCRRequest, TextDetectRequest, VatRollInvoiceOCRResponse, VatInvoiceVerifyRequest, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, TableOCRRequest, PassportOCRResponse, VerifyBasicBizLicenseResponse, VehicleRegCertOCRRequest, WaybillOCRRequest, LicensePlateOCRRequest, GeneralBasicOCRRequest, GeneralEfficientOCRRequest, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, EnglishOCRRequest, VatInvoiceVerifyResponse, SmartStructuralOCRResponse, VerifyEnterpriseFourFactorsRequest, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, FlightInvoiceOCRResponse, InstitutionOCRRequest, QueryBarCodeResponse, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, FinanBillSliceOCRRequest, MLIDPassportOCRResponse, VatRollInvoiceOCRRequest, SealOCRResponse, FinanBillOCRResponse, RecognizeHealthCodeOCRRequest, BankSlipOCRResponse, VinOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, RideHailingDriverLicenseOCRRequest, QueryBarCodeRequest, OrgCodeCertOCRResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, GeneralFastOCRRequest, ShipInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, ResidenceBookletOCRRequest, BusInvoiceOCRResponse, MainlandPermitOCRResponse, HmtResidentPermitOCRResponse, EnglishOCRResponse, BusInvoiceOCRRequest, QuotaInvoiceOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, InsuranceBillOCRRequest, GeneralHandwritingOCRResponse, TableOCRResponse, AdvertiseOCRResponse, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, VinOCRRequest, RideHailingTransportLicenseOCRRequest, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, VerifyBasicBizLicenseRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, QuotaInvoiceOCRRequest, BankCardOCRResponse, BusinessCardOCRRequest, FinanBillOCRRequest, VerifyEnterpriseFourFactorsResponse, GeneralFastOCRResponse } from "./ocr_models";
2
+ import { RecognizeOnlineTaxiItineraryOCRResponse, BankSlipOCRRequest, BusinessCardOCRResponse, HKIDCardOCRRequest, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, FlightInvoiceOCRRequest, MLIDPassportOCRRequest, TextDetectResponse, TollInvoiceOCRResponse, VerifyBizLicenseResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, VerifyBizLicenseRequest, PermitOCRResponse, InvoiceGeneralOCRRequest, WaybillOCRResponse, MLIDCardOCRRequest, VehicleLicenseOCRRequest, EnterpriseLicenseOCRResponse, InstitutionOCRResponse, DriverLicenseOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, EnterpriseLicenseOCRRequest, BankCardOCRRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, InsuranceBillOCRResponse, GeneralAccurateOCRResponse, HmtResidentPermitOCRRequest, QrcodeOCRRequest, TaxiInvoiceOCRResponse, GeneralBasicOCRResponse, RecognizeThaiIDCardOCRResponse, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, IDCardOCRResponse, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, TollInvoiceOCRRequest, LicensePlateOCRResponse, HKIDCardOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, TaxiInvoiceOCRRequest, PropOwnerCertOCRRequest, RecognizeContainerOCRRequest, TextDetectRequest, VatRollInvoiceOCRResponse, VatInvoiceVerifyRequest, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, TableOCRRequest, PassportOCRResponse, VerifyBasicBizLicenseResponse, VehicleRegCertOCRRequest, RecognizeTravelCardOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest, GeneralEfficientOCRRequest, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, EnglishOCRRequest, VatInvoiceVerifyResponse, SmartStructuralOCRResponse, VerifyEnterpriseFourFactorsRequest, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, FlightInvoiceOCRResponse, InstitutionOCRRequest, QueryBarCodeResponse, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, FinanBillSliceOCRRequest, MLIDPassportOCRResponse, VatRollInvoiceOCRRequest, SealOCRResponse, FinanBillOCRResponse, RecognizeHealthCodeOCRRequest, BankSlipOCRResponse, VinOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, RideHailingDriverLicenseOCRRequest, QueryBarCodeRequest, OrgCodeCertOCRResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, GeneralFastOCRRequest, ShipInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, ResidenceBookletOCRRequest, BusInvoiceOCRResponse, MainlandPermitOCRResponse, HmtResidentPermitOCRResponse, EnglishOCRResponse, BusInvoiceOCRRequest, QuotaInvoiceOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, InsuranceBillOCRRequest, GeneralHandwritingOCRResponse, TableOCRResponse, AdvertiseOCRResponse, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, WaybillOCRRequest, VinOCRRequest, RideHailingTransportLicenseOCRRequest, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, VerifyBasicBizLicenseRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, QuotaInvoiceOCRRequest, BankCardOCRResponse, BusinessCardOCRRequest, FinanBillOCRRequest, VerifyEnterpriseFourFactorsResponse, GeneralFastOCRResponse } from "./ocr_models";
3
3
  /**
4
4
  * ocr client
5
5
  * @class
@@ -484,6 +484,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
484
484
  * 本接口支持国内机动车登记证书主要字段的结构化识别,包括机动车所有人、身份证明名称、号码、车辆型号、车辆识别代号、发动机号、制造厂名称等。
485
485
  */
486
486
  VehicleRegCertOCR(req: VehicleRegCertOCRRequest, cb?: (error: string, rep: VehicleRegCertOCRResponse) => void): Promise<VehicleRegCertOCRResponse>;
487
+ /**
488
+ * 本接口支持通信大数据行程卡识别,包括行程卡颜色、更新时间、途经地、存在中高风险地区的城市、电话号码,五个字段的识别结果输出。
489
+ */
490
+ RecognizeTravelCardOCR(req: RecognizeTravelCardOCRRequest, cb?: (error: string, rep: RecognizeTravelCardOCRResponse) => void): Promise<RecognizeTravelCardOCRResponse>;
487
491
  /**
488
492
  * 本接口支持事业单位法人证书关键字段识别,包括注册号、有效期、住所、名称、法定代表人等。
489
493
  */
@@ -611,6 +611,12 @@ class Client extends TencentCloudCommon.AbstractClient {
611
611
  async VehicleRegCertOCR(req, cb) {
612
612
  return this.request("VehicleRegCertOCR", req, cb);
613
613
  }
614
+ /**
615
+ * 本接口支持通信大数据行程卡识别,包括行程卡颜色、更新时间、途经地、存在中高风险地区的城市、电话号码,五个字段的识别结果输出。
616
+ */
617
+ async RecognizeTravelCardOCR(req, cb) {
618
+ return this.request("RecognizeTravelCardOCR", req, cb);
619
+ }
614
620
  /**
615
621
  * 本接口支持事业单位法人证书关键字段识别,包括注册号、有效期、住所、名称、法定代表人等。
616
622
  */
@@ -216,6 +216,26 @@ export interface MixedInvoiceItem {
216
216
  */
217
217
  SingleInvoiceInfos: Array<SingleInvoiceInfo>;
218
218
  }
219
+ /**
220
+ * RecognizeTravelCardOCR请求参数结构体
221
+ */
222
+ export interface RecognizeTravelCardOCRRequest {
223
+ /**
224
+ * 图片的 Base64 值。
225
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
226
+ 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
227
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
228
+ */
229
+ ImageBase64?: string;
230
+ /**
231
+ * 图片的 Url 地址。
232
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
233
+ 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
234
+ 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
235
+ 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
236
+ */
237
+ ImageUrl?: string;
238
+ }
219
239
  /**
220
240
  * TrainTicketOCR请求参数结构体
221
241
  */
@@ -2847,28 +2867,33 @@ export interface VehicleRegCertOCRRequest {
2847
2867
  ImageUrl?: string;
2848
2868
  }
2849
2869
  /**
2850
- * WaybillOCR请求参数结构体
2870
+ * RecognizeTravelCardOCR返回参数结构体
2851
2871
  */
2852
- export interface WaybillOCRRequest {
2872
+ export interface RecognizeTravelCardOCRResponse {
2853
2873
  /**
2854
- * 图片的 Base64 值。
2855
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
2856
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
2857
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
2858
- */
2859
- ImageBase64?: string;
2874
+ * 行程卡更新时间,格式为:XXXX.XX.XX XX:XX:XX
2875
+ */
2876
+ Time: string;
2860
2877
  /**
2861
- * 图片的 Url 地址。
2862
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
2863
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
2864
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
2865
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
2866
- */
2867
- ImageUrl?: string;
2878
+ * 行程卡颜色:绿色、黄色、红色
2879
+ */
2880
+ Color: string;
2868
2881
  /**
2869
- * 预检测开关,当待识别运单占整个输入图像的比例较小时,建议打开预检测开关。默认值为false。
2882
+ * 14天内到达或途经的城市
2870
2883
  */
2871
- EnablePreDetect?: boolean;
2884
+ ReachedCity: Array<string>;
2885
+ /**
2886
+ * 14天内到达或途径存在中高风险地区的城市
2887
+ */
2888
+ RiskArea: Array<string>;
2889
+ /**
2890
+ * 电话号码
2891
+ */
2892
+ Telephone: string;
2893
+ /**
2894
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2895
+ */
2896
+ RequestId?: string;
2872
2897
  }
2873
2898
  /**
2874
2899
  * 商品码信息
@@ -5228,6 +5253,30 @@ export interface MixedInvoiceDetectRequest {
5228
5253
  */
5229
5254
  ImageUrl?: string;
5230
5255
  }
5256
+ /**
5257
+ * WaybillOCR请求参数结构体
5258
+ */
5259
+ export interface WaybillOCRRequest {
5260
+ /**
5261
+ * 图片的 Base64 值。
5262
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
5263
+ 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
5264
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
5265
+ */
5266
+ ImageBase64?: string;
5267
+ /**
5268
+ * 图片的 Url 地址。
5269
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
5270
+ 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
5271
+ 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
5272
+ 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
5273
+ */
5274
+ ImageUrl?: string;
5275
+ /**
5276
+ * 预检测开关,当待识别运单占整个输入图像的比例较小时,建议打开预检测开关。默认值为false。
5277
+ */
5278
+ EnablePreDetect?: boolean;
5279
+ }
5231
5280
  /**
5232
5281
  * VinOCR请求参数结构体
5233
5282
  */