tencentcloud-sdk-nodejs-ocr 4.0.981 → 4.0.983

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.
@@ -402,19 +402,6 @@ export interface CarInvoiceOCRRequest {
402
402
  */
403
403
  PdfPageNumber?: number;
404
404
  }
405
- /**
406
- * 识别结果
407
- */
408
- export interface TextDetectionResult {
409
- /**
410
- * 识别出的文本行内容
411
- */
412
- Value?: string;
413
- /**
414
- * 坐标,以四个顶点坐标表示
415
- */
416
- Polygon?: Array<Coord>;
417
- }
418
405
  /**
419
406
  * 混贴票据单张发票识别信息
420
407
  */
@@ -594,30 +581,6 @@ export interface FlightInvoiceOCRRequest {
594
581
  */
595
582
  PdfPageNumber?: number;
596
583
  }
597
- /**
598
- * RecognizePhilippinesDrivingLicenseOCR请求参数结构体
599
- */
600
- export interface RecognizePhilippinesDrivingLicenseOCRRequest {
601
- /**
602
- * 图片的 Base64 值。
603
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
604
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
605
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
606
- */
607
- ImageBase64?: string;
608
- /**
609
- * 图片的 Url 地址。
610
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
611
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
612
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
613
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
614
- */
615
- ImageUrl?: string;
616
- /**
617
- * 是否返回人像照片。
618
- */
619
- ReturnHeadImage?: boolean;
620
- }
621
584
  /**
622
585
  * 还原文本信息
623
586
  */
@@ -1272,19 +1235,21 @@ export interface LicensePlateInfo {
1272
1235
  Color?: string;
1273
1236
  }
1274
1237
  /**
1275
- * RideHailingTransportLicenseOCR请求参数结构体
1238
+ * 混贴票据中单张发票的内容
1276
1239
  */
