tencentcloud-sdk-nodejs-ocr 4.0.980 → 4.0.982

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.
@@ -431,20 +431,6 @@ export interface CarInvoiceOCRRequest {
431
431
  PdfPageNumber?: number
432
432
  }
433
433
 
434
- /**
435
- * 识别结果
436
- */
437
- export interface TextDetectionResult {
438
- /**
439
- * 识别出的文本行内容
440
- */
441
- Value?: string
442
- /**
443
- * 坐标,以四个顶点坐标表示
444
- */
445
- Polygon?: Array<Coord>
446
- }
447
-
448
434
  /**
449
435
  * 混贴票据单张发票识别信息
450
436
  */
@@ -629,31 +615,6 @@ export interface FlightInvoiceOCRRequest {
629
615
  PdfPageNumber?: number
630
616
  }
631
617
 
632
- /**
633
- * RecognizePhilippinesDrivingLicenseOCR请求参数结构体
634
- */
635
- export interface RecognizePhilippinesDrivingLicenseOCRRequest {
636
- /**
637
- * 图片的 Base64 值。
638
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
639
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
640
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
641
- */
642
- ImageBase64?: string
643
- /**
644
- * 图片的 Url 地址。
645
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
646
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
647
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
648
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
649
- */
650
- ImageUrl?: string
651
- /**
652
- * 是否返回人像照片。
653
- */
654
- ReturnHeadImage?: boolean
655
- }
656
-
657
618
  /**
658
619
  * 还原文本信息
659
620
  */
@@ -1327,19 +1288,21 @@ export interface LicensePlateInfo {
1327
1288
  }
1328
1289
 
1329
1290
  /**
1330
- * RideHailingTransportLicenseOCR请求参数结构体
1291
+ * 混贴票据中单张发票的内容
1331
1292
  */
