tencentcloud-sdk-nodejs-ocr 4.0.575 → 4.0.577

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.
@@ -492,6 +492,62 @@ export interface MLIDPassportOCRRequest {
492
492
  RetImage?: boolean
493
493
  }
494
494
 
495
+ /**
496
+ * 智能结构化元素组
497
+ */
498
+ export interface ItemInfo {
499
+ /**
500
+ * key信息组
501
+ 注意:此字段可能返回 null,表示取不到有效值。
502
+ */
503
+ Key?: Key
504
+
505
+ /**
506
+ * Value信息组
507
+ 注意:此字段可能返回 null,表示取不到有效值。
508
+ */
509
+ Value?: Value
510
+ }
511
+
512
+ /**
513
+ * SmartStructuralOCRV2请求参数结构体
514
+ */
515
+ export interface SmartStructuralOCRV2Request {
516
+ /**
517
+ * 图片的 Url 地址。
518
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
519
+ 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
520
+ 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
521
+ 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
522
+ */
523
+ ImageUrl?: string
524
+
525
+ /**
526
+ * 图片的 Base64 值。
527
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
528
+ 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
529
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
530
+ */
531
+ ImageBase64?: string
532
+
533
+ /**
534
+ * 是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
535
+ */
536
+ IsPdf?: boolean
537
+
538
+ /**
539
+ * 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
540
+ */
541
+ PdfPageNumber?: number
542
+
543
+ /**
544
+ * 自定义结构化功能需返回的字段名称,例:
545
+ 若客户只想返回姓名、性别两个字段的识别结果,则输入
546
+ ItemNames=["姓名","性别"]
547
+ */
548
+ ItemNames?: Array<string>
549
+ }
550
+
495
551
  /**
496
552
  * TextDetect返回参数结构体
497
553
  */
@@ -1267,75 +1323,39 @@ export interface VehicleRegCertInfo {
1267
1323
  }
1268
1324
 
1269
1325
  /**
1270
- * VehicleLicenseOCR请求参数结构体
1326
+ * value信息组
1271
1327
  */
