tencentcloud-sdk-nodejs-ocr 4.0.1019 → 4.0.1020

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.1019",
3
+ "version": "4.0.1020",
4
4
  "description": "Tencent Cloud API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -24,7 +24,7 @@
24
24
  | batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2025-01-10 01:08:10 |
25
25
  | bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2024-11-14 01:10:31 |
26
26
  | bh | [运维安全中心(堡垒机)](https://cloud.tencent.com/document/product/1025) | 2025-01-09 01:09:37 |
27
- | bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2025-01-23 01:08:59 |
27
+ | bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2025-01-24 01:08:37 |
28
28
  | billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2025-01-08 01:10:54 |
29
29
  | bizlive | [商业直播](https://cloud.tencent.com/document/product) | 2020-03-10 01:08:07 |
30
30
  | bm | [黑石物理服务器CPM](https://cloud.tencent.com/document/product/386) | 2024-03-20 01:08:40 |
@@ -42,7 +42,7 @@
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) | 2025-01-17 01:09:42 |
44
44
  | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2025-01-10 01:09:12 |
45
- | ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2025-01-15 01:09:19 |
45
+ | ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2025-01-24 01:09:27 |
46
46
  | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2025-01-15 01:09:31 |
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) | 2025-01-14 01:09:45 |
@@ -104,7 +104,7 @@
104
104
  | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2025-01-16 01:16:17 |
105
105
  | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2025-01-23 01:16:56 |
106
106
  | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-12-26 01:36:01 |
107
- | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2025-01-20 01:16:33 |
107
+ | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2025-01-24 01:16:50 |
108
108
  | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-12-25 01:36:47 |
109
109
  | ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2024-11-21 01:34:23 |
110
110
  | gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2025-01-09 01:18:35 |
@@ -165,7 +165,7 @@
165
165
  | nlp | [NLP 技术](https://cloud.tencent.com/document/product/271) | 2025-01-14 01:21:36 |
166
166
  | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
167
167
  | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2025-01-09 01:23:28 |
168
- | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2025-01-22 01:22:25 |
168
+ | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2025-01-24 01:21:31 |
169
169
  | omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2024-12-25 01:52:29 |
170
170
  | organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-12-20 01:46:38 |
171
171
  | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2024-11-22 12:03:22 |
@@ -178,9 +178,9 @@
178
178
  | region | [地域管理系统](https://cloud.tencent.com/document/product/1596) | 2024-12-20 01:49:24 |
179
179
  | rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2023-12-25 00:16:39 |
180
180
  | rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 |
181
- | rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2025-01-22 01:23:51 |
181
+ | rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2025-01-24 01:22:58 |
182
182
  | scf | [云函数](https://cloud.tencent.com/document/product/583) | 2025-01-22 01:24:07 |
183
- | ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2024-10-22 01:28:58 |
183
+ | ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2025-01-24 01:23:22 |
184
184
  | smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2024-12-17 01:50:10 |
185
185
  | smop | [腾讯安心用户运营平台](https://cloud.tencent.com/document/product/1310) | 2024-10-31 02:02:47 |
186
186
  | smpn | [营销号码安全](https://cloud.tencent.com/document/product/1127) | 2024-07-09 01:21:06 |
@@ -236,7 +236,7 @@
236
236
  | trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2025-01-06 01:28:18 |
237
237
  | trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2024-11-08 02:10:59 |
238
238
  | trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2025-01-21 01:22:38 |
239
- | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2025-01-21 01:22:42 |
239
+ | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2025-01-24 01:27:16 |
240
240
  | tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2025-01-21 01:22:52 |
241
241
  | tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2024-12-30 02:06:44 |
242
242
  | tsi | [腾讯同传系统](https://cloud.tencent.com/document/product/1399) | 2024-10-23 01:36:51 |
@@ -28,6 +28,7 @@ import {
28
28
  TextArithmetic,
29
29
  ResidencePermitInfo,
30
30
  BankCardOCRRequest,
31
+ SmartStructuralOCRResponse,
31
32
  CarInvoiceOCRRequest,
32
33
  MixedInvoiceItem,
33
34
  RecognizeTravelCardOCRRequest,
@@ -55,7 +56,7 @@ import {
55
56
  InvoiceGeneralOCRRequest,
56
57
  Rect,
57
58
  LicensePlateInfo,
58
- SingleInvoiceInfo,
59
+ QuestionSplitOCRRequest,
59
60
  VatRollItem,
60
61
  TextFormula,
61
62
  HmtResidentPermitOCRResponse,
@@ -65,6 +66,7 @@ import {
65
66
  FlightItem,
66
67
  Value,
67
68
  EnterpriseLicenseOCRResponse,
69
+ QuestionOCRResponse,
68
70
  SealInfo,
69
71
  InvoiceGeneralInfo,
70
72
  TextVatInvoice,
@@ -84,7 +86,7 @@ import {
84
86
  VatElectronicItemInfo,
85
87
  SmartStructuralOCRV2Response,
86
88
  EnterpriseLicenseOCRRequest,
87
- SmartStructuralOCRRequest,
89
+ QuestionSplitOCRResponse,
88
90
  RecognizeStoreNameRequest,
89
91
  StructuralItem,
90
92
  OnlineTaxiItineraryInfo,
@@ -93,14 +95,14 @@ import {
93
95
  PropOwnerCertOCRResponse,
94
96
  FinanBillInfo,
95
97
  TrainTicketOCRResponse,
98
+ TextFormulaInfo,
96
99
  TollInvoiceInfo,
97
100
  BankSlipInfo,
98
- SmartStructuralOCRResponse,
101
+ RecognizeFormulaOCRResponse,
99
102
  ArithmeticOCRResponse,
100
103
  FormulaOCRResponse,
101
- RecognizeGeneralCardWarnRequest,
102
104
  BusInvoiceInfo,
103
- RecognizeEncryptedIDCardOCRRequest,
105
+ SmartStructuralOCRRequest,
104
106
  TableCellInfo,
105
107
  GeneralHandwritingOCRRequest,
106
108
  BizLicenseOCRRequest,
@@ -148,6 +150,7 @@ import {
148
150
  TaxiInvoiceOCRRequest,
149
151
  MachinePrintedInvoice,
150
152
  FinancialBillItem,
153
+ SingleInvoiceInfo,
151
154
  RecognizeContainerOCRRequest,
152
155
  TrainTicket,
153
156
  TextDetectRequest,
@@ -192,6 +195,7 @@ import {
192
195
  MedicalInvoiceItem,
193
196
  GeneralAccurateOCRRequest,
194
197
  OrgCodeCertOCRRequest,
198
+ RecognizeFormulaOCRRequest,
195
199
  FlightInvoiceOCRResponse,
196
200
  ShipInvoiceOCRResponse,
197
201
  ReconstructDocumentRequest,
@@ -209,7 +213,6 @@ import {
209
213
  NonTaxIncomeBill,
210
214
  VerifyOfdVatInvoiceOCRRequest,
211
215
  FinanBillSliceOCRRequest,
212
- RecognizeGeneralCardWarnResponse,
213
216
  ClassifyStoreNameResponse,
214
217
  VatRollInvoiceOCRRequest,
215
218
  AirTransport,
@@ -233,7 +236,7 @@ import {
233
236
  DutyPaidProofOCRRequest,
234
237
  RecognizeHealthCodeOCRResponse,
235
238
  LineInfo,
236
- GeneralCardWarnInfo,
239
+ RecognizeEncryptedIDCardOCRRequest,
237
240
  TollInvoice,
238
241
  ItemCoord,
239
242
  CreateAIFormTaskResponse,
@@ -253,6 +256,7 @@ import {
253
256
  GetTaskStateResponse,
254
257
  InsuranceBillInfo,
255
258
  ContentInfo,
259
+ QuestionOCRRequest,
256
260
  GetTaskStateRequest,
257
261
  TextTractorVehicleBack,
258
262
  RecognizeMedicalInvoiceOCRRequest,
@@ -274,6 +278,7 @@ import {
274
278
  MainlandPermitOCRResponse,
275
279
  VatInvoice,
276
280
  MLIDCardOCRRequest,
281
+ QuestionInfo,
277
282
  TaxiTicket,
278
283
  EnglishOCRResponse,
279
284
  ImageCoordinates,
@@ -296,6 +301,7 @@ import {
296
301
  TableOCRResponse,
297
302
  DetectedWordCoordPoint,
298
303
  QuestionBlockObj,
304
+ Element,
299
305
  AdvertiseOCRResponse,
300
306
  VehicleLicenseOCRRequest,
301
307
  VatRollInvoiceInfo,
@@ -312,10 +318,11 @@ import {
312
318
  EstateCertOCRRequest,
313
319
  PermanentResidencePermitInfo,
314
320
  BizLicenseOCRResponse,
315
- TableOCRRequest,
321
+ ResultList,
316
322
  VatInvoiceOCRResponse,
317
323
  QuotaInvoiceOCRRequest,
318
324
  BankCardOCRResponse,
325
+ TableOCRRequest,
319
326
  BusinessCardOCRRequest,
320
327
  FinanBillOCRRequest,
321
328
  QuotaInvoiceOCRResponse,
@@ -335,6 +342,18 @@ export class Client extends TencentCloudCommon.AbstractClient {
335
342
  super("ocr.tencentcloudapi.com", "2018-11-19", clientConfig)
336
343
  }
337
344
 
345
+ /**
346
+ * 题目识别是教育的基础OCR识别能力。可支持扫描、拍照场景的单题题目识别。接口支持印刷体文本、手写体文本及公式的OCR识别和坐标返回,此外,接口还可对题目中的配图位置进行检测并返回坐标位置。适用于智能批改等场景的题目内容识别作为检索输入。
347
+
348
+ 默认接口请求频率限制:2次/秒。
349
+ */
350
+ async QuestionOCR(
351
+ req: QuestionOCRRequest,
352
+ cb?: (error: string, rep: QuestionOCRResponse) => void
353
+ ): Promise<QuestionOCRResponse> {
354
+ return this.request("QuestionOCR", req, cb)
355
+ }
356
+
338
357
  /**
339
358
  * 本接口通过检测图片中的文字信息特征,快速判断图片中有无文字并返回判断结果,帮助用户过滤无文字的图片。
340
359
 
@@ -670,15 +689,13 @@ export class Client extends TencentCloudCommon.AbstractClient {
670
689
  }
671
690
 
672
691
  /**
673
- * 本接口支持对完税证明的税号、纳税人识别号、纳税人名称、金额合计大写、金额合计小写、填发日期、税务机关、填票人等关键字段的识别。
674
-
675
- 默认接口请求频率限制:5次/秒。
676
- */
677
- async DutyPaidProofOCR(
678
- req: DutyPaidProofOCRRequest,
679
- cb?: (error: string, rep: DutyPaidProofOCRResponse) => void
680
- ): Promise<DutyPaidProofOCRResponse> {
681
- return this.request("DutyPaidProofOCR", req, cb)
692
+ * 外国人永久居留身份证识别
693
+ */
694
+ async RecognizeForeignPermanentResidentIdCard(
695
+ req: RecognizeForeignPermanentResidentIdCardRequest,
696
+ cb?: (error: string, rep: RecognizeForeignPermanentResidentIdCardResponse) => void
697
+ ): Promise<RecognizeForeignPermanentResidentIdCardResponse> {
698
+ return this.request("RecognizeForeignPermanentResidentIdCard", req, cb)
682
699
  }
683
700
 
684
701
  /**
@@ -956,16 +973,6 @@ export class Client extends TencentCloudCommon.AbstractClient {
956
973
  return this.request("GetTaskState", req, cb)
957
974
  }
958
975
 
959
- /**
960
- * 支持通用证照的有效性检测告警,包括卡证复印件告警、卡证翻拍告警等功能,支持通用证照的ps伪造检测,可以应用于各种证件信息有效性校验场景。
961
- */
962
- async RecognizeGeneralCardWarn(
963
- req: RecognizeGeneralCardWarnRequest,
964
- cb?: (error: string, rep: RecognizeGeneralCardWarnResponse) => void
965
- ): Promise<RecognizeGeneralCardWarnResponse> {
966
- return this.request("RecognizeGeneralCardWarn", req, cb)
967
- }
968
-
969
976
  /**
970
977
  * 本接口支持图像整体文字的检测和识别。可以识别中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语,阿拉伯语20种语言,且各种语言均支持与英文混合的文字识别。
971
978
 
@@ -1410,6 +1417,18 @@ export class Client extends TencentCloudCommon.AbstractClient {
1410
1417
  return this.request("ClassifyDetectOCR", req, cb)
1411
1418
  }
1412
1419
 
1420
+ /**
1421
+ * 公式识别是教育的基础OCR识别能力,可支持理科(数学、物理、化学、生物)的印刷体和手写体的公式识别。
1422
+
1423
+ 默认接口请求频率限制:2次/秒。
1424
+ */
1425
+ async RecognizeFormulaOCR(
1426
+ req: RecognizeFormulaOCRRequest,
1427
+ cb?: (error: string, rep: RecognizeFormulaOCRResponse) => void
1428
+ ): Promise<RecognizeFormulaOCRResponse> {
1429
+ return this.request("RecognizeFormulaOCR", req, cb)
1430
+ }
1431
+
1413
1432
  /**
1414
1433
  * 本接口支持各类印章主体内容、印章其他内容及形状识别,支持单图多印章识别,包括发票章、财务章等,适用于公文票据等场景。
1415
1434
 
@@ -1536,6 +1555,18 @@ export class Client extends TencentCloudCommon.AbstractClient {
1536
1555
  return this.request("ImageEnhancement", req, cb)
1537
1556
  }
1538
1557
 
1558
+ /**
1559
+ * 试卷切题识别可将整页练习册、试卷或教辅中的题目进行自动切题,并识别出其中的文字内容和坐标位置。
1560
+
1561
+ 默认接口请求频率限制:2次/秒。
1562
+ */
1563
+ async QuestionSplitOCR(
1564
+ req: QuestionSplitOCRRequest,
1565
+ cb?: (error: string, rep: QuestionSplitOCRResponse) => void
1566
+ ): Promise<QuestionSplitOCRResponse> {
1567
+ return this.request("QuestionSplitOCR", req, cb)
1568
+ }
1569
+
1539
1570
  /**
1540
1571
  * 本接口支持马来西亚身份证识别,识别字段包括身份证号、姓名、性别、地址;具备身份证人像照片的裁剪功能和翻拍、复印件告警功能。
1541
1572
  本接口暂未完全对外开放,如需咨询,请[联系商务](https://cloud.tencent.com/about/connect)
@@ -1584,13 +1615,15 @@ export class Client extends TencentCloudCommon.AbstractClient {
1584
1615
  }
1585
1616
 
1586
1617
  /**
1587
- * 外国人永久居留身份证识别
1588
- */
1589
- async RecognizeForeignPermanentResidentIdCard(
1590
- req: RecognizeForeignPermanentResidentIdCardRequest,
1591
- cb?: (error: string, rep: RecognizeForeignPermanentResidentIdCardResponse) => void
1592
- ): Promise<RecognizeForeignPermanentResidentIdCardResponse> {
1593
- return this.request("RecognizeForeignPermanentResidentIdCard", req, cb)
1618
+ * 本接口支持对完税证明的税号、纳税人识别号、纳税人名称、金额合计大写、金额合计小写、填发日期、税务机关、填票人等关键字段的识别。
1619
+
1620
+ 默认接口请求频率限制:5次/秒。
1621
+ */
1622
+ async DutyPaidProofOCR(
1623
+ req: DutyPaidProofOCRRequest,
1624
+ cb?: (error: string, rep: DutyPaidProofOCRResponse) => void
1625
+ ): Promise<DutyPaidProofOCRResponse> {
1626
+ return this.request("DutyPaidProofOCR", req, cb)
1594
1627
  }
1595
1628
 
1596
1629
  /**