tencentcloud-sdk-nodejs-ocr 4.0.356 → 4.0.357

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-ocr",
3
- "version": "4.0.356",
3
+ "version": "4.0.357",
4
4
  "description": "Tencent Cloud API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -2,11 +2,12 @@
2
2
  |-|-|-|
3
3
  | aa | [活动防刷](https://cloud.tencent.com/document/product/1189) | 2022-04-04 06:03:06 |
4
4
  | aai | [](https://cloud.tencent.com/document/product) | 2019-08-08 23:15:13 |
5
+ | acp | [应用合规平台](https://cloud.tencent.com/document/product/1553) | 2022-06-08 15:18:26 |
5
6
  | advisor | [云顾问](https://cloud.tencent.com/document/product/1264) | 2022-06-08 06:03:05 |
6
7
  | af | [借贷反欺诈](https://cloud.tencent.com/document/product/668) | 2022-05-23 06:01:54 |
7
8
  | afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2022-05-23 06:01:56 |
8
9
  | ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2022-04-15 06:01:25 |
9
- | ams | [音频内容检测](https://cloud.tencent.com/document/product/1219) | 2022-04-04 06:03:33 |
10
+ | ams | [音频内容检测](https://cloud.tencent.com/document/product/1219) | 2022-06-09 06:05:24 |
10
11
  | antiddos | [DDoS 防护](https://cloud.tencent.com/document/product/1021) | 2022-05-17 06:03:35 |
11
12
  | apcas | [汽车精准获客服务](https://cloud.tencent.com/document/product/1244) | 2022-04-04 06:05:36 |
12
13
  | ape | [正版图库直通车](https://cloud.tencent.com/document/product/1181) | 2022-04-04 06:05:40 |
@@ -14,7 +15,7 @@
14
15
  | apigateway | [API网关](https://cloud.tencent.com/document/product/628) | 2022-04-21 06:05:25 |
15
16
  | apm | [应用性能观测](https://cloud.tencent.com/document/product/1463) | 2022-05-17 11:59:15 |
16
17
  | as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2022-06-02 06:02:22 |
17
- | asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2022-05-26 06:06:08 |
18
+ | asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2022-06-09 06:06:03 |
18
19
  | asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2022-04-04 06:08:40 |
19
20
  | ba | [网站备案](https://cloud.tencent.com/document/product/243) | 2022-04-04 06:08:45 |
20
21
  | batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2022-05-31 06:04:46 |
@@ -27,7 +28,7 @@
27
28
  | bmlb | [黑石负载均衡](https://cloud.tencent.com/document/product/1027) | 2022-04-04 06:09:37 |
28
29
  | bmvpc | [黑石私有网络](https://cloud.tencent.com/document/product/1024) | 2022-04-15 06:02:36 |
29
30
  | bri | [业务风险情报](https://cloud.tencent.com/document/product/1064) | 2021-01-07 08:02:40 |
30
- | bsca | [二进制软件成分分析](https://cloud.tencent.com/document/product/1483) | 2022-04-25 06:01:56 |
31
+ | bsca | [二进制软件成分分析](https://cloud.tencent.com/document/product/1483) | 2022-06-09 06:06:39 |
31
32
  | btoe | [区块链可信取证](https://cloud.tencent.com/document/product/1259) | 2022-04-04 06:10:17 |
32
33
  | cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2022-05-25 06:03:56 |
33
34
  | captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2022-04-12 06:07:13 |
@@ -77,10 +78,10 @@
77
78
  | eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2022-05-26 06:11:01 |
78
79
  | ecc | [英文作文批改](https://cloud.tencent.com/document/product/1076) | 2022-04-04 06:39:27 |
79
80
  | ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2022-04-08 06:06:57 |
80
- | ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2022-05-20 06:11:20 |
81
+ | ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2022-06-09 06:11:09 |
81
82
  | eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2022-05-13 06:11:29 |
82
83
  | eis | [企业集成服务](https://cloud.tencent.com/document/product/1270) | 2022-04-04 06:42:05 |
83
- | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-06-08 06:09:23 |
84
+ | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-06-09 06:11:36 |
84
85
  | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2022-06-08 06:09:29 |
85
86
  | ess | [电子签服务](https://cloud.tencent.com/document/product/1323) | 2022-06-07 06:07:22 |
86
87
  | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-06-02 06:08:13 |
@@ -111,13 +112,14 @@
111
112
  | ivld | [视频智能标签](https://cloud.tencent.com/document/product/1509) | 2022-05-26 17:59:01 |
112
113
  | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2022-06-01 06:12:55 |
113
114
  | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2022-06-01 06:13:02 |
114
- | live | [云直播](https://cloud.tencent.com/document/product/267) | 2022-06-08 06:11:54 |
115
+ | live | [云直播](https://cloud.tencent.com/document/product/267) | 2022-06-09 06:14:00 |
115
116
  | lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
116
117
  | lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
117
118
  | mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2022-05-25 06:11:46 |
118
119
  | market | [云市场](https://cloud.tencent.com/document/product/306) | 2022-04-04 06:57:43 |
119
120
  | memcached | [云数据库 Memcached](https://cloud.tencent.com/document/product/241) | 2022-04-04 06:57:44 |
120
121
  | mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-04-04 06:57:46 |
122
+ | mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2022-06-08 15:18:22 |
121
123
  | mna | [移动网络加速](https://cloud.tencent.com/document/product/1385) | 2022-04-04 06:57:51 |
122
124
  | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2022-06-07 06:10:21 |
123
125
  | monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2022-05-26 06:14:37 |
@@ -129,7 +131,7 @@
129
131
  | nlp | [自然语言处理](https://cloud.tencent.com/document/product/271) | 2022-04-13 07:00:13 |
130
132
  | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
131
133
  | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2022-06-08 06:13:07 |
132
- | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-06-08 06:13:12 |
134
+ | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-06-09 06:15:14 |
133
135
  | organization | [企业组织](https://cloud.tencent.com/document/product/850) | 2022-05-30 06:11:27 |
134
136
  | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2022-04-04 07:01:49 |
135
137
  | pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2022-04-04 07:02:02 |
@@ -171,7 +173,7 @@
171
173
  | tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2022-04-04 07:15:36 |
172
174
  | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2022-04-04 07:15:50 |
173
175
  | tdmq | [分布式消息队列](https://cloud.tencent.com/document/product/1179) | 2022-05-25 06:15:53 |
174
- | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2022-06-08 06:16:15 |
176
+ | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2022-06-09 06:18:14 |
175
177
  | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2022-06-08 06:16:20 |
176
178
  | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2022-06-02 06:15:03 |
177
179
  | tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
@@ -179,10 +181,10 @@
179
181
  | ticm | [智能鉴黄](https://cloud.tencent.com/document/product/864) | 2021-01-07 08:08:15 |
180
182
  | tics | [威胁情报云查服务](https://cloud.tencent.com/document/product/1013) | 2022-04-04 07:16:59 |
181
183
  | tiems | [腾讯云 TI 平台 TI-EMS ](https://cloud.tencent.com/document/product/1120) | 2022-04-04 07:17:01 |
182
- | tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2022-06-03 06:14:26 |
184
+ | tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2022-06-09 06:18:37 |
183
185
  | tione | [腾讯云 TI 平台 TI-ONE](https://cloud.tencent.com/document/product/851) | 2022-06-07 22:05:59 |
184
186
  | tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2022-05-17 06:17:19 |
185
- | tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2022-06-03 06:14:39 |
187
+ | tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2022-06-09 06:18:50 |
186
188
  | tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
187
189
  | tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2022-04-04 07:18:11 |
188
190
  | tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2022-05-19 06:19:37 |
@@ -193,9 +195,9 @@
193
195
  | tsw | [腾讯微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2022-04-04 07:22:40 |
194
196
  | tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2022-06-07 06:15:49 |
195
197
  | ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2022-04-04 07:22:44 |
196
- | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2022-05-10 06:14:42 |
198
+ | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2022-06-09 06:19:53 |
197
199
  | vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2022-04-04 07:22:54 |
198
- | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2022-06-01 06:18:42 |
200
+ | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2022-06-09 06:19:56 |
199
201
  | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2022-06-02 06:17:13 |
200
202
  | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2022-05-12 06:19:46 |
201
203
  | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2022-04-04 07:39:05 |
@@ -29,6 +29,7 @@ import {
29
29
  TrainTicketOCRRequest,
30
30
  EstateCertOCRResponse,
31
31
  FlightInvoiceOCRRequest,
32
+ RecognizePhilippinesDrivingLicenseOCRRequest,
32
33
  MLIDPassportOCRRequest,
33
34
  TextDetectResponse,
34
35
  TollInvoiceOCRResponse,
@@ -49,6 +50,7 @@ import {
49
50
  VehicleRegCertInfo,
50
51
  VehicleLicenseOCRRequest,
51
52
  EnterpriseLicenseOCRResponse,
53
+ RecognizePhilippinesVoteIDOCRRequest,
52
54
  InvoiceGeneralInfo,
53
55
  WordCoordPoint,
54
56
  InstitutionOCRResponse,
@@ -79,6 +81,7 @@ import {
79
81
  GeneralHandwritingOCRRequest,
80
82
  BizLicenseOCRRequest,
81
83
  MixedInvoiceDetectResponse,
84
+ RideHailingDriverLicenseOCRRequest,
82
85
  VatInvoiceUserInfo,
83
86
  InsuranceBillOCRResponse,
84
87
  GeneralAccurateOCRResponse,
@@ -88,6 +91,7 @@ import {
88
91
  GeneralBasicOCRResponse,
89
92
  RecognizeThaiIDCardOCRResponse,
90
93
  CellContent,
94
+ RecognizePhilippinesDrivingLicenseOCRResponse,
91
95
  MixedInvoiceOCRResponse,
92
96
  ClassifyDetectOCRResponse,
93
97
  VatInvoiceVerifyNewRequest,
@@ -124,6 +128,7 @@ import {
124
128
  LicensePlateOCRRequest,
125
129
  GeneralBasicOCRRequest,
126
130
  TextVehicleBack,
131
+ RecognizeIndonesiaIDCardOCRResponse,
127
132
  GeneralEfficientOCRRequest,
128
133
  AdvertiseOCRRequest,
129
134
  RideHailingDriverLicenseOCRResponse,
@@ -133,10 +138,12 @@ import {
133
138
  SmartStructuralOCRResponse,
134
139
  DetectedWords,
135
140
  VerifyEnterpriseFourFactorsRequest,
141
+ RecognizeIndonesiaIDCardOCRRequest,
136
142
  ShipInvoiceInfo,
137
143
  GeneralAccurateOCRRequest,
138
144
  OrgCodeCertOCRRequest,
139
145
  FlightInvoiceOCRResponse,
146
+ TextDetectionResult,
140
147
  InstitutionOCRRequest,
141
148
  CarInvoiceInfo,
142
149
  FlightInvoiceInfo,
@@ -164,7 +171,7 @@ import {
164
171
  PassportOCRRequest,
165
172
  DutyPaidProofOCRRequest,
166
173
  RecognizeHealthCodeOCRResponse,
167
- RideHailingDriverLicenseOCRRequest,
174
+ RecognizePhilippinesVoteIDOCRResponse,
168
175
  QueryBarCodeRequest,
169
176
  ItemCoord,
170
177
  OrgCodeCertOCRResponse,
@@ -912,6 +919,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
912
919
  return this.request("SealOCR", req, cb)
913
920
  }
914
921
 
922
+ /**
923
+ * 菲律宾VoteID识别
924
+ */
925
+ async RecognizePhilippinesVoteIDOCR(
926
+ req: RecognizePhilippinesVoteIDOCRRequest,
927
+ cb?: (error: string, rep: RecognizePhilippinesVoteIDOCRResponse) => void
928
+ ): Promise<RecognizePhilippinesVoteIDOCRResponse> {
929
+ return this.request("RecognizePhilippinesVoteIDOCR", req, cb)
930
+ }
931
+
915
932
  /**
916
933
  * 本接口支持火车票全字段的识别,包括编号、票价、姓名、座位号、出发时间、出发站、到达站、车次、席别、发票类型及序列号等。
917
934
 
@@ -1144,6 +1161,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
1144
1161
  return this.request("FinanBillOCR", req, cb)
1145
1162
  }
1146
1163
 
1164
+ /**
1165
+ * 菲律宾驾驶证识别
1166
+ */
1167
+ async RecognizePhilippinesDrivingLicenseOCR(
1168
+ req: RecognizePhilippinesDrivingLicenseOCRRequest,
1169
+ cb?: (error: string, rep: RecognizePhilippinesDrivingLicenseOCRResponse) => void
1170
+ ): Promise<RecognizePhilippinesDrivingLicenseOCRResponse> {
1171
+ return this.request("RecognizePhilippinesDrivingLicenseOCR", req, cb)
1172
+ }
1173
+
1147
1174
  /**
1148
1175
  * 本接口支持OFD格式的增值税电子普通发票和增值税电子专用发票的识别,返回发票代码、发票号码、开票日期、验证码、机器编号、密码区,购买方和销售方信息,包括名称、纳税人识别号、地址电话、开户行及账号,以及价税合计、开票人、收款人、复核人、税额、不含税金额等字段信息。
1149
1176
  */
@@ -1164,6 +1191,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
1164
1191
  return this.request("MixedInvoiceOCR", req, cb)
1165
1192
  }
1166
1193
 
1194
+ /**
1195
+ * 印尼身份证识别
1196
+ */
1197
+ async RecognizeIndonesiaIDCardOCR(
1198
+ req: RecognizeIndonesiaIDCardOCRRequest,
1199
+ cb?: (error: string, rep: RecognizeIndonesiaIDCardOCRResponse) => void
1200
+ ): Promise<RecognizeIndonesiaIDCardOCRResponse> {
1201
+ return this.request("RecognizeIndonesiaIDCardOCR", req, cb)
1202
+ }
1203
+
1167
1204
  /**
1168
1205
  * 本接口支持北京、上海、广东、江苏、吉林、黑龙江省市健康码的识别,包括持码人姓名、持码人身份证号、健康码更新时间、健康码颜色、核酸检测结果、核酸检测间隔时长、核酸检测时间,七个字段的识别结果输出。不同省市健康码显示的字段信息有所不同,上述字段的识别结果可能为空,以图片上具体展示的信息为准。
1169
1206
  */
@@ -403,6 +403,33 @@ export interface FlightInvoiceOCRRequest {
403
403
  ImageUrl?: string
404
404
  }
405
405
 
406
+ /**
407
+ * RecognizePhilippinesDrivingLicenseOCR请求参数结构体
408
+ */
409
+ export interface RecognizePhilippinesDrivingLicenseOCRRequest {
410
+ /**
411
+ * 是否返回人像照片。
412
+ */
413
+ ReturnHeadImage: boolean
414
+
415
+ /**
416
+ * 图片的 Base64 值。
417
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
418
+ 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
419
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
420
+ */
421
+ ImageBase64?: string
422
+
423
+ /**
424
+ * 图片的 Url 地址。
425
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
426
+ 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
427
+ 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
428
+ 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
429
+ */
430
+ ImageUrl?: string
431
+ }
432
+
406
433
  /**
407
434
  * MLIDPassportOCR请求参数结构体
408
435
  */
@@ -1135,6 +1162,33 @@ export interface EnterpriseLicenseOCRResponse {
1135
1162
  RequestId?: string
1136
1163
  }
1137
1164
 
1165
+ /**
1166
+ * RecognizePhilippinesVoteIDOCR请求参数结构体
1167
+ */
1168
+ export interface RecognizePhilippinesVoteIDOCRRequest {
1169
+ /**
1170
+ * 是否返回人像照片。
1171
+ */
1172
+ ReturnHeadImage: boolean
1173
+
1174
+ /**
1175
+ * 图片的 Base64 值。
1176
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
1177
+ 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
1178
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
1179
+ */
1180
+ ImageBase64?: string
1181
+
1182
+ /**
1183
+ * 图片的 Url 地址。
1184
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
1185
+ 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
1186
+ 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
1187
+ 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
1188
+ */
1189
+ ImageUrl?: string
1190
+ }
1191
+
1138
1192
  /**
1139
1193
  * 通用机打发票信息
1140
1194
  */
@@ -2039,6 +2093,23 @@ export interface MixedInvoiceDetectResponse {
2039
2093
  RequestId?: string
2040
2094
  }
2041
2095
 
2096
+ /**
2097
+ * RideHailingDriverLicenseOCR请求参数结构体
2098
+ */
2099
+ export interface RideHailingDriverLicenseOCRRequest {
2100
+ /**
2101
+ * 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
2102
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
2103
+ */
2104
+ ImageBase64?: string
2105
+
2106
+ /**
2107
+ * 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
2108
+ 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
2109
+ */
2110
+ ImageUrl?: string
2111
+ }
2112
+
2042
2113
  /**
2043
2114
  * 发票人员信息
2044
2115
  */
@@ -2314,6 +2385,76 @@ export interface CellContent {
2314
2385
  WordSize: number
2315
2386
  }
2316
2387
 
2388
+ /**
2389
+ * RecognizePhilippinesDrivingLicenseOCR返回参数结构体
2390
+ */
2391
+ export interface RecognizePhilippinesDrivingLicenseOCRResponse {
2392
+ /**
2393
+ * 人像照片Base64后的结果
2394
+ */
2395
+ HeadPortrait: TextDetectionResult
2396
+
2397
+ /**
2398
+ * 姓名
2399
+ */
2400
+ Name: TextDetectionResult
2401
+
2402
+ /**
2403
+ * 姓氏
2404
+ */
2405
+ LastName: TextDetectionResult
2406
+
2407
+ /**
2408
+ * 首姓名
2409
+ */
2410
+ FirstName: TextDetectionResult
2411
+
2412
+ /**
2413
+ * 中间姓名
2414
+ */
2415
+ MiddleName: TextDetectionResult
2416
+
2417
+ /**
2418
+ * 国籍
2419
+ */
2420
+ Nationality: TextDetectionResult
2421
+
2422
+ /**
2423
+ * 性别
2424
+ */
2425
+ Sex: TextDetectionResult
2426
+
2427
+ /**
2428
+ * 地址
2429
+ */
2430
+ Address: TextDetectionResult
2431
+
2432
+ /**
2433
+ * 证号
2434
+ */
2435
+ LicenseNo: TextDetectionResult
2436
+
2437
+ /**
2438
+ * 有效期
2439
+ */
2440
+ ExpiresDate: TextDetectionResult
2441
+
2442
+ /**
2443
+ * 机构代码
2444
+ */
2445
+ AgencyCode: TextDetectionResult
2446
+
2447
+ /**
2448
+ * 出生日期
2449
+ */
2450
+ Birthday: TextDetectionResult
2451
+
2452
+ /**
2453
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2454
+ */
2455
+ RequestId?: string
2456
+ }
2457
+
2317
2458
  /**
2318
2459
  * MixedInvoiceOCR返回参数结构体
2319
2460
  */
@@ -3743,6 +3884,96 @@ export interface TextVehicleBack {
3743
3884
  TotalQuasiMass: string
3744
3885
  }
3745
3886
 
3887
+ /**
3888
+ * RecognizeIndonesiaIDCardOCR返回参数结构体
3889
+ */
3890
+ export interface RecognizeIndonesiaIDCardOCRResponse {
3891
+ /**
3892
+ * 证件号码
3893
+ */
3894
+ NIK: string
3895
+
3896
+ /**
3897
+ * 姓名
3898
+ */
3899
+ Nama: string
3900
+
3901
+ /**
3902
+ * 出生地/出生时间
3903
+ */
3904
+ TempatTglLahir: string
3905
+
3906
+ /**
3907
+ * 性别
3908
+ */
3909
+ JenisKelamin: string
3910
+
3911
+ /**
3912
+ * 血型
3913
+ */
3914
+ GolDarah: string
3915
+
3916
+ /**
3917
+ * 地址
3918
+ */
3919
+ Alamat: string
3920
+
3921
+ /**
3922
+ * 街道
3923
+ */
3924
+ RTRW: string
3925
+
3926
+ /**
3927
+ * 村
3928
+ */
3929
+ KelDesa: string
3930
+
3931
+ /**
3932
+ * 地区
3933
+ */
3934
+ Kecamatan: string
3935
+
3936
+ /**
3937
+ * 宗教信仰
3938
+ */
3939
+ Agama: string
3940
+
3941
+ /**
3942
+ * 婚姻状况
3943
+ */
3944
+ StatusPerkawinan: string
3945
+
3946
+ /**
3947
+ * 职业
3948
+ */
3949
+ Perkerjaan: string
3950
+
3951
+ /**
3952
+ * 国籍
3953
+ */
3954
+ KewargaNegaraan: string
3955
+
3956
+ /**
3957
+ * 身份证有效期限
3958
+ */
3959
+ BerlakuHingga: string
3960
+
3961
+ /**
3962
+ * 发证日期
3963
+ */
3964
+ IssuedDate: string
3965
+
3966
+ /**
3967
+ * 人像截图
3968
+ */
3969
+ Photo: string
3970
+
3971
+ /**
3972
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3973
+ */
3974
+ RequestId?: string
3975
+ }
3976
+
3746
3977
  /**
3747
3978
  * GeneralEfficientOCR请求参数结构体
3748
3979
  */
@@ -3956,6 +4187,41 @@ export interface VerifyEnterpriseFourFactorsRequest {
3956
4187
  EnterpriseMark: string
3957
4188
  }
3958
4189
 
4190
+ /**
4191
+ * RecognizeIndonesiaIDCardOCR请求参数结构体
4192
+ */
4193
+ export interface RecognizeIndonesiaIDCardOCRRequest {
4194
+ /**
4195
+ * 图片的 Base64 值。
4196
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
4197
+ 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
4198
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
4199
+ */
4200
+ ImageBase64?: string
4201
+
4202
+ /**
4203
+ * 图片的 Url 地址。
4204
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
4205
+ 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
4206
+ 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
4207
+ 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
4208
+ */
4209
+ ImageUrl?: string
4210
+
4211
+ /**
4212
+ * 是否返回人像照片。
4213
+ */
4214
+ ReturnHeadImage?: boolean
4215
+
4216
+ /**
4217
+ * 场景参数,默认值为V1
4218
+ 可选值:
4219
+ V1
4220
+ V2
4221
+ */
4222
+ Scene?: string
4223
+ }
4224
+
3959
4225
  /**
3960
4226
  * 轮船票字段信息
3961
4227
  */
@@ -4053,6 +4319,21 @@ export interface FlightInvoiceOCRResponse {
4053
4319
  RequestId?: string
4054
4320
  }
4055
4321
 
4322
+ /**
4323
+ * 识别结果
4324
+ */
4325
+ export interface TextDetectionResult {
4326
+ /**
4327
+ * 识别出的文本行内容
4328
+ */
4329
+ Value: string
4330
+
4331
+ /**
4332
+ * 坐标,以四个顶点坐标表示
4333
+ */
4334
+ Polygon: Array<Coord>
4335
+ }
4336
+
4056
4337
  /**
4057
4338
  * InstitutionOCR请求参数结构体
4058
4339
  */
@@ -4814,20 +5095,58 @@ export interface RecognizeHealthCodeOCRResponse {
4814
5095
  }
4815
5096
 
4816
5097
  /**
4817
- * RideHailingDriverLicenseOCR请求参数结构体
5098
+ * RecognizePhilippinesVoteIDOCR返回参数结构体
4818
5099
  */
4819
- export interface RideHailingDriverLicenseOCRRequest {
5100
+ export interface RecognizePhilippinesVoteIDOCRResponse {
4820
5101
  /**
4821
- * 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
4822
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
4823
- */
4824
- ImageBase64?: string
5102
+ * 人像照片Base64后的结果
5103
+ */
5104
+ HeadPortrait: TextDetectionResult
4825
5105
 
4826
5106
  /**
4827
- * 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
4828
- 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
4829
- */
4830
- ImageUrl?: string
5107
+ * 菲律宾VoteID的VIN
5108
+ */
5109
+ VIN: TextDetectionResult
5110
+
5111
+ /**
5112
+ * 姓名
5113
+ */
5114
+ FirstName: TextDetectionResult
5115
+
5116
+ /**
5117
+ * 姓氏
5118
+ */
5119
+ LastName: TextDetectionResult
5120
+
5121
+ /**
5122
+ * 出生日期
5123
+ */
5124
+ Birthday: TextDetectionResult
5125
+
5126
+ /**
5127
+ * 婚姻状况
5128
+ */
5129
+ CivilStatus: TextDetectionResult
5130
+
5131
+ /**
5132
+ * 国籍
5133
+ */
5134
+ Citizenship: TextDetectionResult
5135
+
5136
+ /**
5137
+ * 地址
5138
+ */
5139
+ Address: TextDetectionResult
5140
+
5141
+ /**
5142
+ * 地区
5143
+ */
5144
+ PrecinctNo: TextDetectionResult
5145
+
5146
+ /**
5147
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5148
+ */
5149
+ RequestId?: string
4831
5150
  }
4832
5151
 
4833
5152
  /**
@@ -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, 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, VatInvoiceVerifyNewRequest, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, IDCardOCRResponse, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, TollInvoiceOCRRequest, LicensePlateOCRResponse, HKIDCardOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, VatInvoiceVerifyNewResponse, 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";
2
+ import { RecognizeOnlineTaxiItineraryOCRResponse, BankSlipOCRRequest, BusinessCardOCRResponse, HKIDCardOCRRequest, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, FlightInvoiceOCRRequest, RecognizePhilippinesDrivingLicenseOCRRequest, MLIDPassportOCRRequest, TextDetectResponse, TollInvoiceOCRResponse, VerifyBizLicenseResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, VerifyBizLicenseRequest, PermitOCRResponse, InvoiceGeneralOCRRequest, WaybillOCRResponse, MLIDCardOCRRequest, VehicleLicenseOCRRequest, EnterpriseLicenseOCRResponse, RecognizePhilippinesVoteIDOCRRequest, InstitutionOCRResponse, DriverLicenseOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, EnterpriseLicenseOCRRequest, BankCardOCRRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RideHailingDriverLicenseOCRRequest, InsuranceBillOCRResponse, GeneralAccurateOCRResponse, HmtResidentPermitOCRRequest, QrcodeOCRRequest, TaxiInvoiceOCRResponse, GeneralBasicOCRResponse, RecognizeThaiIDCardOCRResponse, RecognizePhilippinesDrivingLicenseOCRResponse, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VatInvoiceVerifyNewRequest, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, IDCardOCRResponse, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, TollInvoiceOCRRequest, LicensePlateOCRResponse, HKIDCardOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, VatInvoiceVerifyNewResponse, TaxiInvoiceOCRRequest, PropOwnerCertOCRRequest, RecognizeContainerOCRRequest, TextDetectRequest, VatRollInvoiceOCRResponse, VatInvoiceVerifyRequest, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, TableOCRRequest, PassportOCRResponse, VerifyBasicBizLicenseResponse, VehicleRegCertOCRRequest, RecognizeTravelCardOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest, RecognizeIndonesiaIDCardOCRResponse, GeneralEfficientOCRRequest, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, EnglishOCRRequest, VatInvoiceVerifyResponse, SmartStructuralOCRResponse, VerifyEnterpriseFourFactorsRequest, RecognizeIndonesiaIDCardOCRRequest, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, FlightInvoiceOCRResponse, InstitutionOCRRequest, QueryBarCodeResponse, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, FinanBillSliceOCRRequest, MLIDPassportOCRResponse, VatRollInvoiceOCRRequest, SealOCRResponse, FinanBillOCRResponse, RecognizeHealthCodeOCRRequest, BankSlipOCRResponse, VinOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, RecognizePhilippinesVoteIDOCRResponse, 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
@@ -390,6 +390,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
390
390
  * 印章识别已支持各类印章,包括发票章,财务章等,适用于公文,票据等场景。
391
391
  */
392
392
  SealOCR(req: SealOCRRequest, cb?: (error: string, rep: SealOCRResponse) => void): Promise<SealOCRResponse>;
393
+ /**
394
+ * 菲律宾VoteID识别
395
+ */
396
+ RecognizePhilippinesVoteIDOCR(req: RecognizePhilippinesVoteIDOCRRequest, cb?: (error: string, rep: RecognizePhilippinesVoteIDOCRResponse) => void): Promise<RecognizePhilippinesVoteIDOCRResponse>;
393
397
  /**
394
398
  * 本接口支持火车票全字段的识别,包括编号、票价、姓名、座位号、出发时间、出发站、到达站、车次、席别、发票类型及序列号等。
395
399
 
@@ -526,6 +530,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
526
530
  * 本接口支持常见银行票据的自动分类和识别。整单识别包括支票(含现金支票、普通支票、转账支票),承兑汇票(含银行承兑汇票、商业承兑汇票)以及进账单等,适用于中国人民银行印发的 2010 版银行票据凭证版式(银发[2010]299 号)。
527
531
  */
528
532
  FinanBillOCR(req: FinanBillOCRRequest, cb?: (error: string, rep: FinanBillOCRResponse) => void): Promise<FinanBillOCRResponse>;
533
+ /**
534
+ * 菲律宾驾驶证识别
535
+ */
536
+ RecognizePhilippinesDrivingLicenseOCR(req: RecognizePhilippinesDrivingLicenseOCRRequest, cb?: (error: string, rep: RecognizePhilippinesDrivingLicenseOCRResponse) => void): Promise<RecognizePhilippinesDrivingLicenseOCRResponse>;
529
537
  /**
530
538
  * 本接口支持OFD格式的增值税电子普通发票和增值税电子专用发票的识别,返回发票代码、发票号码、开票日期、验证码、机器编号、密码区,购买方和销售方信息,包括名称、纳税人识别号、地址电话、开户行及账号,以及价税合计、开票人、收款人、复核人、税额、不含税金额等字段信息。
531
539
  */
@@ -534,6 +542,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
534
542
  * 本接口支持 单张、多张、多类型 票据的混合识别,同时支持自选需要识别的票据类型,已支持票种包括:增值税发票(专票、普票、卷票)、全电发票、非税发票、定额发票、通用机打发票、购车发票、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票共14种标准报销发票,并支持其他类发票的识别。
535
543
  */
536
544
  MixedInvoiceOCR(req: MixedInvoiceOCRRequest, cb?: (error: string, rep: MixedInvoiceOCRResponse) => void): Promise<MixedInvoiceOCRResponse>;
545
+ /**
546
+ * 印尼身份证识别
547
+ */
548
+ RecognizeIndonesiaIDCardOCR(req: RecognizeIndonesiaIDCardOCRRequest, cb?: (error: string, rep: RecognizeIndonesiaIDCardOCRResponse) => void): Promise<RecognizeIndonesiaIDCardOCRResponse>;
537
549
  /**
538
550
  * 本接口支持北京、上海、广东、江苏、吉林、黑龙江省市健康码的识别,包括持码人姓名、持码人身份证号、健康码更新时间、健康码颜色、核酸检测结果、核酸检测间隔时长、核酸检测时间,七个字段的识别结果输出。不同省市健康码显示的字段信息有所不同,上述字段的识别结果可能为空,以图片上具体展示的信息为准。
539
551
  */