1277
- export interface RideHailingTransportLicenseOCRRequest {
1240
+ export interface SingleInvoiceInfo {
1278
1241
  /**
1279
- * 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
1280
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
1242
+ * 识别出的字段名称
1281
1243
  */
1282
- ImageBase64?: string;
1244
+ Name?: string;
1283
1245
  /**
1284
- * 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
1285
- 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
1246
+ * 识别出的字段名称对应的值,也就是字段name对应的字符串结果。
1286
1247
  */
1287
- ImageUrl?: string;
1248
+ Value?: string;
1249
+ /**
1250
+ * 字段属于第几行,用于相同字段的排版,如发票明细表格项目,普通字段使用默认值为-1,表示无列排版。
1251
+ */
1252
+ Row?: number;
1288
1253
  }
1289
1254
  /**
1290
1255
  * 增值税普通发票(卷票)条目
@@ -1503,112 +1468,30 @@ export interface EnterpriseLicenseOCRResponse {
1503
1468
  RequestId?: string;
1504
1469
  }
1505
1470
  /**
1506
- * RecognizeKoreanDrivingLicenseOCR返回参数结构体
1507
- */
1508
- export interface RecognizeKoreanDrivingLicenseOCRResponse {
1509
- /**
1510
- * 身份证号码
1511
- */
1512
- ID?: string;
1513
- /**
1514
- * 驾照号码
1515
- */
1516
- LicenseNumber?: string;
1517
- /**
1518
- * 居民登记号码
1519
- */
1520
- Number?: string;
1521
- /**
1522
- * 驾照类型
1523
- */
1524
- Type?: string;
1525
- /**
1526
- * 地址
1527
- */
1528
- Address?: string;
1529
- /**
1530
- * 姓名
1531
- */
1532
- Name?: string;
1533
- /**
1534
- * 换证时间
1535
- */
1536
- AptitudeTesDate?: string;
1537
- /**
1538
- * 发证日期
1539
- */
1540
- DateOfIssue?: string;
1541
- /**
1542
- * 人像截图Base64后的结果
1543
- */
1544
- Photo?: string;
1545
- /**
1546
- * 性别
1547
- */
1548
- Sex?: string;
1549
- /**
1550
- * 生日,格式为dd/mm/yyyy
1551
- */
1552
- Birthday?: string;
1553
- /**
1554
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1555
- */
1556
- RequestId?: string;
1557
- }
1558
- /**
1559
- * RecognizeIndonesiaIDCardOCR请求参数结构体
1471
+ * 印章信息
1560
1472
  */
1561
- export interface RecognizeIndonesiaIDCardOCRRequest {
1562
- /**
1563
- * 图片的 Base64 值。
1564
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
1565
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
1566
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
1567
- */
1568
- ImageBase64?: string;
1569
- /**
1570
- * 图片的 Url 地址。
1571
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
1572
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
1573
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
1574
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
1575
- */
1576
- ImageUrl?: string;
1577
- /**
1578
- * 是否返回人像照片。
1579
- */
1580
- ReturnHeadImage?: boolean;
1473
+ export interface SealInfo {
1581
1474
  /**
1582
- * 场景参数,默认值为V1
1583
- 可选值:
1584
- V1
1585
- V2
1475
+ * 印章主体内容
1586
1476
  */
1587
- Scene?: string;
1588
- }
1589
- /**
1590
- * RecognizeKoreanDrivingLicenseOCR请求参数结构体
1591
- */
1592
- export interface RecognizeKoreanDrivingLicenseOCRRequest {
1477
+ SealBody: string;
1593
1478
  /**
1594
- * 图片的 Base64 值。
1595
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
1596
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
1597
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
1479
+ * 印章坐标
1598
1480
  */
1599
- ImageBase64?: string;
1481
+ Location: Rect;
1600
1482
  /**
1601
- * 图片的 Url 地址。
1602
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
1603
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
1604
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
1605
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
1483
+ * 印章其它文本内容
1606
1484
  */
1607
- ImageUrl?: string;
1485
+ OtherTexts: Array<string>;
1608
1486
  /**
1609
- * 是否返回人像照片。
1487
+ * 印章类型,表示为:
1488
+ 圆形印章:0
1489
+ 椭圆形印章:1
1490
+ 方形印章:2
1491
+ 菱形印章:3
1492
+ 三角形印章:4
1610
1493
  */
1611
- ReturnHeadImage?: boolean;
1494
+ SealShape: string;
1612
1495
  }
1613
1496
  /**
1614
1497
  * 通用机打发票信息
@@ -2454,39 +2337,6 @@ export interface TrainTicketOCRResponse {
2454
2337
  */
2455
2338
  RequestId?: string;
2456
2339
  }
2457
- /**
2458
- * RecognizePhilippinesTinIDOCR返回参数结构体
2459
- */
2460
- export interface RecognizePhilippinesTinIDOCRResponse {
2461
- /**
2462
- * 人像照片Base64后的结果
2463
- */
2464
- HeadPortrait?: TextDetectionResult;
2465
- /**
2466
- * 编码
2467
- */
2468
- LicenseNumber?: TextDetectionResult;
2469
- /**
2470
- * 姓名
2471
- */
2472
- FullName?: TextDetectionResult;
2473
- /**
2474
- * 地址
2475
- */
2476
- Address?: TextDetectionResult;
2477
- /**
2478
- * 生日
2479
- */
2480
- Birthday?: TextDetectionResult;
2481
- /**
2482
- * 发证日期
2483
- */
2484
- IssueDate?: TextDetectionResult;
2485
- /**
2486
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2487
- */
2488
- RequestId?: string;
2489
- }
2490
2340
  /**
2491
2341
  * 过路过桥费字段信息
2492
2342
  */
@@ -2706,49 +2556,19 @@ export interface MixedInvoiceDetectResponse {
2706
2556
  RequestId?: string;
2707
2557
  }
2708
2558
  /**
2709
- * RecognizePhilippinesVoteIDOCR返回参数结构体
2559
+ * RideHailingDriverLicenseOCR请求参数结构体
2710
2560
  */
2711
- export interface RecognizePhilippinesVoteIDOCRResponse {
2712
- /**
2713
- * 人像照片Base64后的结果
2714
- */
2715
- HeadPortrait?: TextDetectionResult;
2716
- /**
2717
- * 菲律宾VoteID的VIN
2718
- */
2719
- VIN?: TextDetectionResult;
2720
- /**
2721
- * 姓名
2722
- */
2723
- FirstName?: TextDetectionResult;
2724
- /**
2725
- * 姓氏
2726
- */
2727
- LastName?: TextDetectionResult;
2728
- /**
2729
- * 出生日期
2730
- */
2731
- Birthday?: TextDetectionResult;
2732
- /**
2733
- * 婚姻状况
2734
- */
2735
- CivilStatus?: TextDetectionResult;
2736
- /**
2737
- * 国籍
2738
- */
2739
- Citizenship?: TextDetectionResult;
2740
- /**
2741
- * 地址
2742
- */
2743
- Address?: TextDetectionResult;
2561
+ export interface RideHailingDriverLicenseOCRRequest {
2744
2562
  /**
2745
- * 地区
2563
+ * 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
2564
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
2746
2565
  */
2747
- PrecinctNo?: TextDetectionResult;
2566
+ ImageBase64?: string;
2748
2567
  /**
2749
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2568
+ * 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
2569
+ 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
2750
2570
  */
2751
- RequestId?: string;
2571
+ ImageUrl?: string;
2752
2572
  }
2753
2573
  /**
2754
2574
  * 发票人员信息
@@ -3435,28 +3255,34 @@ export interface VehicleLicenseOCRResponse {
3435
3255
  RequestId?: string;
3436
3256
  }
3437
3257
  /**
3438
- * RecognizePhilippinesSssIDOCR请求参数结构体
3258
+ * VatInvoiceOCR请求参数结构体
3439
3259
  */
3440
- export interface RecognizePhilippinesSssIDOCRRequest {
3441
- /**
3442
- * 是否返回人像照片。
3443
- */
3444
- ReturnHeadImage: boolean;
3260
+ export interface VatInvoiceOCRRequest {
3445
3261
  /**
3446
- * 图片的 Base64 值。
3447
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
3448
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
3449
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
3262
+ * 图片/PDF的 Base64 值。
3263
+ 支持的文件格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
3264
+ 支持的图片/PDF大小:所下载文件经Base64编码后不超过 7M。文件下载时间不超过 3 秒。
3265
+ 支持的图片像素:需介于20-10000px之间。
3266
+ 输入参数 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
3450
3267
  */
3451
3268
  ImageBase64?: string;
3452
3269
  /**
3453
- * 图片的 Url 地址。
3454
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
3455
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
3270
+ * 图片/PDF的 Url 地址。
3271
+ 支持的文件格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
3272
+ 支持的图片/PDF大小:所下载文件经 Base64 编码后不超过 7M。文件下载时间不超过 3 秒。
3273
+ 支持的图片像素:需介于20-10000px之间。
3456
3274
  图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
3457
3275
  非腾讯云存储的 Url 速度和稳定性可能受一定影响。
3458
3276
  */
3459
3277
  ImageUrl?: string;
3278
+ /**
3279
+ * 是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
3280
+ */
3281
+ IsPdf?: boolean;
3282
+ /**
3283
+ * 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
3284
+ */
3285
+ PdfPageNumber?: number;
3460
3286
  }
3461
3287
  /**
3462
3288
  * key信息组
@@ -4353,31 +4179,6 @@ export interface VatInvoiceInfo {
4353
4179
  */
4354
4180
  SubTax?: string;
4355
4181
  }
4356
- /**
4357
- * RecognizePhilippinesSssIDOCR返回参数结构体
4358
- */
4359
- export interface RecognizePhilippinesSssIDOCRResponse {
4360
- /**
4361
- * 人像照片Base64后的结果
4362
- */
4363
- HeadPortrait?: TextDetectionResult;
4364
- /**
4365
- * 编号
4366
- */
4367
- LicenseNumber?: TextDetectionResult;
4368
- /**
4369
- * 姓名
4370
- */
4371
- FullName?: TextDetectionResult;
4372
- /**
4373
- * 生日
4374
- */
4375
- Birthday?: TextDetectionResult;
4376
- /**
4377
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4378
- */
4379
- RequestId?: string;
4380
- }
4381
4182
  /**
4382
4183
  * TaxiInvoiceOCR请求参数结构体
4383
4184
  */
@@ -4600,23 +4401,6 @@ export interface FinancialBillItem {
4600
4401
  */
4601
4402
  Remark?: string;
4602
4403
  }
4603
- /**
4604
- * 混贴票据中单张发票的内容
4605
- */
4606
- export interface SingleInvoiceInfo {
4607
- /**
4608
- * 识别出的字段名称
4609
- */
4610
- Name?: string;
4611
- /**
4612
- * 识别出的字段名称对应的值,也就是字段name对应的字符串结果。
4613
- */
4614
- Value?: string;
4615
- /**
4616
- * 字段属于第几行,用于相同字段的排版,如发票明细表格项目,普通字段使用默认值为-1,表示无列排版。
4617
- */
4618
- Row?: number;
4619
- }
4620
4404
  /**
4621
4405
  * RecognizeContainerOCR请求参数结构体
4622
4406
  */
@@ -5570,41 +5354,24 @@ export interface CardWarnInfo {
5570
5354
  PSCheck?: number;
5571
5355
  }
5572
5356
  /**
5573
- * RecognizeKoreanIDCardOCR返回参数结构体
5357
+ * VehicleRegCertOCR请求参数结构体
5574
5358
  */
5575
- export interface RecognizeKoreanIDCardOCRResponse {
5576
- /**
5577
- * 身份证号码
5578
- */
5579
- ID?: string;
5580
- /**
5581
- * 地址
5582
- */
5583
- Address?: string;
5584
- /**
5585
- * 姓名
5586
- */
5587
- Name?: string;
5588
- /**
5589
- * 发证日期
5590
- */
5591
- DateOfIssue?: string;
5592
- /**
5593
- * 人像截图Base64后的结果
5594
- */
5595
- Photo?: string;
5596
- /**
5597
- * 性别
5598
- */
5599
- Sex?: string;
5359
+ export interface VehicleRegCertOCRRequest {
5600
5360
  /**
5601
- * 生日,格式为dd/mm/yyyy
5361
+ * 图片的 Base64 值。
5362
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
5363
+ 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
5364
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
5602
5365
  */
5603
- Birthday?: string;
5366
+ ImageBase64?: string;
5604
5367
  /**
5605
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5368
+ * 图片的 Url 地址。
5369
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
5370
+ 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
5371
+ 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
5372
+ 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
5606
5373
  */
5607
- RequestId?: string;
5374
+ ImageUrl?: string;
5608
5375
  }
5609
5376
  /**
5610
5377
  * RecognizeTravelCardOCR返回参数结构体
@@ -5954,122 +5721,31 @@ export interface TextVehicleBack {
5954
5721
  * 检验记录
5955
5722
  注意:此字段可能返回 null,表示取不到有效值。
5956
5723
  */
5957
- Record?: string;
5958
- /**
5959
- * 准牵引总质量
5960
- 注意:此字段可能返回 null,表示取不到有效值。
5961
- */
5962
- TotalQuasiMass?: string;
5963
- /**
5964
- * 副页编码
5965
- 注意:此字段可能返回 null,表示取不到有效值。
5966
- */
5967
- SubPageCode?: string;
5968
- /**
5969
- * 燃料种类
5970
-
5971
- 注意:此字段可能返回 null,表示取不到有效值。
5972
- */
5973
- FuelType?: string;
5974
- /**
5975
- * 住址
5976
- */
5977
- AddressElectronic?: string;
5978
- /**
5979
- * 发证机关
5980
- */
5981
- IssueAuthorityElectronic?: string;
5982
- }
5983
- /**
5984
- * RecognizeIndonesiaIDCardOCR返回参数结构体
5985
- */
5986
- export interface RecognizeIndonesiaIDCardOCRResponse {
5987
- /**
5988
- * 证件号码
5989
- */
5990
- NIK?: string;
5991
- /**
5992
- * 姓名
5993
- */
5994
- Nama?: string;
5995
- /**
5996
- * 出生地/出生时间
5997
- */
5998
- TempatTglLahir?: string;
5999
- /**
6000
- * 性别
6001
- */
6002
- JenisKelamin?: string;
6003
- /**
6004
- * 血型
6005
- */
6006
- GolDarah?: string;
6007
- /**
6008
- * 地址
6009
- */
6010
- Alamat?: string;
6011
- /**
6012
- * 街道
6013
- */
6014
- RTRW?: string;
6015
- /**
6016
- * 村
6017
- */
6018
- KelDesa?: string;
6019
- /**
6020
- * 地区
6021
- */
6022
- Kecamatan?: string;
6023
- /**
6024
- * 宗教信仰
6025
- */
6026
- Agama?: string;
6027
- /**
6028
- * 婚姻状况
6029
- */
6030
- StatusPerkawinan?: string;
6031
- /**
6032
- * 职业
6033
- */
6034
- Perkerjaan?: string;
6035
- /**
6036
- * 国籍
6037
- */
6038
- KewargaNegaraan?: string;
6039
- /**
6040
- * 身份证有效期限
6041
- */
6042
- BerlakuHingga?: string;
6043
- /**
6044
- * 发证日期
6045
- */
6046
- IssuedDate?: string;
5724
+ Record?: string;
6047
5725
  /**
6048
- * 人像截图
5726
+ * 准牵引总质量
5727
+ 注意:此字段可能返回 null,表示取不到有效值。
6049
5728
  */
6050
- Photo?: string;
5729
+ TotalQuasiMass?: string;
6051
5730
  /**
6052
- * 省份,Scene为V2时支持识别
5731
+ * 副页编码
5732
+ 注意:此字段可能返回 null,表示取不到有效值。
6053
5733
  */
6054
- Provinsi?: string;
5734
+ SubPageCode?: string;
6055
5735
  /**
6056
- * 城市,Scene为V2时支持识别
5736
+ * 燃料种类
5737
+
5738
+ 注意:此字段可能返回 null,表示取不到有效值。
6057
5739
  */
6058
- Kota?: string;
5740
+ FuelType?: string;
6059
5741
  /**
6060
- * 告警码
6061
- -9101 证件边框不完整告警
6062
- -9102 证件复印件告警
6063
- -9103 证件翻拍告警
6064
- -9107 证件反光告警
6065
- -9108 证件模糊告警
6066
- -9109 告警能力未开通
5742
+ * 住址
6067
5743
  */
6068
- WarnCardInfos?: Array<number | bigint>;
5744
+ AddressElectronic?: string;
6069
5745
  /**
6070
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5746
+ * 发证机关
6071
5747
  */
6072
- RequestId?: string;
5748
+ IssueAuthorityElectronic?: string;
6073
5749
  }
6074
5750
  /**
6075
5751
  * ReconstructDocument返回参数结构体
@@ -6112,47 +5788,6 @@ export interface GeneralEfficientOCRRequest {
6112
5788
  */
6113
5789
  ImageUrl?: string;
6114
5790
  }
6115
- /**
6116
- * RecognizePhilippinesUMIDOCR返回参数结构体
6117
- */
6118
- export interface RecognizePhilippinesUMIDOCRResponse {
6119
- /**
6120
- * 姓
6121
- */
6122
- Surname?: TextDetectionResult;
6123
- /**
6124
- * 中间名
6125
- */
6126
- MiddleName?: TextDetectionResult;
6127
- /**
6128
- * 名
6129
- */
6130
- GivenName?: TextDetectionResult;
6131
- /**
6132
- * 地址
6133
- */
6134
- Address?: TextDetectionResult;
6135
- /**
6136
- * 生日
6137
- */
6138
- Birthday?: TextDetectionResult;
6139
- /**
6140
- * crn码
6141
- */
6142
- CRN?: TextDetectionResult;
6143
- /**
6144
- * 性别
6145
- */
6146
- Sex?: TextDetectionResult;
6147
- /**
6148
- * 人像照片Base64后的结果
6149
- */
6150
- HeadPortrait?: TextDetectionResult;
6151
- /**
6152
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6153
- */
6154
- RequestId?: string;
6155
- }
6156
5791
  /**
6157
5792
  * AdvertiseOCR请求参数结构体
6158
5793
  */
@@ -7060,21 +6695,6 @@ export interface FinanBillSliceInfo {
7060
6695
  */
7061
6696
  Value?: string;
7062
6697
  }
7063
- /**
7064
- * RideHailingDriverLicenseOCR请求参数结构体
7065
- */
7066
- export interface RideHailingDriverLicenseOCRRequest {
7067
- /**
7068
- * 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
7069
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
7070
- */
7071
- ImageBase64?: string;
7072
- /**
7073
- * 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
7074
- 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
7075
- */
7076
- ImageUrl?: string;
7077
- }
7078
6698
  /**
7079
6699
  * 敏感数据加密
7080
6700
  */
@@ -7833,30 +7453,6 @@ export interface TextGeneralHandwriting {
7833
7453
  */
7834
7454
  WordPolygon: Array<Polygon>;
7835
7455
  }
7836
- /**
7837
- * RecognizePhilippinesVoteIDOCR请求参数结构体
7838
- */
7839
- export interface RecognizePhilippinesVoteIDOCRRequest {
7840
- /**
7841
- * 是否返回人像照片。
7842
- */
7843
- ReturnHeadImage: boolean;
7844
- /**
7845
- * 图片的 Base64 值。
7846
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
7847
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
7848
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
7849
- */
7850
- ImageBase64?: string;
7851
- /**
7852
- * 图片的 Url 地址。
7853
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
7854
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
7855
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
7856
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
7857
- */
7858
- ImageUrl?: string;
7859
- }
7860
7456
  /**
7861
7457
  * PassportOCR请求参数结构体
7862
7458
  */
@@ -10116,26 +9712,6 @@ export interface TableOCRResponse {
10116
9712
  */
10117
9713
  RequestId?: string;
10118
9714
  }
10119
- /**
10120
- * VehicleRegCertOCR请求参数结构体
10121
- */
10122
- export interface VehicleRegCertOCRRequest {
10123
- /**
10124
- * 图片的 Base64 值。
10125
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
10126
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
10127
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
10128
- */
10129
- ImageBase64?: string;
10130
- /**
10131
- * 图片的 Url 地址。
10132
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
10133
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
10134
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
10135
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
10136
- */
10137
- ImageUrl?: string;
10138
- }
10139
9715
  /**
10140
9716
  * 单字在原图中的坐标,以四个顶点坐标表示,以左上角为起点,顺时针返回。
10141
9717
  */
@@ -10158,30 +9734,6 @@ export interface QuestionBlockObj {
10158
9734
  */
10159
9735
  QuestionBboxCoord: Rect;
10160
9736
  }
10161
- /**
10162
- * RecognizeKoreanIDCardOCR请求参数结构体
10163
- */
10164
- export interface RecognizeKoreanIDCardOCRRequest {
10165
- /**
10166
- * 图片的 Base64 值。
10167
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
10168
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
10169
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
10170
- */
10171
- ImageBase64?: string;
10172
- /**
10173
- * 图片的 Url 地址。
10174
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
10175
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
10176
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
10177
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
10178
- */
10179
- ImageUrl?: string;
10180
- /**
10181
- * 是否返回人像照片。
10182
- */
10183
- ReturnHeadImage?: boolean;
10184
- }
10185
9737
  /**
10186
9738
  * AdvertiseOCR返回参数结构体
10187
9739
  */
@@ -10412,51 +9964,19 @@ export interface VinOCRRequest {
10412
9964
  ImageUrl?: string;
10413
9965
  }
10414
9966
  /**
10415
- * VatInvoiceOCR请求参数结构体
10416
- */
10417
- export interface VatInvoiceOCRRequest {
10418
- /**
10419
- * 图片/PDF的 Base64 值。
10420
- 支持的文件格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
10421
- 支持的图片/PDF大小:所下载文件经Base64编码后不超过 7M。文件下载时间不超过 3 秒。
10422
- 支持的图片像素:需介于20-10000px之间。
10423
- 输入参数 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
10424
- */
10425
- ImageBase64?: string;
10426
- /**
10427
- * 图片/PDF的 Url 地址。
10428
- 支持的文件格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
10429
- 支持的图片/PDF大小:所下载文件经 Base64 编码后不超过 7M。文件下载时间不超过 3 秒。
10430
- 支持的图片像素:需介于20-10000px之间。
10431
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
10432
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
10433
- */
10434
- ImageUrl?: string;
10435
- /**
10436
- * 是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
10437
- */
10438
- IsPdf?: boolean;
10439
- /**
10440
- * 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
10441
- */
10442
- PdfPageNumber?: number;
10443
- }
10444
- /**
10445
- * RecognizePhilippinesUMIDOCR请求参数结构体
9967
+ * RideHailingTransportLicenseOCR请求参数结构体
10446
9968
  */
10447
- export interface RecognizePhilippinesUMIDOCRRequest {
9969
+ export interface RideHailingTransportLicenseOCRRequest {
10448
9970
  /**
10449
- * 图片的 Base64 值。 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
9971
+ * 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
9972
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
10450
9973
  */
10451
9974
  ImageBase64?: string;
10452
9975
  /**
10453
- * 图片的 Url 地址。 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
9976
+ * 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
9977
+ 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
10454
9978
  */
10455
9979
  ImageUrl?: string;
10456
- /**
10457
- * 是否返回人像照片。
10458
- */
10459
- ReturnHeadImage?: boolean;
10460
9980
  }
10461
9981
  /**
10462
9982
  * MLIDCardOCR返回参数结构体
@@ -10532,30 +10052,6 @@ export interface MLIDCardOCRResponse {
10532
10052
  */
10533
10053
  RequestId?: string;
10534
10054
  }
10535
- /**
10536
- * RecognizePhilippinesTinIDOCR请求参数结构体
10537
- */
10538
- export interface RecognizePhilippinesTinIDOCRRequest {
10539
- /**
10540
- * 是否返回人像照片。
10541
- */
10542
- ReturnHeadImage: boolean;
10543
- /**
10544
- * 图片的 Base64 值。
10545
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
10546
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
10547
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
10548
- */
10549
- ImageBase64?: string;
10550
- /**
10551
- * 图片的 Url 地址。
10552
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
10553
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
10554
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
10555
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
10556
- */
10557
- ImageUrl?: string;
10558
- }
10559
10055
  /**
10560
10056
  * RecognizeTableOCR请求参数结构体
10561
10057
  */
@@ -10893,32 +10389,6 @@ export interface BankCardOCRResponse {
10893
10389
  */
10894
10390
  RequestId?: string;
10895
10391
  }
10896
- /**
10897
- * 印章信息
10898
- */
10899
- export interface SealInfo {
10900
- /**
10901
- * 印章主体内容
10902
- */
10903
- SealBody: string;
10904
- /**
10905
- * 印章坐标
10906
- */
10907
- Location: Rect;
10908
- /**
10909
- * 印章其它文本内容
10910
- */
10911
- OtherTexts: Array<string>;
10912
- /**
10913
- * 印章类型,表示为:
10914
- 圆形印章:0
10915
- 椭圆形印章:1
10916
- 方形印章:2
10917
- 菱形印章:3
10918
- 三角形印章:4
10919
- */
10920
- SealShape: string;
10921
- }
10922
10392
  /**
10923
10393
  * BusinessCardOCR请求参数结构体
10924
10394
  */
@@ -10951,63 +10421,6 @@ export interface BusinessCardOCRRequest {
10951
10421
  */
10952
10422
  Config?: string;
10953
10423
  }
10954
- /**
10955
- * RecognizePhilippinesDrivingLicenseOCR返回参数结构体
10956
- */
10957
- export interface RecognizePhilippinesDrivingLicenseOCRResponse {
10958
- /**
10959
- * 人像照片Base64后的结果
10960
- */
10961
- HeadPortrait?: TextDetectionResult;
10962
- /**
10963
- * 姓名
10964
- */
10965
- Name?: TextDetectionResult;
10966
- /**
10967
- * 姓氏
10968
- */
10969
- LastName?: TextDetectionResult;
10970
- /**
10971
- * 首姓名
10972
- */
10973
- FirstName?: TextDetectionResult;
10974
- /**
10975
- * 中间姓名
10976
- */
10977
- MiddleName?: TextDetectionResult;
10978
- /**
10979
- * 国籍
10980
- */
10981
- Nationality?: TextDetectionResult;
10982
- /**
10983
- * 性别
10984
- */
10985
- Sex?: TextDetectionResult;
10986
- /**
10987
- * 地址
10988
- */
10989
- Address?: TextDetectionResult;
10990
- /**
10991
- * 证号
10992
- */
10993
- LicenseNo?: TextDetectionResult;
10994
- /**
10995
- * 有效期
10996
- */
10997
- ExpiresDate?: TextDetectionResult;
10998
- /**
10999
- * 机构代码
11000
- */
11001
- AgencyCode?: TextDetectionResult;
11002
- /**
11003
- * 出生日期
11004
- */
11005
- Birthday?: TextDetectionResult;
11006
- /**
11007
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11008
- */
11009
- RequestId?: string;
11010
- }
11011
10424
  /**
11012
10425
  * FinanBillOCR请求参数结构体
11013
10426
  */