tencentcloud-sdk-nodejs-ocr 4.0.1004 → 4.0.1005

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.1004",
3
+ "version": "4.0.1005",
4
4
  "description": "Tencent Cloud API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -2,12 +2,12 @@
2
2
  |-|-|-|
3
3
  | aa | [活动防刷](https://cloud.tencent.com/document/product/1189) | 2023-05-18 01:01:13 |
4
4
  | aai | [](https://cloud.tencent.com/document/product) | 2019-08-08 23:15:13 |
5
- | aca | [AI 临床助手](https://cloud.tencent.com/document/product/1388) | 2024-12-24 09:13:25 |
5
+ | aca | [AI 临床助手](https://cloud.tencent.com/document/product/1388) | 2025-01-03 01:08:23 |
6
6
  | acp | [应用合规平台](https://cloud.tencent.com/document/product/1553) | 2024-11-01 01:03:06 |
7
7
  | advisor | [云顾问](https://cloud.tencent.com/document/product/1264) | 2024-10-15 01:02:26 |
8
8
  | af | [借贷反欺诈](https://cloud.tencent.com/document/product/668) | 2024-11-22 11:20:38 |
9
9
  | afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2024-05-31 01:07:25 |
10
- | aiart | [大模型图像创作引擎](https://cloud.tencent.com/document/product/1668) | 2024-12-24 16:08:44 |
10
+ | aiart | [大模型图像创作引擎](https://cloud.tencent.com/document/product/1668) | 2025-01-03 01:08:30 |
11
11
  | ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2023-08-17 01:06:14 |
12
12
  | ams | [音频内容安全](https://cloud.tencent.com/document/product/1219) | 2024-09-03 01:07:31 |
13
13
  | anicloud | [动效素材服务](https://cloud.tencent.com/document/product/1641) | 2023-05-18 01:01:53 |
@@ -41,14 +41,14 @@
41
41
  | captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2024-10-23 01:09:56 |
42
42
  | car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2024-12-27 10:53:11 |
43
43
  | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2024-11-15 01:13:36 |
44
- | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2024-12-31 01:10:37 |
44
+ | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2025-01-03 01:10:33 |
45
45
  | ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2024-12-20 01:10:00 |
46
46
  | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-12-30 01:14:22 |
47
47
  | cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2024-11-15 01:15:46 |
48
48
  | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-12-09 11:17:22 |
49
49
  | cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2024-11-08 01:17:02 |
50
50
  | cdwch | [腾讯云数据仓库TCHouse-C](https://cloud.tencent.com/document/product/1299) | 2024-12-24 01:16:40 |
51
- | cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2024-12-27 10:54:32 |
51
+ | cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2025-01-03 01:11:39 |
52
52
  | cdwpg | [云数据仓库 PostgreSQL](https://cloud.tencent.com/document/product/878) | 2024-03-28 01:10:53 |
53
53
  | cdz | [专属可用区](https://cloud.tencent.com/document/product/1629) | 2024-11-14 01:17:55 |
54
54
  | cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2024-12-27 10:54:56 |
@@ -65,7 +65,7 @@
65
65
  | cloudaudit | [操作审计](https://cloud.tencent.com/document/product/629) | 2024-12-25 01:20:38 |
66
66
  | cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2024-11-28 10:52:49 |
67
67
  | cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2024-12-27 10:55:16 |
68
- | cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2024-12-31 01:13:04 |
68
+ | cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2025-01-03 01:12:57 |
69
69
  | cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2024-09-25 01:13:30 |
70
70
  | cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2024-12-30 01:21:08 |
71
71
  | cms | [内容安全](https://cloud.tencent.com/document/product/669) | 2024-06-20 01:24:47 |
@@ -74,7 +74,7 @@
74
74
  | cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2023-09-21 02:09:54 |
75
75
  | csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2024-12-26 18:44:26 |
76
76
  | csxg | [5G入云服务](https://cloud.tencent.com/document/product/1687) | 2024-03-20 01:12:25 |
77
- | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-12-27 11:35:31 |
77
+ | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2025-01-03 01:13:42 |
78
78
  | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2025-01-01 01:14:11 |
79
79
  | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
80
80
  | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-12-31 01:15:21 |
@@ -92,7 +92,7 @@
92
92
  | ds | [文档服务](https://cloud.tencent.com/document/product/869) | 2024-03-20 01:15:13 |
93
93
  | dsgc | [数据安全治理中心](https://cloud.tencent.com/document/product/1087) | 2024-12-20 16:58:37 |
94
94
  | dtf | [分布式事务](https://cloud.tencent.com/document/product/1224) | 2022-04-04 06:38:57 |
95
- | dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2024-12-27 11:10:08 |
95
+ | dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2025-01-03 01:17:08 |
96
96
  | eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2024-12-26 01:31:46 |
97
97
  | ecc | [英文作文批改](https://cloud.tencent.com/document/product/1076) | 2024-09-05 01:32:54 |
98
98
  | ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2024-10-22 01:18:29 |
@@ -164,7 +164,7 @@
164
164
  | nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2024-09-27 01:23:18 |
165
165
  | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
166
166
  | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-12-30 01:49:42 |
167
- | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2025-01-01 01:25:02 |
167
+ | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2025-01-03 01:24:24 |
168
168
  | omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2024-12-25 01:52:29 |
169
169
  | organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-12-20 01:46:38 |
170
170
  | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2024-11-22 12:03:22 |
@@ -178,7 +178,7 @@
178
178
  | rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2023-12-25 00:16:39 |
179
179
  | rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 |
180
180
  | rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2024-12-10 01:53:31 |
181
- | scf | [云函数](https://cloud.tencent.com/document/product/583) | 2024-12-06 01:27:18 |
181
+ | scf | [云函数](https://cloud.tencent.com/document/product/583) | 2025-01-03 01:26:06 |
182
182
  | ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2024-10-22 01:28:58 |
183
183
  | smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2024-12-17 01:50:10 |
184
184
  | smop | [腾讯安心用户运营平台](https://cloud.tencent.com/document/product/1310) | 2024-10-31 02:02:47 |
@@ -202,13 +202,13 @@
202
202
  | tbm | [](https://cloud.tencent.com/document/product) | 2019-03-29 14:49:11 |
203
203
  | tbp | [腾讯智能对话平台](https://cloud.tencent.com/document/product/1060) | 2024-03-20 01:24:24 |
204
204
  | tcaplusdb | [游戏数据库 TcaplusDB](https://cloud.tencent.com/document/product/596) | 2024-08-05 02:05:20 |
205
- | tcb | [云开发 CloudBase](https://cloud.tencent.com/document/product/876) | 2025-01-01 01:28:21 |
205
+ | tcb | [云开发 CloudBase](https://cloud.tencent.com/document/product/876) | 2025-01-03 01:27:46 |
206
206
  | tcbr | [云托管 CloudBase Run](https://cloud.tencent.com/document/product/1243) | 2024-12-17 01:54:06 |
207
207
  | tcex | [腾讯云释义](https://cloud.tencent.com/document/product/1266) | 2022-07-21 06:17:29 |
208
208
  | tchd | [腾讯云健康看板](https://cloud.tencent.com/document/product/1688) | 2024-11-21 02:00:04 |
209
209
  | tci | [腾讯智学课堂分析](https://cloud.tencent.com/document/product) | 2020-08-24 08:06:03 |
210
- | tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2024-12-31 01:29:07 |
211
- | tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2024-12-31 01:29:11 |
210
+ | tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2025-01-03 01:28:06 |
211
+ | tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2025-01-03 01:28:09 |
212
212
  | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2024-11-04 02:03:35 |
213
213
  | tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2024-07-10 01:25:35 |
214
214
  | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2024-12-19 02:00:31 |
@@ -248,7 +248,7 @@
248
248
  | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2024-07-26 02:26:34 |
249
249
  | vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2024-03-20 01:30:13 |
250
250
  | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-11-18 02:09:13 |
251
- | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2025-01-01 01:33:17 |
251
+ | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2025-01-03 01:33:09 |
252
252
  | vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2024-12-19 02:13:39 |
253
253
  | vtc | [视频转译](https://cloud.tencent.com/document/product/1769) | 2024-10-16 01:32:39 |
254
254
  | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-12-31 01:34:54 |
@@ -22,18 +22,17 @@ import {
22
22
  TextWaybill,
23
23
  RecognizeOnlineTaxiItineraryOCRResponse,
24
24
  InvoiceItem,
25
- HKIDCardOCRRequest,
26
25
  BankSlipOCRRequest,
27
26
  BusinessCardOCRResponse,
28
27
  TextArithmetic,
29
28
  ResidencePermitInfo,
30
- BankCardOCRRequest,
29
+ HKIDCardOCRRequest,
31
30
  CarInvoiceOCRRequest,
32
31
  MixedInvoiceItem,
33
32
  RecognizeTravelCardOCRRequest,
34
33
  TrainTicketOCRRequest,
35
34
  EstateCertOCRResponse,
36
- FlightInvoiceOCRRequest,
35
+ GeneralHandwritingOCRResponse,
37
36
  WordItem,
38
37
  MLIDPassportOCRRequest,
39
38
  RecognizeGeneralTextImageWarnResponse,
@@ -56,7 +55,7 @@ import {
56
55
  Rect,
57
56
  LicensePlateInfo,
58
57
  SingleInvoiceInfo,
59
- VatRollItem,
58
+ FlightInvoiceOCRRequest,
60
59
  TextFormula,
61
60
  HmtResidentPermitOCRResponse,
62
61
  OtherInvoiceList,
@@ -109,7 +108,7 @@ import {
109
108
  GeneralAccurateOCRResponse,
110
109
  ElectronicTrainTicketFull,
111
110
  BusInvoice,
112
- QrcodeOCRRequest,
111
+ QuotaInvoice,
113
112
  TaxiInvoiceOCRResponse,
114
113
  RecognizeGeneralInvoiceRequest,
115
114
  GeneralBasicOCRResponse,
@@ -285,14 +284,14 @@ import {
285
284
  EnterpriseLicenseInfo,
286
285
  SmartStructuralProResponse,
287
286
  PermitOCRResponse,
288
- QuotaInvoice,
289
287
  InsuranceBillOCRRequest,
290
- GeneralHandwritingOCRResponse,
288
+ QrcodeOCRRequest,
291
289
  IDCardResult,
292
290
  TableCell,
293
291
  TableOCRResponse,
294
292
  DetectedWordCoordPoint,
295
293
  QuestionBlockObj,
294
+ VatRollItem,
296
295
  AdvertiseOCRResponse,
297
296
  VehicleLicenseOCRRequest,
298
297
  VatRollInvoiceInfo,
@@ -312,7 +311,6 @@ import {
312
311
  TableOCRRequest,
313
312
  VatInvoiceOCRResponse,
314
313
  QuotaInvoiceOCRRequest,
315
- BankCardOCRResponse,
316
314
  BusinessCardOCRRequest,
317
315
  FinanBillOCRRequest,
318
316
  QuotaInvoiceOCRResponse,
@@ -333,75 +331,15 @@ export class Client extends TencentCloudCommon.AbstractClient {
333
331
  }
334
332
 
335
333
  /**
336
- * 本接口支持图像整体文字的检测和识别。可以识别中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语,阿拉伯语20种语言,且各种语言均支持与英文混合的文字识别。
337
-
338
- 适用于印刷文档识别、网络图片识别、广告图文字识别、街景店招牌识别、菜单识别、视频标题识别、头像文字识别等场景。
339
-
340
- 产品优势:支持自动识别语言类型,可返回文本框坐标信息,对于倾斜文本支持自动旋转纠正。
341
-
342
- 通用印刷体识别不同版本的差异如下:
343
- <table style="width:715px">
344
- <thead>
345
- <tr>
346
- <th style="width:150px"></th>
347
- <th style="width:200px">【荐】通用印刷体识别</th>
348
- <th ><a href="https://cloud.tencent.com/document/product/866/34937">【荐】通用印刷体识别(高精度版)</a></th>
349
- <th><a href="https://cloud.tencent.com/document/product/866/37831">通用印刷体识别(精简版)</a></th>
350
- </tr>
351
- </thead>
352
- <tbody>
353
- <tr>
354
- <td> 适用场景</td>
355
- <td>适用于所有通用场景的印刷体识别</td>
356
- <td>适用于文字较多、长串数字、小字、模糊字、倾斜文本等困难场景</td>
357
- <td>适用于快速文本识别场景,准召率有一定损失,价格更优惠</td>
358
- </tr>
359
- <tr>
360
- <td>识别准确率</td>
361
- <td>96%</td>
362
- <td>99%</td>
363
- <td>91%</td>
364
- </tr>
365
- <tr>
366
- <td>价格</td>
367
- <td>中</td>
368
- <td>高</td>
369
- <td>低</td>
370
- </tr>
371
- <tr>
372
- <td>支持的语言</td>
373
- <td>中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语</td>
374
- <td>中文、英文、中英文</td>
375
- <td>中文、英文、中英文</td>
376
- </tr>
377
- <tr>
378
- <td>自动语言检测</td>
379
- <td>支持</td>
380
- <td>支持</td>
381
- <td>支持</td>
382
- </tr>
383
- <tr>
384
- <td>返回文本行坐标</td>
385
- <td>支持</td>
386
- <td>支持</td>
387
- <td>支持</td>
388
- </tr>
389
- <tr>
390
- <td>自动旋转纠正</td>
391
- <td>支持旋转识别,返回角度信息</td>
392
- <td>支持旋转识别,返回角度信息</td>
393
- <td>支持旋转识别,返回角度信息</td>
394
- </tr>
395
- </tbody>
396
- </table>
334
+ * 本接口支持病案首页、费用清单、结算单、医疗发票四种保险理赔单据的文本识别和结构化输出。
397
335
 
398
- 默认接口请求频率限制:20次/秒。
336
+ 默认接口请求频率限制:1次/秒。
399
337
  */
400
- async GeneralBasicOCR(
401
- req: GeneralBasicOCRRequest,
402
- cb?: (error: string, rep: GeneralBasicOCRResponse) => void
403
- ): Promise<GeneralBasicOCRResponse> {
404
- return this.request("GeneralBasicOCR", req, cb)
338
+ async InsuranceBillOCR(
339
+ req: InsuranceBillOCRRequest,
340
+ cb?: (error: string, rep: InsuranceBillOCRResponse) => void
341
+ ): Promise<InsuranceBillOCRResponse> {
342
+ return this.request("InsuranceBillOCR", req, cb)
405
343
  }
406
344
 
407
345
  /**
@@ -452,18 +390,6 @@ export class Client extends TencentCloudCommon.AbstractClient {
452
390
  return this.request("BusinessCardOCR", req, cb)
453
391
  }
454
392
 
455
- /**
456
- * 本接口支持病案首页、费用清单、结算单、医疗发票四种保险理赔单据的文本识别和结构化输出。
457
-
458
- 默认接口请求频率限制:1次/秒。
459
- */
460
- async InsuranceBillOCR(
461
- req: InsuranceBillOCRRequest,
462
- cb?: (error: string, rep: InsuranceBillOCRResponse) => void
463
- ): Promise<InsuranceBillOCRResponse> {
464
- return this.request("InsuranceBillOCR", req, cb)
465
- }
466
-
467
393
  /**
468
394
  * 本接口支持网约车行程单关键字段的识别,包括行程起止日期、上车时间、起点、终点、里程、金额等字段。
469
395
 
@@ -654,6 +580,18 @@ export class Client extends TencentCloudCommon.AbstractClient {
654
580
  return this.request("GeneralAccurateOCR", req, cb)
655
581
  }
656
582
 
583
+ /**
584
+ * 本接口支持机票行程单关键字段的识别,包括旅客姓名、有效身份证件号码、电子客票号码、验证码、填开单位、其他税费、燃油附加费、民航发展基金、保险费、销售单位代号、始发地、目的地、航班号、时间、日期、座位等级、承运人、发票消费类型、票价、合计金额、填开日期、国内国际标签、印刷序号、客票级别/类别、客票生效日期、有效期截止日期、免费行李等字段,支持航班信息多行明细输出。
585
+
586
+ 默认接口请求频率限制:5次/秒。
587
+ */
588
+ async FlightInvoiceOCR(
589
+ req: FlightInvoiceOCRRequest,
590
+ cb?: (error: string, rep: FlightInvoiceOCRResponse) => void
591
+ ): Promise<FlightInvoiceOCRResponse> {
592
+ return this.request("FlightInvoiceOCR", req, cb)
593
+ }
594
+
657
595
  /**
658
596
  * 本接口支持集装箱箱门信息识别,识别字段包括集装箱箱号、类型、总重量、有效承重、容量、自身重量,具备集装箱箱号、类型不完整或者不清晰的告警功能。
659
597
  默认接口请求频率限制:5次/秒。
@@ -1038,15 +976,75 @@ export class Client extends TencentCloudCommon.AbstractClient {
1038
976
  }
1039
977
 
1040
978
  /**
1041
- * 本接口支持机票行程单关键字段的识别,包括旅客姓名、有效身份证件号码、电子客票号码、验证码、填开单位、其他税费、燃油附加费、民航发展基金、保险费、销售单位代号、始发地、目的地、航班号、时间、日期、座位等级、承运人、发票消费类型、票价、合计金额、填开日期、国内国际标签、印刷序号、客票级别/类别、客票生效日期、有效期截止日期、免费行李等字段,支持航班信息多行明细输出。
979
+ * 本接口支持图像整体文字的检测和识别。可以识别中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语,阿拉伯语20种语言,且各种语言均支持与英文混合的文字识别。
1042
980
 
1043
- 默认接口请求频率限制:5次/秒。
981
+ 适用于印刷文档识别、网络图片识别、广告图文字识别、街景店招牌识别、菜单识别、视频标题识别、头像文字识别等场景。
982
+
983
+ 产品优势:支持自动识别语言类型,可返回文本框坐标信息,对于倾斜文本支持自动旋转纠正。
984
+
985
+ 通用印刷体识别不同版本的差异如下:
986
+ <table style="width:715px">
987
+ <thead>
988
+ <tr>
989
+ <th style="width:150px"></th>
990
+ <th style="width:200px">【荐】通用印刷体识别</th>
991
+ <th ><a href="https://cloud.tencent.com/document/product/866/34937">【荐】通用印刷体识别(高精度版)</a></th>
992
+ <th><a href="https://cloud.tencent.com/document/product/866/37831">通用印刷体识别(精简版)</a></th>
993
+ </tr>
994
+ </thead>
995
+ <tbody>
996
+ <tr>
997
+ <td> 适用场景</td>
998
+ <td>适用于所有通用场景的印刷体识别</td>
999
+ <td>适用于文字较多、长串数字、小字、模糊字、倾斜文本等困难场景</td>
1000
+ <td>适用于快速文本识别场景,准召率有一定损失,价格更优惠</td>
1001
+ </tr>
1002
+ <tr>
1003
+ <td>识别准确率</td>
1004
+ <td>96%</td>
1005
+ <td>99%</td>
1006
+ <td>91%</td>
1007
+ </tr>
1008
+ <tr>
1009
+ <td>价格</td>
1010
+ <td>中</td>
1011
+ <td>高</td>
1012
+ <td>低</td>
1013
+ </tr>
1014
+ <tr>
1015
+ <td>支持的语言</td>
1016
+ <td>中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语</td>
1017
+ <td>中文、英文、中英文</td>
1018
+ <td>中文、英文、中英文</td>
1019
+ </tr>
1020
+ <tr>
1021
+ <td>自动语言检测</td>
1022
+ <td>支持</td>
1023
+ <td>支持</td>
1024
+ <td>支持</td>
1025
+ </tr>
1026
+ <tr>
1027
+ <td>返回文本行坐标</td>
1028
+ <td>支持</td>
1029
+ <td>支持</td>
1030
+ <td>支持</td>
1031
+ </tr>
1032
+ <tr>
1033
+ <td>自动旋转纠正</td>
1034
+ <td>支持旋转识别,返回角度信息</td>
1035
+ <td>支持旋转识别,返回角度信息</td>
1036
+ <td>支持旋转识别,返回角度信息</td>
1037
+ </tr>
1038
+ </tbody>
1039
+ </table>
1040
+
1041
+ 默认接口请求频率限制:20次/秒。
1044
1042
  */
1045
- async FlightInvoiceOCR(
1046
- req: FlightInvoiceOCRRequest,
1047
- cb?: (error: string, rep: FlightInvoiceOCRResponse) => void
1048
- ): Promise<FlightInvoiceOCRResponse> {
1049
- return this.request("FlightInvoiceOCR", req, cb)
1043
+ async GeneralBasicOCR(
1044
+ req: GeneralBasicOCRRequest,
1045
+ cb?: (error: string, rep: GeneralBasicOCRResponse) => void
1046
+ ): Promise<GeneralBasicOCRResponse> {
1047
+ return this.request("GeneralBasicOCR", req, cb)
1050
1048
  }
1051
1049
 
1052
1050
  /**
@@ -1434,18 +1432,6 @@ export class Client extends TencentCloudCommon.AbstractClient {
1434
1432
  return this.request("RecognizeValidIDCardOCR", req, cb)
1435
1433
  }
1436
1434
 
1437
- /**
1438
- * 本接口支持对中国大陆主流银行卡正反面关键字段的检测与识别,包括卡号、卡类型、卡名字、银行信息、有效期。支持竖排异形卡识别、多角度旋转图片识别。支持对复印件、翻拍件、边框遮挡的银行卡进行告警,可应用于各种银行卡信息有效性校验场景,如金融行业身份认证、第三方支付绑卡等场景。
1439
-
1440
- 默认接口请求频率限制:10次/秒。
1441
- */
1442
- async BankCardOCR(
1443
- req: BankCardOCRRequest,
1444
- cb?: (error: string, rep: BankCardOCRResponse) => void
1445
- ): Promise<BankCardOCRResponse> {
1446
- return this.request("BankCardOCR", req, cb)
1447
- }
1448
-
1449
1435
  /**
1450
1436
  * 本接口支持机动车销售统一发票和二手车销售统一发票的识别,包括发票号码、发票代码、合计金额、合计税额等二十多个字段。
1451
1437