1332
- export interface RideHailingTransportLicenseOCRRequest {
1293
+ export interface SingleInvoiceInfo {
1333
1294
  /**
1334
- * 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
1335
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
1295
+ * 识别出的字段名称
1336
1296
  */
1337
- ImageBase64?: string
1297
+ Name?: string
1338
1298
  /**
1339
- * 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
1340
- 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
1299
+ * 识别出的字段名称对应的值,也就是字段name对应的字符串结果。
1341
1300
  */
1342
- ImageUrl?: string
1301
+ Value?: string
1302
+ /**
1303
+ * 字段属于第几行,用于相同字段的排版,如发票明细表格项目,普通字段使用默认值为-1,表示无列排版。
1304
+ */
1305
+ Row?: number
1343
1306
  }
1344
1307
 
1345
1308
  /**
@@ -1621,38 +1584,6 @@ export interface RecognizeKoreanDrivingLicenseOCRResponse {
1621
1584
  RequestId?: string
1622
1585
  }
1623
1586
 
1624
- /**
1625
- * RecognizeIndonesiaIDCardOCR请求参数结构体
1626
- */
1627
- export interface RecognizeIndonesiaIDCardOCRRequest {
1628
- /**
1629
- * 图片的 Base64 值。
1630
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
1631
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
1632
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
1633
- */
1634
- ImageBase64?: string
1635
- /**
1636
- * 图片的 Url 地址。
1637
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
1638
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
1639
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
1640
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
1641
- */
1642
- ImageUrl?: string
1643
- /**
1644
- * 是否返回人像照片。
1645
- */
1646
- ReturnHeadImage?: boolean
1647
- /**
1648
- * 场景参数,默认值为V1
1649
- 可选值:
1650
- V1
1651
- V2
1652
- */
1653
- Scene?: string
1654
- }
1655
-
1656
1587
  /**
1657
1588
  * RecognizeKoreanDrivingLicenseOCR请求参数结构体
1658
1589
  */
@@ -2549,40 +2480,6 @@ export interface TrainTicketOCRResponse {
2549
2480
  RequestId?: string
2550
2481
  }
2551
2482
 
2552
- /**
2553
- * RecognizePhilippinesTinIDOCR返回参数结构体
2554
- */
2555
- export interface RecognizePhilippinesTinIDOCRResponse {
2556
- /**
2557
- * 人像照片Base64后的结果
2558
- */
2559
- HeadPortrait?: TextDetectionResult
2560
- /**
2561
- * 编码
2562
- */
2563
- LicenseNumber?: TextDetectionResult
2564
- /**
2565
- * 姓名
2566
- */
2567
- FullName?: TextDetectionResult
2568
- /**
2569
- * 地址
2570
- */
2571
- Address?: TextDetectionResult
2572
- /**
2573
- * 生日
2574
- */
2575
- Birthday?: TextDetectionResult
2576
- /**
2577
- * 发证日期
2578
- */
2579
- IssueDate?: TextDetectionResult
2580
- /**
2581
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2582
- */
2583
- RequestId?: string
2584
- }
2585
-
2586
2483
  /**
2587
2484
  * 过路过桥费字段信息
2588
2485
  */
@@ -2812,49 +2709,19 @@ export interface MixedInvoiceDetectResponse {
2812
2709
  }
2813
2710
 
2814
2711
  /**
2815
- * RecognizePhilippinesVoteIDOCR返回参数结构体
2712
+ * RideHailingDriverLicenseOCR请求参数结构体
2816
2713
  */
2817
- export interface RecognizePhilippinesVoteIDOCRResponse {
2818
- /**
2819
- * 人像照片Base64后的结果
2820
- */
2821
- HeadPortrait?: TextDetectionResult
2822
- /**
2823
- * 菲律宾VoteID的VIN
2824
- */
2825
- VIN?: TextDetectionResult
2826
- /**
2827
- * 姓名
2828
- */
2829
- FirstName?: TextDetectionResult
2830
- /**
2831
- * 姓氏
2832
- */
2833
- LastName?: TextDetectionResult
2834
- /**
2835
- * 出生日期
2836
- */
2837
- Birthday?: TextDetectionResult
2838
- /**
2839
- * 婚姻状况
2840
- */
2841
- CivilStatus?: TextDetectionResult
2842
- /**
2843
- * 国籍
2844
- */
2845
- Citizenship?: TextDetectionResult
2846
- /**
2847
- * 地址
2848
- */
2849
- Address?: TextDetectionResult
2714
+ export interface RideHailingDriverLicenseOCRRequest {
2850
2715
  /**
2851
- * 地区
2716
+ * 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
2717
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
2852
2718
  */
2853
- PrecinctNo?: TextDetectionResult
2719
+ ImageBase64?: string
2854
2720
  /**
2855
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2721
+ * 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
2722
+ 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
2856
2723
  */
2857
- RequestId?: string
2724
+ ImageUrl?: string
2858
2725
  }
2859
2726
 
2860
2727
  /**
@@ -3549,6 +3416,10 @@ WARN_DRIVER_LICENSE_BORDER_INCOMPLETE 边框不完整告警
3549
3416
  注:告警信息可以同时存在多个
3550
3417
  */
3551
3418
  RecognizeWarnMsg?: Array<string>
3419
+ /**
3420
+ * 行驶证类型 电子行驶证:Electronic 普通行驶证:Normal
3421
+ */
3422
+ VehicleLicenseType?: string
3552
3423
  /**
3553
3424
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3554
3425
  */
@@ -3556,28 +3427,34 @@ WARN_DRIVER_LICENSE_BORDER_INCOMPLETE 边框不完整告警
3556
3427
  }
3557
3428
 
3558
3429
  /**
3559
- * RecognizePhilippinesSssIDOCR请求参数结构体
3430
+ * VatInvoiceOCR请求参数结构体
3560
3431
  */
3561
- export interface RecognizePhilippinesSssIDOCRRequest {
3562
- /**
3563
- * 是否返回人像照片。
3564
- */
3565
- ReturnHeadImage: boolean
3432
+ export interface VatInvoiceOCRRequest {
3566
3433
  /**
3567
- * 图片的 Base64 值。
3568
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
3569
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
3570
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
3434
+ * 图片/PDF的 Base64 值。
3435
+ 支持的文件格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
3436
+ 支持的图片/PDF大小:所下载文件经Base64编码后不超过 7M。文件下载时间不超过 3 秒。
3437
+ 支持的图片像素:需介于20-10000px之间。
3438
+ 输入参数 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
3571
3439
  */
3572
3440
  ImageBase64?: string
3573
3441
  /**
3574
- * 图片的 Url 地址。
3575
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
3576
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
3442
+ * 图片/PDF的 Url 地址。
3443
+ 支持的文件格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
3444
+ 支持的图片/PDF大小:所下载文件经 Base64 编码后不超过 7M。文件下载时间不超过 3 秒。
3445
+ 支持的图片像素:需介于20-10000px之间。
3577
3446
  图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
3578
3447
  非腾讯云存储的 Url 速度和稳定性可能受一定影响。
3579
3448
  */
3580
3449
  ImageUrl?: string
3450
+ /**
3451
+ * 是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
3452
+ */
3453
+ IsPdf?: boolean
3454
+ /**
3455
+ * 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
3456
+ */
3457
+ PdfPageNumber?: number
3581
3458
  }
3582
3459
 
3583
3460
  /**
@@ -4494,32 +4371,6 @@ export interface VatInvoiceInfo {
4494
4371
  SubTax?: string
4495
4372
  }
4496
4373
 
4497
- /**
4498
- * RecognizePhilippinesSssIDOCR返回参数结构体
4499
- */
4500
- export interface RecognizePhilippinesSssIDOCRResponse {
4501
- /**
4502
- * 人像照片Base64后的结果
4503
- */
4504
- HeadPortrait?: TextDetectionResult
4505
- /**
4506
- * 编号
4507
- */
4508
- LicenseNumber?: TextDetectionResult
4509
- /**
4510
- * 姓名
4511
- */
4512
- FullName?: TextDetectionResult
4513
- /**
4514
- * 生日
4515
- */
4516
- Birthday?: TextDetectionResult
4517
- /**
4518
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4519
- */
4520
- RequestId?: string
4521
- }
4522
-
4523
4374
  /**
4524
4375
  * TaxiInvoiceOCR请求参数结构体
4525
4376
  */
@@ -4745,24 +4596,6 @@ export interface FinancialBillItem {
4745
4596
  Remark?: string
4746
4597
  }
4747
4598
 
4748
- /**
4749
- * 混贴票据中单张发票的内容
4750
- */
4751
- export interface SingleInvoiceInfo {
4752
- /**
4753
- * 识别出的字段名称
4754
- */
4755
- Name?: string
4756
- /**
4757
- * 识别出的字段名称对应的值,也就是字段name对应的字符串结果。
4758
- */
4759
- Value?: string
4760
- /**
4761
- * 字段属于第几行,用于相同字段的排版,如发票明细表格项目,普通字段使用默认值为-1,表示无列排版。
4762
- */
4763
- Row?: number
4764
- }
4765
-
4766
4599
  /**
4767
4600
  * RecognizeContainerOCR请求参数结构体
4768
4601
  */
@@ -5735,41 +5568,24 @@ export interface CardWarnInfo {
5735
5568
  }
5736
5569
 
5737
5570
  /**
5738
- * RecognizeKoreanIDCardOCR返回参数结构体
5571
+ * VehicleRegCertOCR请求参数结构体
5739
5572
  */
5740
- export interface RecognizeKoreanIDCardOCRResponse {
5741
- /**
5742
- * 身份证号码
5743
- */
5744
- ID?: string
5745
- /**
5746
- * 地址
5747
- */
5748
- Address?: string
5749
- /**
5750
- * 姓名
5751
- */
5752
- Name?: string
5753
- /**
5754
- * 发证日期
5755
- */
5756
- DateOfIssue?: string
5757
- /**
5758
- * 人像截图Base64后的结果
5759
- */
5760
- Photo?: string
5761
- /**
5762
- * 性别
5763
- */
5764
- Sex?: string
5573
+ export interface VehicleRegCertOCRRequest {
5765
5574
  /**
5766
- * 生日,格式为dd/mm/yyyy
5575
+ * 图片的 Base64 值。
5576
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
5577
+ 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
5578
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
5767
5579
  */
5768
- Birthday?: string
5580
+ ImageBase64?: string
5769
5581
  /**
5770
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5582
+ * 图片的 Url 地址。
5583
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
5584
+ 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
5585
+ 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
5586
+ 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
5771
5587
  */
5772
- RequestId?: string
5588
+ ImageUrl?: string
5773
5589
  }
5774
5590
 
5775
5591
  /**
@@ -6143,109 +5959,25 @@ export interface TextVehicleBack {
6143
5959
  注意:此字段可能返回 null,表示取不到有效值。
6144
5960
  */
6145
5961
  FuelType?: string
5962
+ /**
5963
+ * 住址
5964
+ */
5965
+ AddressElectronic?: string
5966
+ /**
5967
+ * 发证机关
5968
+ */
5969
+ IssueAuthorityElectronic?: string
6146
5970
  }
6147
5971
 
6148
5972
  /**
6149
- * RecognizeIndonesiaIDCardOCR返回参数结构体
5973
+ * ReconstructDocument返回参数结构体
6150
5974
  */
6151
- export interface RecognizeIndonesiaIDCardOCRResponse {
5975
+ export interface ReconstructDocumentResponse {
6152
5976
  /**
6153
- * 证件号码
5977
+ * 识别生成的Markdown文件base64编码的字符串
5978
+ 注意:此字段可能返回 null,表示取不到有效值。
6154
5979
  */
6155
- NIK?: string
6156
- /**
6157
- * 姓名
6158
- */
6159
- Nama?: string
6160
- /**
6161
- * 出生地/出生时间
6162
- */
6163
- TempatTglLahir?: string
6164
- /**
6165
- * 性别
6166
- */
6167
- JenisKelamin?: string
6168
- /**
6169
- * 血型
6170
- */
6171
- GolDarah?: string
6172
- /**
6173
- * 地址
6174
- */
6175
- Alamat?: string
6176
- /**
6177
- * 街道
6178
- */
6179
- RTRW?: string
6180
- /**
6181
- * 村
6182
- */
6183
- KelDesa?: string
6184
- /**
6185
- * 地区
6186
- */
6187
- Kecamatan?: string
6188
- /**
6189
- * 宗教信仰
6190
- */
6191
- Agama?: string
6192
- /**
6193
- * 婚姻状况
6194
- */
6195
- StatusPerkawinan?: string
6196
- /**
6197
- * 职业
6198
- */
6199
- Perkerjaan?: string
6200
- /**
6201
- * 国籍
6202
- */
6203
- KewargaNegaraan?: string
6204
- /**
6205
- * 身份证有效期限
6206
- */
6207
- BerlakuHingga?: string
6208
- /**
6209
- * 发证日期
6210
- */
6211
- IssuedDate?: string
6212
- /**
6213
- * 人像截图
6214
- */
6215
- Photo?: string
6216
- /**
6217
- * 省份,Scene为V2时支持识别
6218
- */
6219
- Provinsi?: string
6220
- /**
6221
- * 城市,Scene为V2时支持识别
6222
- */
6223
- Kota?: string
6224
- /**
6225
- * 告警码
6226
- -9101 证件边框不完整告警
6227
- -9102 证件复印件告警
6228
- -9103 证件翻拍告警
6229
- -9107 证件反光告警
6230
- -9108 证件模糊告警
6231
- -9109 告警能力未开通
6232
- */
6233
- WarnCardInfos?: Array<number | bigint>
6234
- /**
6235
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6236
- */
6237
- RequestId?: string
6238
- }
6239
-
6240
- /**
6241
- * ReconstructDocument返回参数结构体
6242
- */
6243
- export interface ReconstructDocumentResponse {
6244
- /**
6245
- * 识别生成的Markdown文件base64编码的字符串
6246
- 注意:此字段可能返回 null,表示取不到有效值。
6247
- */
6248
- MarkdownBase64?: string
5980
+ MarkdownBase64?: string
6249
5981
  /**
6250
5982
  * 输入文件中嵌入的图片放在一个文件夹中打包为.zip压缩文件,识别生成的Markdown文件通过路径关联插入本文件夹中的图片。
6251
5983
  注意:此字段可能返回 null,表示取不到有效值。
@@ -6280,48 +6012,6 @@ export interface GeneralEfficientOCRRequest {
6280
6012
  ImageUrl?: string
6281
6013
  }
6282
6014
 
6283
- /**
6284
- * RecognizePhilippinesUMIDOCR返回参数结构体
6285
- */
6286
- export interface RecognizePhilippinesUMIDOCRResponse {
6287
- /**
6288
- * 姓
6289
- */
6290
- Surname?: TextDetectionResult
6291
- /**
6292
- * 中间名
6293
- */
6294
- MiddleName?: TextDetectionResult
6295
- /**
6296
- * 名
6297
- */
6298
- GivenName?: TextDetectionResult
6299
- /**
6300
- * 地址
6301
- */
6302
- Address?: TextDetectionResult
6303
- /**
6304
- * 生日
6305
- */
6306
- Birthday?: TextDetectionResult
6307
- /**
6308
- * crn码
6309
- */
6310
- CRN?: TextDetectionResult
6311
- /**
6312
- * 性别
6313
- */
6314
- Sex?: TextDetectionResult
6315
- /**
6316
- * 人像照片Base64后的结果
6317
- */
6318
- HeadPortrait?: TextDetectionResult
6319
- /**
6320
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6321
- */
6322
- RequestId?: string
6323
- }
6324
-
6325
6015
  /**
6326
6016
  * AdvertiseOCR请求参数结构体
6327
6017
  */
@@ -7255,22 +6945,6 @@ export interface FinanBillSliceInfo {
7255
6945
  Value?: string
7256
6946
  }
7257
6947
 
7258
- /**
7259
- * RideHailingDriverLicenseOCR请求参数结构体
7260
- */
7261
- export interface RideHailingDriverLicenseOCRRequest {
7262
- /**
7263
- * 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
7264
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
7265
- */
7266
- ImageBase64?: string
7267
- /**
7268
- * 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
7269
- 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
7270
- */
7271
- ImageUrl?: string
7272
- }
7273
-
7274
6948
  /**
7275
6949
  * 敏感数据加密
7276
6950
  */
@@ -8053,31 +7727,6 @@ export interface TextGeneralHandwriting {
8053
7727
  WordPolygon: Array<Polygon>
8054
7728
  }
8055
7729
 
8056
- /**
8057
- * RecognizePhilippinesVoteIDOCR请求参数结构体
8058
- */
8059
- export interface RecognizePhilippinesVoteIDOCRRequest {
8060
- /**
8061
- * 是否返回人像照片。
8062
- */
8063
- ReturnHeadImage: boolean
8064
- /**
8065
- * 图片的 Base64 值。
8066
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
8067
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
8068
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
8069
- */
8070
- ImageBase64?: string
8071
- /**
8072
- * 图片的 Url 地址。
8073
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
8074
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
8075
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
8076
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
8077
- */
8078
- ImageUrl?: string
8079
- }
8080
-
8081
7730
  /**
8082
7731
  * PassportOCR请求参数结构体
8083
7732
  */
@@ -10398,27 +10047,6 @@ export interface TableOCRResponse {
10398
10047
  RequestId?: string
10399
10048
  }
10400
10049
 
10401
- /**
10402
- * VehicleRegCertOCR请求参数结构体
10403
- */
10404
- export interface VehicleRegCertOCRRequest {
10405
- /**
10406
- * 图片的 Base64 值。
10407
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
10408
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
10409
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
10410
- */
10411
- ImageBase64?: string
10412
- /**
10413
- * 图片的 Url 地址。
10414
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
10415
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
10416
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
10417
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
10418
- */
10419
- ImageUrl?: string
10420
- }
10421
-
10422
10050
  /**
10423
10051
  * 单字在原图中的坐标,以四个顶点坐标表示,以左上角为起点,顺时针返回。
10424
10052
  */
@@ -10443,31 +10071,6 @@ export interface QuestionBlockObj {
10443
10071
  QuestionBboxCoord: Rect
10444
10072
  }
10445
10073
 
10446
- /**
10447
- * RecognizeKoreanIDCardOCR请求参数结构体
10448
- */
10449
- export interface RecognizeKoreanIDCardOCRRequest {
10450
- /**
10451
- * 图片的 Base64 值。
10452
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
10453
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
10454
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
10455
- */
10456
- ImageBase64?: string
10457
- /**
10458
- * 图片的 Url 地址。
10459
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
10460
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
10461
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
10462
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
10463
- */
10464
- ImageUrl?: string
10465
- /**
10466
- * 是否返回人像照片。
10467
- */
10468
- ReturnHeadImage?: boolean
10469
- }
10470
-
10471
10074
  /**
10472
10075
  * AdvertiseOCR返回参数结构体
10473
10076
  */
@@ -10707,52 +10310,19 @@ export interface VinOCRRequest {
10707
10310
  }
10708
10311
 
10709
10312
  /**
10710
- * VatInvoiceOCR请求参数结构体
10711
- */
10712
- export interface VatInvoiceOCRRequest {
10713
- /**
10714
- * 图片/PDF的 Base64 值。
10715
- 支持的文件格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
10716
- 支持的图片/PDF大小:所下载文件经Base64编码后不超过 7M。文件下载时间不超过 3 秒。
10717
- 支持的图片像素:需介于20-10000px之间。
10718
- 输入参数 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
10719
- */
10720
- ImageBase64?: string
10721
- /**
10722
- * 图片/PDF的 Url 地址。
10723
- 支持的文件格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
10724
- 支持的图片/PDF大小:所下载文件经 Base64 编码后不超过 7M。文件下载时间不超过 3 秒。
10725
- 支持的图片像素:需介于20-10000px之间。
10726
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
10727
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
10728
- */
10729
- ImageUrl?: string
10730
- /**
10731
- * 是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
10732
- */
10733
- IsPdf?: boolean
10734
- /**
10735
- * 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
10736
- */
10737
- PdfPageNumber?: number
10738
- }
10739
-
10740
- /**
10741
- * RecognizePhilippinesUMIDOCR请求参数结构体
10313
+ * RideHailingTransportLicenseOCR请求参数结构体
10742
10314
  */
10743
- export interface RecognizePhilippinesUMIDOCRRequest {
10315
+ export interface RideHailingTransportLicenseOCRRequest {
10744
10316
  /**
10745
- * 图片的 Base64 值。 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
10317
+ * 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
10318
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
10746
10319
  */
10747
10320
  ImageBase64?: string
10748
10321
  /**
10749
- * 图片的 Url 地址。 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
10322
+ * 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
10323
+ 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
10750
10324
  */
10751
10325
  ImageUrl?: string
10752
- /**
10753
- * 是否返回人像照片。
10754
- */
10755
- ReturnHeadImage?: boolean
10756
10326
  }
10757
10327
 
10758
10328
  /**
@@ -10830,31 +10400,6 @@ MyKid 儿童卡
10830
10400
  RequestId?: string
10831
10401
  }
10832
10402
 
10833
- /**
10834
- * RecognizePhilippinesTinIDOCR请求参数结构体
10835
- */
10836
- export interface RecognizePhilippinesTinIDOCRRequest {
10837
- /**
10838
- * 是否返回人像照片。
10839
- */
10840
- ReturnHeadImage: boolean
10841
- /**
10842
- * 图片的 Base64 值。
10843
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
10844
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
10845
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
10846
- */
10847
- ImageBase64?: string
10848
- /**
10849
- * 图片的 Url 地址。
10850
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
10851
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
10852
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
10853
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
10854
- */
10855
- ImageUrl?: string
10856
- }
10857
-
10858
10403
  /**
10859
10404
  * RecognizeTableOCR请求参数结构体
10860
10405
  */
@@ -11260,64 +10805,6 @@ Config = {"RetImageType":"PROPROCESS"}
11260
10805
  Config?: string
11261
10806
  }
11262
10807
 
11263
- /**
11264
- * RecognizePhilippinesDrivingLicenseOCR返回参数结构体
11265
- */
11266
- export interface RecognizePhilippinesDrivingLicenseOCRResponse {
11267
- /**
11268
- * 人像照片Base64后的结果
11269
- */
11270
- HeadPortrait?: TextDetectionResult
11271
- /**
11272
- * 姓名
11273
- */
11274
- Name?: TextDetectionResult
11275
- /**
11276
- * 姓氏
11277
- */
11278
- LastName?: TextDetectionResult
11279
- /**
11280
- * 首姓名
11281
- */
11282
- FirstName?: TextDetectionResult
11283
- /**
11284
- * 中间姓名
11285
- */
11286
- MiddleName?: TextDetectionResult
11287
- /**
11288
- * 国籍
11289
- */
11290
- Nationality?: TextDetectionResult
11291
- /**
11292
- * 性别
11293
- */
11294
- Sex?: TextDetectionResult
11295
- /**
11296
- * 地址
11297
- */
11298
- Address?: TextDetectionResult
11299
- /**
11300
- * 证号
11301
- */
11302
- LicenseNo?: TextDetectionResult
11303
- /**
11304
- * 有效期
11305
- */
11306
- ExpiresDate?: TextDetectionResult
11307
- /**
11308
- * 机构代码
11309
- */
11310
- AgencyCode?: TextDetectionResult
11311
- /**
11312
- * 出生日期
11313
- */
11314
- Birthday?: TextDetectionResult
11315
- /**
11316
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11317
- */
11318
- RequestId?: string
11319
- }
11320
-
11321
10808
  /**
11322
10809
  * FinanBillOCR请求参数结构体
11323
10810
  */