1272
- export interface VehicleLicenseOCRRequest {
1328
+ export interface Value {
1273
1329
  /**
1274
- * 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
1275
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
1276
- */
1277
- ImageBase64?: string
1278
-
1279
- /**
1280
- * 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
1281
- 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
1282
- */
1283
- ImageUrl?: string
1330
+ * 自动识别的字段内容
1331
+ */
1332
+ AutoContent?: string
1284
1333
 
1285
1334
  /**
1286
- * FRONT 为行驶证主页正面(有红色印章的一面),
1287
- BACK 为行驶证副页正面(有号码号牌的一面),
1288
- DOUBLE 为行驶证主页正面和副页正面。
1289
- 默认值为:FRONT。
1335
+ * 四点坐标
1336
+ 注意:此字段可能返回 null,表示取不到有效值。
1290
1337
  */
1291
- CardSide?: string
1338
+ Coord?: Polygon
1292
1339
  }
1293
1340
 
1294
1341
  /**
1295
- * ImageEnhancement请求参数结构体
1342
+ * EnterpriseLicenseOCR返回参数结构体
1296
1343
  */
1297
- export interface ImageEnhancementRequest {
1298
- /**
1299
- * 图片的 Base64 值。
1300
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
1301
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
1302
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
1303
- */
1304
- ImageBase64?: string
1305
-
1344
+ export interface EnterpriseLicenseOCRResponse {
1306
1345
  /**
1307
- * 图片的 Url 地址。
1308
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
1309
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
1310
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
1311
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
1312
- */
1313
- ImageUrl?: string
1346
+ * 企业证照识别结果,具体内容请点击左侧链接。
1347
+ */
1348
+ EnterpriseLicenseInfos: Array<EnterpriseLicenseInfo>
1314
1349
 
1315
1350
  /**
1316
- * 默认为空,ReturnImage的取值以及含义如下:
1317
- “preprocess”: 返回预处理后的图片数据
1318
- “origin”:返回原图片数据
1319
- " ":不返回图片数据
1320
- */
1321
- ReturnImage?: string
1351
+ * 图片旋转角度(角度制),文本的水平方向为0°,顺时针为正,逆时针为负。
1352
+ */
1353
+ Angle: number
1322
1354
 
1323
1355
  /**
1324
- * 默认值为1,指定图像增强方法:
1325
- 1:切边增强
1326
- 2:弯曲矫正
1327
- 202:黑白模式
1328
- 204:提亮模式
1329
- 205:灰度模式
1330
- 207:省墨模式
1331
- 208:文字锐化(适合非彩色图片)
1332
- 300:自动增强(自动从301~304选择任务类型)
1333
- 301:去摩尔纹
1334
- 302:去除阴影
1335
- 303:去除模糊
1336
- 304:去除过曝
1337
- */
1338
- TaskType?: number
1356
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1357
+ */
1358
+ RequestId?: string
1339
1359
  }
1340
1360
 
1341
1361
  /**
@@ -1824,6 +1844,27 @@ export interface MainlandPermitOCRRequest {
1824
1844
  RetProfile?: boolean
1825
1845
  }
1826
1846
 
1847
+ /**
1848
+ * SmartStructuralOCRV2返回参数结构体
1849
+ */
1850
+ export interface SmartStructuralOCRV2Response {
1851
+ /**
1852
+ * 图片旋转角度(角度制),文本的水平方向
1853
+ 为 0;顺时针为正,逆时针为负
1854
+ */
1855
+ Angle?: number
1856
+
1857
+ /**
1858
+ * 配置结构化文本信息
1859
+ */
1860
+ StructuralList?: Array<GroupInfo>
1861
+
1862
+ /**
1863
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1864
+ */
1865
+ RequestId?: string
1866
+ }
1867
+
1827
1868
  /**
1828
1869
  * EnterpriseLicenseOCR请求参数结构体
1829
1870
  */
@@ -2407,20 +2448,58 @@ export interface MixedInvoiceDetectResponse {
2407
2448
  }
2408
2449
 
2409
2450
  /**
2410
- * RideHailingDriverLicenseOCR请求参数结构体
2451
+ * RecognizePhilippinesVoteIDOCR返回参数结构体
2411
2452
  */
2412
- export interface RideHailingDriverLicenseOCRRequest {
2453
+ export interface RecognizePhilippinesVoteIDOCRResponse {
2413
2454
  /**
2414
- * 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
2415
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
2416
- */
2417
- ImageBase64?: string
2455
+ * 人像照片Base64后的结果
2456
+ */
2457
+ HeadPortrait: TextDetectionResult
2418
2458
 
2419
2459
  /**
2420
- * 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
2421
- 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
2422
- */
2423
- ImageUrl?: string
2460
+ * 菲律宾VoteID的VIN
2461
+ */
2462
+ VIN: TextDetectionResult
2463
+
2464
+ /**
2465
+ * 姓名
2466
+ */
2467
+ FirstName: TextDetectionResult
2468
+
2469
+ /**
2470
+ * 姓氏
2471
+ */
2472
+ LastName: TextDetectionResult
2473
+
2474
+ /**
2475
+ * 出生日期
2476
+ */
2477
+ Birthday: TextDetectionResult
2478
+
2479
+ /**
2480
+ * 婚姻状况
2481
+ */
2482
+ CivilStatus: TextDetectionResult
2483
+
2484
+ /**
2485
+ * 国籍
2486
+ */
2487
+ Citizenship: TextDetectionResult
2488
+
2489
+ /**
2490
+ * 地址
2491
+ */
2492
+ Address: TextDetectionResult
2493
+
2494
+ /**
2495
+ * 地区
2496
+ */
2497
+ PrecinctNo: TextDetectionResult
2498
+
2499
+ /**
2500
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2501
+ */
2502
+ RequestId?: string
2424
2503
  }
2425
2504
 
2426
2505
  /**
@@ -2877,6 +2956,16 @@ export interface VatInvoiceOCRRequest {
2877
2956
  PdfPageNumber?: number
2878
2957
  }
2879
2958
 
2959
+ /**
2960
+ * key信息组
2961
+ */
2962
+ export interface Key {
2963
+ /**
2964
+ * 自动识别的字段名称
2965
+ */
2966
+ AutoName?: string
2967
+ }
2968
+
2880
2969
  /**
2881
2970
  * IDCardOCR返回参数结构体
2882
2971
  */
@@ -3220,6 +3309,16 @@ export interface VatInvoiceGoodsInfo {
3220
3309
  TaxAmount: string
3221
3310
  }
3222
3311
 
3312
+ /**
3313
+ * 组在图中的序号
3314
+ */
3315
+ export interface GroupInfo {
3316
+ /**
3317
+ * 每一行的元素
3318
+ */
3319
+ Groups?: Array<LineInfo>
3320
+ }
3321
+
3223
3322
  /**
3224
3323
  * OrgCodeCertOCR返回参数结构体
3225
3324
  */
@@ -4742,43 +4841,6 @@ export interface OrgCodeCertOCRRequest {
4742
4841
  ImageUrl?: string
4743
4842
  }
4744
4843
 
4745
- /**
4746
- * MixedInvoiceDetect请求参数结构体
4747
- */
4748
- export interface MixedInvoiceDetectRequest {
4749
- /**
4750
- * 是否需要返回裁剪后的图片。
4751
- */
4752
- ReturnImage: boolean
4753
-
4754
- /**
4755
- * 图片的 Base64 值。
4756
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
4757
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
4758
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
4759
- */
4760
- ImageBase64?: string
4761
-
4762
- /**
4763
- * 图片的 Url 地址。
4764
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
4765
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
4766
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
4767
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
4768
- */
4769
- ImageUrl?: string
4770
-
4771
- /**
4772
- * 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
4773
- */
4774
- IsPdf?: boolean
4775
-
4776
- /**
4777
- * 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
4778
- */
4779
- PdfPageNumber?: number
4780
- }
4781
-
4782
4844
  /**
4783
4845
  * FlightInvoiceOCR返回参数结构体
4784
4846
  */
@@ -4993,6 +5055,23 @@ export interface FinanBillSliceInfo {
4993
5055
  Value: string
4994
5056
  }
4995
5057
 
5058
+ /**
5059
+ * RideHailingDriverLicenseOCR请求参数结构体
5060
+ */
5061
+ export interface RideHailingDriverLicenseOCRRequest {
5062
+ /**
5063
+ * 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
5064
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
5065
+ */
5066
+ ImageBase64?: string
5067
+
5068
+ /**
5069
+ * 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
5070
+ 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
5071
+ */
5072
+ ImageUrl?: string
5073
+ }
5074
+
4996
5075
  /**
4997
5076
  * QueryBarCode返回参数结构体
4998
5077
  */
@@ -5668,58 +5747,13 @@ export interface RecognizeHealthCodeOCRResponse {
5668
5747
  }
5669
5748
 
5670
5749
  /**
5671
- * RecognizePhilippinesVoteIDOCR返回参数结构体
5750
+ * 按行输出,行序号
5672
5751
  */
5673
- export interface RecognizePhilippinesVoteIDOCRResponse {
5674
- /**
5675
- * 人像照片Base64后的结果
5676
- */
5677
- HeadPortrait: TextDetectionResult
5678
-
5679
- /**
5680
- * 菲律宾VoteID的VIN
5681
- */
5682
- VIN: TextDetectionResult
5683
-
5684
- /**
5685
- * 姓名
5686
- */
5687
- FirstName: TextDetectionResult
5688
-
5752
+ export interface LineInfo {
5689
5753
  /**
5690
- * 姓氏
5754
+ * 每行的一个元素
5691
5755
  */
5692
- LastName: TextDetectionResult
5693
-
5694
- /**
5695
- * 出生日期
5696
- */
5697
- Birthday: TextDetectionResult
5698
-
5699
- /**
5700
- * 婚姻状况
5701
- */
5702
- CivilStatus: TextDetectionResult
5703
-
5704
- /**
5705
- * 国籍
5706
- */
5707
- Citizenship: TextDetectionResult
5708
-
5709
- /**
5710
- * 地址
5711
- */
5712
- Address: TextDetectionResult
5713
-
5714
- /**
5715
- * 地区
5716
- */
5717
- PrecinctNo: TextDetectionResult
5718
-
5719
- /**
5720
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5721
- */
5722
- RequestId?: string
5756
+ Lines?: Array<ItemInfo>
5723
5757
  }
5724
5758
 
5725
5759
  /**
@@ -7039,6 +7073,53 @@ export interface InsuranceBillOCRRequest {
7039
7073
  ImageUrl?: string
7040
7074
  }
7041
7075
 
7076
+ /**
7077
+ * ImageEnhancement请求参数结构体
7078
+ */
7079
+ export interface ImageEnhancementRequest {
7080
+ /**
7081
+ * 图片的 Base64 值。
7082
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
7083
+ 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
7084
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
7085
+ */
7086
+ ImageBase64?: string
7087
+
7088
+ /**
7089
+ * 图片的 Url 地址。
7090
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
7091
+ 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
7092
+ 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
7093
+ 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
7094
+ */
7095
+ ImageUrl?: string
7096
+
7097
+ /**
7098
+ * 默认为空,ReturnImage的取值以及含义如下:
7099
+ “preprocess”: 返回预处理后的图片数据
7100
+ “origin”:返回原图片数据
7101
+ " ":不返回图片数据
7102
+ */
7103
+ ReturnImage?: string
7104
+
7105
+ /**
7106
+ * 默认值为1,指定图像增强方法:
7107
+ 1:切边增强
7108
+ 2:弯曲矫正
7109
+ 202:黑白模式
7110
+ 204:提亮模式
7111
+ 205:灰度模式
7112
+ 207:省墨模式
7113
+ 208:文字锐化(适合非彩色图片)
7114
+ 300:自动增强(自动从301~304选择任务类型)
7115
+ 301:去摩尔纹
7116
+ 302:去除阴影
7117
+ 303:去除模糊
7118
+ 304:去除过曝
7119
+ */
7120
+ TaskType?: number
7121
+ }
7122
+
7042
7123
  /**
7043
7124
  * GeneralHandwritingOCR返回参数结构体
7044
7125
  */
@@ -7175,6 +7256,31 @@ export interface AdvertiseOCRResponse {
7175
7256
  RequestId?: string
7176
7257
  }
7177
7258
 
7259
+ /**
7260
+ * VehicleLicenseOCR请求参数结构体
7261
+ */
7262
+ export interface VehicleLicenseOCRRequest {
7263
+ /**
7264
+ * 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
7265
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
7266
+ */
7267
+ ImageBase64?: string
7268
+
7269
+ /**
7270
+ * 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
7271
+ 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
7272
+ */
7273
+ ImageUrl?: string
7274
+
7275
+ /**
7276
+ * FRONT 为行驶证主页正面(有红色印章的一面),
7277
+ BACK 为行驶证副页正面(有号码号牌的一面),
7278
+ DOUBLE 为行驶证主页正面和副页正面。
7279
+ 默认值为:FRONT。
7280
+ */
7281
+ CardSide?: string
7282
+ }
7283
+
7178
7284
  /**
7179
7285
  * 增值税发票卷票信息
7180
7286
  */
@@ -7274,23 +7380,40 @@ Config = {"CropIdCard":true,"CropPortrait":true}
7274
7380
  }
7275
7381
 
7276
7382
  /**
7277
- * EnterpriseLicenseOCR返回参数结构体
7383
+ * MixedInvoiceDetect请求参数结构体
7278
7384
  */
7279
- export interface EnterpriseLicenseOCRResponse {
7385
+ export interface MixedInvoiceDetectRequest {
7280
7386
  /**
7281
- * 企业证照识别结果,具体内容请点击左侧链接。
7387
+ * 是否需要返回裁剪后的图片。
7282
7388
  */
7283
- EnterpriseLicenseInfos: Array<EnterpriseLicenseInfo>
7389
+ ReturnImage: boolean
7284
7390
 
7285
7391
  /**
7286
- * 图片旋转角度(角度制),文本的水平方向为0°,顺时针为正,逆时针为负。
7392
+ * 图片的 Base64 值。
7393
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
7394
+ 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
7395
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
7396
+ */
7397
+ ImageBase64?: string
7398
+
7399
+ /**
7400
+ * 图片的 Url 地址。
7401
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
7402
+ 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
7403
+ 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
7404
+ 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
7405
+ */
7406
+ ImageUrl?: string
7407
+
7408
+ /**
7409
+ * 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
7287
7410
  */
7288
- Angle: number
7411
+ IsPdf?: boolean
7289
7412
 
7290
7413
  /**
7291
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId
7414
+ * 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1
7292
7415
  */
7293
- RequestId?: string
7416
+ PdfPageNumber?: number
7294
7417
  }
7295
7418
 
7296
7419
  /**
@@ -1,5 +1,5 @@
1
1
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
- import { RecognizeOnlineTaxiItineraryOCRResponse, BankSlipOCRRequest, BusinessCardOCRResponse, HKIDCardOCRRequest, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, FlightInvoiceOCRRequest, RecognizePhilippinesDrivingLicenseOCRRequest, MLIDPassportOCRRequest, TextDetectResponse, TollInvoiceOCRResponse, VerifyBizLicenseResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, CreateAIFormTaskRequest, VerifyBizLicenseRequest, PermitOCRResponse, InvoiceGeneralOCRRequest, HmtResidentPermitOCRResponse, VehicleLicenseOCRRequest, ImageEnhancementRequest, RecognizePhilippinesVoteIDOCRRequest, InstitutionOCRResponse, DriverLicenseOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, EnterpriseLicenseOCRRequest, BankCardOCRRequest, VehicleRegCertOCRRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RideHailingDriverLicenseOCRRequest, InsuranceBillOCRResponse, GeneralAccurateOCRResponse, HmtResidentPermitOCRRequest, QrcodeOCRRequest, TaxiInvoiceOCRResponse, GeneralBasicOCRResponse, RecognizeThaiIDCardOCRResponse, RecognizeMedicalInvoiceOCRResponse, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VatInvoiceVerifyNewRequest, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, IDCardOCRResponse, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, TollInvoiceOCRRequest, LicensePlateOCRResponse, HKIDCardOCRResponse, OrgCodeCertOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, VatInvoiceVerifyNewResponse, TaxiInvoiceOCRRequest, PropOwnerCertOCRRequest, RecognizeContainerOCRRequest, EduPaperOCRRequest, VatRollInvoiceOCRResponse, VatInvoiceVerifyRequest, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, TableOCRRequest, ImageEnhancementResponse, PassportOCRResponse, VerifyBasicBizLicenseResponse, TextDetectRequest, RecognizeTravelCardOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest, RecognizeIndonesiaIDCardOCRResponse, GeneralEfficientOCRRequest, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, EnglishOCRRequest, VatInvoiceVerifyResponse, SmartStructuralOCRResponse, VerifyEnterpriseFourFactorsRequest, RecognizeIndonesiaIDCardOCRRequest, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, MixedInvoiceDetectRequest, FlightInvoiceOCRResponse, InstitutionOCRRequest, QueryBarCodeResponse, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, FinanBillSliceOCRRequest, MLIDPassportOCRResponse, VatRollInvoiceOCRRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, RecognizeHealthCodeOCRRequest, BankSlipOCRResponse, VinOCRResponse, GetTaskStateResponse, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, RecognizePhilippinesVoteIDOCRResponse, QueryBarCodeRequest, CreateAIFormTaskResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, ShipInvoiceOCRResponse, GetTaskStateRequest, RecognizeMedicalInvoiceOCRRequest, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, BusInvoiceOCRResponse, MainlandPermitOCRResponse, MLIDCardOCRRequest, EnglishOCRResponse, BusInvoiceOCRRequest, QuotaInvoiceOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, InsuranceBillOCRRequest, GeneralHandwritingOCRResponse, TableOCRResponse, AdvertiseOCRResponse, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, EnterpriseLicenseOCRResponse, WaybillOCRRequest, VinOCRRequest, RideHailingTransportLicenseOCRRequest, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, VerifyBasicBizLicenseRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, QuotaInvoiceOCRRequest, BankCardOCRResponse, BusinessCardOCRRequest, RecognizePhilippinesDrivingLicenseOCRResponse, FinanBillOCRRequest, VerifyEnterpriseFourFactorsResponse, GeneralFastOCRResponse } from "./ocr_models";
2
+ import { RecognizeOnlineTaxiItineraryOCRResponse, BankSlipOCRRequest, BusinessCardOCRResponse, HKIDCardOCRRequest, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, FlightInvoiceOCRRequest, RecognizePhilippinesDrivingLicenseOCRRequest, MLIDPassportOCRRequest, SmartStructuralOCRV2Request, TextDetectResponse, TollInvoiceOCRResponse, VerifyBizLicenseResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, CreateAIFormTaskRequest, VerifyBizLicenseRequest, PermitOCRResponse, InvoiceGeneralOCRRequest, HmtResidentPermitOCRResponse, EnterpriseLicenseOCRResponse, RecognizePhilippinesVoteIDOCRRequest, InstitutionOCRResponse, DriverLicenseOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, SmartStructuralOCRV2Response, EnterpriseLicenseOCRRequest, BankCardOCRRequest, VehicleRegCertOCRRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RecognizePhilippinesVoteIDOCRResponse, InsuranceBillOCRResponse, GeneralAccurateOCRResponse, HmtResidentPermitOCRRequest, QrcodeOCRRequest, TaxiInvoiceOCRResponse, GeneralBasicOCRResponse, RecognizeThaiIDCardOCRResponse, RecognizeMedicalInvoiceOCRResponse, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VatInvoiceVerifyNewRequest, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, IDCardOCRResponse, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, TollInvoiceOCRRequest, LicensePlateOCRResponse, HKIDCardOCRResponse, OrgCodeCertOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, VatInvoiceVerifyNewResponse, TaxiInvoiceOCRRequest, PropOwnerCertOCRRequest, RecognizeContainerOCRRequest, EduPaperOCRRequest, VatRollInvoiceOCRResponse, VatInvoiceVerifyRequest, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, TableOCRRequest, ImageEnhancementResponse, PassportOCRResponse, VerifyBasicBizLicenseResponse, TextDetectRequest, RecognizeTravelCardOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest, RecognizeIndonesiaIDCardOCRResponse, GeneralEfficientOCRRequest, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, EnglishOCRRequest, VatInvoiceVerifyResponse, SmartStructuralOCRResponse, VerifyEnterpriseFourFactorsRequest, RecognizeIndonesiaIDCardOCRRequest, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, FlightInvoiceOCRResponse, InstitutionOCRRequest, RideHailingDriverLicenseOCRRequest, QueryBarCodeResponse, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, FinanBillSliceOCRRequest, MLIDPassportOCRResponse, VatRollInvoiceOCRRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, RecognizeHealthCodeOCRRequest, BankSlipOCRResponse, VinOCRResponse, GetTaskStateResponse, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, QueryBarCodeRequest, CreateAIFormTaskResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, ShipInvoiceOCRResponse, GetTaskStateRequest, RecognizeMedicalInvoiceOCRRequest, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, BusInvoiceOCRResponse, MainlandPermitOCRResponse, MLIDCardOCRRequest, EnglishOCRResponse, BusInvoiceOCRRequest, QuotaInvoiceOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, InsuranceBillOCRRequest, ImageEnhancementRequest, GeneralHandwritingOCRResponse, TableOCRResponse, AdvertiseOCRResponse, VehicleLicenseOCRRequest, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, WaybillOCRRequest, VinOCRRequest, RideHailingTransportLicenseOCRRequest, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, VerifyBasicBizLicenseRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, QuotaInvoiceOCRRequest, BankCardOCRResponse, BusinessCardOCRRequest, RecognizePhilippinesDrivingLicenseOCRResponse, FinanBillOCRRequest, VerifyEnterpriseFourFactorsResponse, GeneralFastOCRResponse } from "./ocr_models";
3
3
  /**
4
4
  * ocr client
5
5
  * @class
@@ -34,6 +34,12 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
34
34
  产品优势:直联中国物品编码中心,查询结果更加准确、可靠。
35
35
  */
36
36
  QueryBarCode(req: QueryBarCodeRequest, cb?: (error: string, rep: QueryBarCodeResponse) => void): Promise<QueryBarCodeResponse>;
37
+ /**
38
+ * 本接口支持识别并提取各类证照、票据、表单、合同等结构化场景的字段信息。无需任何配置,灵活高效。适用于各类结构化信息录入场景。
39
+
40
+ 默认接口请求频率限制:10次/秒。
41
+ */
42
+ SmartStructuralOCRV2(req: SmartStructuralOCRV2Request, cb?: (error: string, rep: SmartStructuralOCRV2Response) => void): Promise<SmartStructuralOCRV2Response>;
37
43
  /**
38
44
  * 本接口支持智能化识别各类企业登记证书、许可证书、企业执照、三证合一类证书,结构化输出统一社会信用代码、公司名称、法定代表人、公司地址、注册资金、企业类型、经营范围等关键字段。
39
45
 
@@ -63,6 +63,14 @@ class Client extends TencentCloudCommon.AbstractClient {
63
63
  async QueryBarCode(req, cb) {
64
64
  return this.request("QueryBarCode", req, cb);
65
65
  }
66
+ /**
67
+ * 本接口支持识别并提取各类证照、票据、表单、合同等结构化场景的字段信息。无需任何配置,灵活高效。适用于各类结构化信息录入场景。
68
+
69
+ 默认接口请求频率限制:10次/秒。
70
+ */
71
+ async SmartStructuralOCRV2(req, cb) {
72
+ return this.request("SmartStructuralOCRV2", req, cb);
73
+ }
66
74
  /**
67
75
  * 本接口支持智能化识别各类企业登记证书、许可证书、企业执照、三证合一类证书,结构化输出统一社会信用代码、公司名称、法定代表人、公司地址、注册资金、企业类型、经营范围等关键字段。
68
76