tencentcloud-sdk-nodejs-ocr 4.0.981 → 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
  /**
@@ -3560,28 +3427,34 @@ WARN_DRIVER_LICENSE_BORDER_INCOMPLETE 边框不完整告警
3560
3427
  }
3561
3428
 
3562
3429
  /**
3563
- * RecognizePhilippinesSssIDOCR请求参数结构体
3430
+ * VatInvoiceOCR请求参数结构体
3564
3431
  */
3565
- export interface RecognizePhilippinesSssIDOCRRequest {
3566
- /**
3567
- * 是否返回人像照片。
3568
- */
3569
- ReturnHeadImage: boolean
3432
+ export interface VatInvoiceOCRRequest {
3570
3433
  /**
3571
- * 图片的 Base64 值。
3572
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
3573
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
3574
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
3434
+ * 图片/PDF的 Base64 值。
3435
+ 支持的文件格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
3436
+ 支持的图片/PDF大小:所下载文件经Base64编码后不超过 7M。文件下载时间不超过 3 秒。
3437
+ 支持的图片像素:需介于20-10000px之间。
3438
+ 输入参数 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
3575
3439
  */
3576
3440
  ImageBase64?: string
3577
3441
  /**
3578
- * 图片的 Url 地址。
3579
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
3580
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
3442
+ * 图片/PDF的 Url 地址。
3443
+ 支持的文件格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
3444
+ 支持的图片/PDF大小:所下载文件经 Base64 编码后不超过 7M。文件下载时间不超过 3 秒。
3445
+ 支持的图片像素:需介于20-10000px之间。
3581
3446
  图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
3582
3447
  非腾讯云存储的 Url 速度和稳定性可能受一定影响。
3583
3448
  */
3584
3449
  ImageUrl?: string
3450
+ /**
3451
+ * 是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
3452
+ */
3453
+ IsPdf?: boolean
3454
+ /**
3455
+ * 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
3456
+ */
3457
+ PdfPageNumber?: number
3585
3458
  }
3586
3459
 
3587
3460
  /**
@@ -4498,32 +4371,6 @@ export interface VatInvoiceInfo {
4498
4371
  SubTax?: string
4499
4372
  }
4500
4373
 
4501
- /**
4502
- * RecognizePhilippinesSssIDOCR返回参数结构体
4503
- */
4504
- export interface RecognizePhilippinesSssIDOCRResponse {
4505
- /**
4506
- * 人像照片Base64后的结果
4507
- */
4508
- HeadPortrait?: TextDetectionResult
4509
- /**
4510
- * 编号
4511
- */
4512
- LicenseNumber?: TextDetectionResult
4513
- /**
4514
- * 姓名
4515
- */
4516
- FullName?: TextDetectionResult
4517
- /**
4518
- * 生日
4519
- */
4520
- Birthday?: TextDetectionResult
4521
- /**
4522
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4523
- */
4524
- RequestId?: string
4525
- }
4526
-
4527
4374
  /**
4528
4375
  * TaxiInvoiceOCR请求参数结构体
4529
4376
  */
@@ -4749,24 +4596,6 @@ export interface FinancialBillItem {
4749
4596
  Remark?: string
4750
4597
  }
4751
4598
 
4752
- /**
4753
- * 混贴票据中单张发票的内容
4754
- */
4755
- export interface SingleInvoiceInfo {
4756
- /**
4757
- * 识别出的字段名称
4758
- */
4759
- Name?: string
4760
- /**
4761
- * 识别出的字段名称对应的值,也就是字段name对应的字符串结果。
4762
- */
4763
- Value?: string
4764
- /**
4765
- * 字段属于第几行,用于相同字段的排版,如发票明细表格项目,普通字段使用默认值为-1,表示无列排版。
4766
- */
4767
- Row?: number
4768
- }
4769
-
4770
4599
  /**
4771
4600
  * RecognizeContainerOCR请求参数结构体
4772
4601
  */
@@ -5739,41 +5568,24 @@ export interface CardWarnInfo {
5739
5568
  }
5740
5569
 
5741
5570
  /**
5742
- * RecognizeKoreanIDCardOCR返回参数结构体
5571
+ * VehicleRegCertOCR请求参数结构体
5743
5572
  */
5744
- export interface RecognizeKoreanIDCardOCRResponse {
5745
- /**
5746
- * 身份证号码
5747
- */
5748
- ID?: string
5749
- /**
5750
- * 地址
5751
- */
5752
- Address?: string
5753
- /**
5754
- * 姓名
5755
- */
5756
- Name?: string
5757
- /**
5758
- * 发证日期
5759
- */
5760
- DateOfIssue?: string
5761
- /**
5762
- * 人像截图Base64后的结果
5763
- */
5764
- Photo?: string
5765
- /**
5766
- * 性别
5767
- */
5768
- Sex?: string
5573
+ export interface VehicleRegCertOCRRequest {
5769
5574
  /**
5770
- * 生日,格式为dd/mm/yyyy
5575
+ * 图片的 Base64 值。
5576
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
5577
+ 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
5578
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
5771
5579
  */
5772
- Birthday?: string
5580
+ ImageBase64?: string
5773
5581
  /**
5774
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5582
+ * 图片的 Url 地址。
5583
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
5584
+ 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
5585
+ 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
5586
+ 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
5775
5587
  */
5776
- RequestId?: string
5588
+ ImageUrl?: string
5777
5589
  }
5778
5590
 
5779
5591
  /**
@@ -6158,116 +5970,24 @@ export interface TextVehicleBack {
6158
5970
  }
6159
5971
 
6160
5972
  /**
6161
- * RecognizeIndonesiaIDCardOCR返回参数结构体
5973
+ * ReconstructDocument返回参数结构体
6162
5974
  */
6163
- export interface RecognizeIndonesiaIDCardOCRResponse {
5975
+ export interface ReconstructDocumentResponse {
6164
5976
  /**
6165
- * 证件号码
5977
+ * 识别生成的Markdown文件base64编码的字符串
5978
+ 注意:此字段可能返回 null,表示取不到有效值。
6166
5979
  */
6167
- NIK?: string
5980
+ MarkdownBase64?: string
6168
5981
  /**
6169
- * 姓名
5982
+ * 输入文件中嵌入的图片放在一个文件夹中打包为.zip压缩文件,识别生成的Markdown文件通过路径关联插入本文件夹中的图片。
5983
+ 注意:此字段可能返回 null,表示取不到有效值。
6170
5984
  */
6171
- Nama?: string
5985
+ InsetImagePackage?: string
6172
5986
  /**
6173
- * 出生地/出生时间
5987
+ * 输入文件中嵌入的图片中文字内容的识别结果
5988
+ 注意:此字段可能返回 null,表示取不到有效值。
6174
5989
  */
6175
- TempatTglLahir?: string
6176
- /**
6177
- * 性别
6178
- */
6179
- JenisKelamin?: string
6180
- /**
6181
- * 血型
6182
- */
6183
- GolDarah?: string
6184
- /**
6185
- * 地址
6186
- */
6187
- Alamat?: string
6188
- /**
6189
- * 街道
6190
- */
6191
- RTRW?: string
6192
- /**
6193
- * 村
6194
- */
6195
- KelDesa?: string
6196
- /**
6197
- * 地区
6198
- */
6199
- Kecamatan?: string
6200
- /**
6201
- * 宗教信仰
6202
- */
6203
- Agama?: string
6204
- /**
6205
- * 婚姻状况
6206
- */
6207
- StatusPerkawinan?: string
6208
- /**
6209
- * 职业
6210
- */
6211
- Perkerjaan?: string
6212
- /**
6213
- * 国籍
6214
- */
6215
- KewargaNegaraan?: string
6216
- /**
6217
- * 身份证有效期限
6218
- */
6219
- BerlakuHingga?: string
6220
- /**
6221
- * 发证日期
6222
- */
6223
- IssuedDate?: string
6224
- /**
6225
- * 人像截图
6226
- */
6227
- Photo?: string
6228
- /**
6229
- * 省份,Scene为V2时支持识别
6230
- */
6231
- Provinsi?: string
6232
- /**
6233
- * 城市,Scene为V2时支持识别
6234
- */
6235
- Kota?: string
6236
- /**
6237
- * 告警码
6238
- -9101 证件边框不完整告警
6239
- -9102 证件复印件告警
6240
- -9103 证件翻拍告警
6241
- -9107 证件反光告警
6242
- -9108 证件模糊告警
6243
- -9109 告警能力未开通
6244
- */
6245
- WarnCardInfos?: Array<number | bigint>
6246
- /**
6247
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6248
- */
6249
- RequestId?: string
6250
- }
6251
-
6252
- /**
6253
- * ReconstructDocument返回参数结构体
6254
- */
6255
- export interface ReconstructDocumentResponse {
6256
- /**
6257
- * 识别生成的Markdown文件base64编码的字符串
6258
- 注意:此字段可能返回 null,表示取不到有效值。
6259
- */
6260
- MarkdownBase64?: string
6261
- /**
6262
- * 输入文件中嵌入的图片放在一个文件夹中打包为.zip压缩文件,识别生成的Markdown文件通过路径关联插入本文件夹中的图片。
6263
- 注意:此字段可能返回 null,表示取不到有效值。
6264
- */
6265
- InsetImagePackage?: string
6266
- /**
6267
- * 输入文件中嵌入的图片中文字内容的识别结果
6268
- 注意:此字段可能返回 null,表示取不到有效值。
6269
- */
6270
- DocumentRecognizeInfo?: Array<DocumentRecognizeInfo>
5990
+ DocumentRecognizeInfo?: Array<DocumentRecognizeInfo>
6271
5991
  /**
6272
5992
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6273
5993
  */
@@ -6292,48 +6012,6 @@ export interface GeneralEfficientOCRRequest {
6292
6012
  ImageUrl?: string
6293
6013
  }
6294
6014
 
6295
- /**
6296
- * RecognizePhilippinesUMIDOCR返回参数结构体
6297
- */
6298
- export interface RecognizePhilippinesUMIDOCRResponse {
6299
- /**
6300
- * 姓
6301
- */
6302
- Surname?: TextDetectionResult
6303
- /**
6304
- * 中间名
6305
- */
6306
- MiddleName?: TextDetectionResult
6307
- /**
6308
- * 名
6309
- */
6310
- GivenName?: TextDetectionResult
6311
- /**
6312
- * 地址
6313
- */
6314
- Address?: TextDetectionResult
6315
- /**
6316
- * 生日
6317
- */
6318
- Birthday?: TextDetectionResult
6319
- /**
6320
- * crn码
6321
- */
6322
- CRN?: TextDetectionResult
6323
- /**
6324
- * 性别
6325
- */
6326
- Sex?: TextDetectionResult
6327
- /**
6328
- * 人像照片Base64后的结果
6329
- */
6330
- HeadPortrait?: TextDetectionResult
6331
- /**
6332
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6333
- */
6334
- RequestId?: string
6335
- }
6336
-
6337
6015
  /**
6338
6016
  * AdvertiseOCR请求参数结构体
6339
6017
  */
@@ -7267,22 +6945,6 @@ export interface FinanBillSliceInfo {
7267
6945
  Value?: string
7268
6946
  }
7269
6947
 
7270
- /**
7271
- * RideHailingDriverLicenseOCR请求参数结构体
7272
- */
7273
- export interface RideHailingDriverLicenseOCRRequest {
7274
- /**
7275
- * 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
7276
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
7277
- */
7278
- ImageBase64?: string
7279
- /**
7280
- * 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
7281
- 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
7282
- */
7283
- ImageUrl?: string
7284
- }
7285
-
7286
6948
  /**
7287
6949
  * 敏感数据加密
7288
6950
  */
@@ -8065,31 +7727,6 @@ export interface TextGeneralHandwriting {
8065
7727
  WordPolygon: Array<Polygon>
8066
7728
  }
8067
7729
 
8068
- /**
8069
- * RecognizePhilippinesVoteIDOCR请求参数结构体
8070
- */
8071
- export interface RecognizePhilippinesVoteIDOCRRequest {
8072
- /**
8073
- * 是否返回人像照片。
8074
- */
8075
- ReturnHeadImage: boolean
8076
- /**
8077
- * 图片的 Base64 值。
8078
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
8079
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
8080
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
8081
- */
8082
- ImageBase64?: string
8083
- /**
8084
- * 图片的 Url 地址。
8085
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
8086
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
8087
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
8088
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
8089
- */
8090
- ImageUrl?: string
8091
- }
8092
-
8093
7730
  /**
8094
7731
  * PassportOCR请求参数结构体
8095
7732
  */
@@ -10410,27 +10047,6 @@ export interface TableOCRResponse {
10410
10047
  RequestId?: string
10411
10048
  }
10412
10049
 
10413
- /**
10414
- * VehicleRegCertOCR请求参数结构体
10415
- */
10416
- export interface VehicleRegCertOCRRequest {
10417
- /**
10418
- * 图片的 Base64 值。
10419
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
10420
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
10421
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
10422
- */
10423
- ImageBase64?: string
10424
- /**
10425
- * 图片的 Url 地址。
10426
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
10427
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
10428
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
10429
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
10430
- */
10431
- ImageUrl?: string
10432
- }
10433
-
10434
10050
  /**
10435
10051
  * 单字在原图中的坐标,以四个顶点坐标表示,以左上角为起点,顺时针返回。
10436
10052
  */
@@ -10455,31 +10071,6 @@ export interface QuestionBlockObj {
10455
10071
  QuestionBboxCoord: Rect
10456
10072
  }
10457
10073
 
10458
- /**
10459
- * RecognizeKoreanIDCardOCR请求参数结构体
10460
- */
10461
- export interface RecognizeKoreanIDCardOCRRequest {
10462
- /**
10463
- * 图片的 Base64 值。
10464
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
10465
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
10466
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
10467
- */
10468
- ImageBase64?: string
10469
- /**
10470
- * 图片的 Url 地址。
10471
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
10472
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
10473
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
10474
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
10475
- */
10476
- ImageUrl?: string
10477
- /**
10478
- * 是否返回人像照片。
10479
- */
10480
- ReturnHeadImage?: boolean
10481
- }
10482
-
10483
10074
  /**
10484
10075
  * AdvertiseOCR返回参数结构体
10485
10076
  */
@@ -10719,52 +10310,19 @@ export interface VinOCRRequest {
10719
10310
  }
10720
10311
 
10721
10312
  /**
10722
- * VatInvoiceOCR请求参数结构体
10723
- */
10724
- export interface VatInvoiceOCRRequest {
10725
- /**
10726
- * 图片/PDF的 Base64 值。
10727
- 支持的文件格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
10728
- 支持的图片/PDF大小:所下载文件经Base64编码后不超过 7M。文件下载时间不超过 3 秒。
10729
- 支持的图片像素:需介于20-10000px之间。
10730
- 输入参数 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
10731
- */
10732
- ImageBase64?: string
10733
- /**
10734
- * 图片/PDF的 Url 地址。
10735
- 支持的文件格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
10736
- 支持的图片/PDF大小:所下载文件经 Base64 编码后不超过 7M。文件下载时间不超过 3 秒。
10737
- 支持的图片像素:需介于20-10000px之间。
10738
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
10739
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
10740
- */
10741
- ImageUrl?: string
10742
- /**
10743
- * 是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
10744
- */
10745
- IsPdf?: boolean
10746
- /**
10747
- * 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
10748
- */
10749
- PdfPageNumber?: number
10750
- }
10751
-
10752
- /**
10753
- * RecognizePhilippinesUMIDOCR请求参数结构体
10313
+ * RideHailingTransportLicenseOCR请求参数结构体
10754
10314
  */
10755
- export interface RecognizePhilippinesUMIDOCRRequest {
10315
+ export interface RideHailingTransportLicenseOCRRequest {
10756
10316
  /**
10757
- * 图片的 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。
10758
10319
  */
10759
10320
  ImageBase64?: string
10760
10321
  /**
10761
- * 图片的 Url 地址。 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
10322
+ * 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
10323
+ 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
10762
10324
  */
10763
10325
  ImageUrl?: string
10764
- /**
10765
- * 是否返回人像照片。
10766
- */
10767
- ReturnHeadImage?: boolean
10768
10326
  }
10769
10327
 
10770
10328
  /**
@@ -10842,31 +10400,6 @@ MyKid 儿童卡
10842
10400
  RequestId?: string
10843
10401
  }
10844
10402
 
10845
- /**
10846
- * RecognizePhilippinesTinIDOCR请求参数结构体
10847
- */
10848
- export interface RecognizePhilippinesTinIDOCRRequest {
10849
- /**
10850
- * 是否返回人像照片。
10851
- */
10852
- ReturnHeadImage: boolean
10853
- /**
10854
- * 图片的 Base64 值。
10855
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
10856
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
10857
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
10858
- */
10859
- ImageBase64?: string
10860
- /**
10861
- * 图片的 Url 地址。
10862
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
10863
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
10864
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
10865
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
10866
- */
10867
- ImageUrl?: string
10868
- }
10869
-
10870
10403
  /**
10871
10404
  * RecognizeTableOCR请求参数结构体
10872
10405
  */
@@ -11272,64 +10805,6 @@ Config = {"RetImageType":"PROPROCESS"}
11272
10805
  Config?: string
11273
10806
  }
11274
10807
 
11275
- /**
11276
- * RecognizePhilippinesDrivingLicenseOCR返回参数结构体
11277
- */
11278
- export interface RecognizePhilippinesDrivingLicenseOCRResponse {
11279
- /**
11280
- * 人像照片Base64后的结果
11281
- */
11282
- HeadPortrait?: TextDetectionResult
11283
- /**
11284
- * 姓名
11285
- */
11286
- Name?: TextDetectionResult
11287
- /**
11288
- * 姓氏
11289
- */
11290
- LastName?: TextDetectionResult
11291
- /**
11292
- * 首姓名
11293
- */
11294
- FirstName?: TextDetectionResult
11295
- /**
11296
- * 中间姓名
11297
- */
11298
- MiddleName?: TextDetectionResult
11299
- /**
11300
- * 国籍
11301
- */
11302
- Nationality?: TextDetectionResult
11303
- /**
11304
- * 性别
11305
- */
11306
- Sex?: TextDetectionResult
11307
- /**
11308
- * 地址
11309
- */
11310
- Address?: TextDetectionResult
11311
- /**
11312
- * 证号
11313
- */
11314
- LicenseNo?: TextDetectionResult
11315
- /**
11316
- * 有效期
11317
- */
11318
- ExpiresDate?: TextDetectionResult
11319
- /**
11320
- * 机构代码
11321
- */
11322
- AgencyCode?: TextDetectionResult
11323
- /**
11324
- * 出生日期
11325
- */
11326
- Birthday?: TextDetectionResult
11327
- /**
11328
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11329
- */
11330
- RequestId?: string
11331
- }
11332
-
11333
10808
  /**
11334
10809
  * FinanBillOCR请求参数结构体
11335
10810
  */