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.
@@ -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
  * 增值税普通发票(卷票)条目
@@ -1555,37 +1520,6 @@ export interface RecognizeKoreanDrivingLicenseOCRResponse {
1555
1520
  */
1556
1521
  RequestId?: string;
1557
1522
  }
1558
- /**
1559
- * RecognizeIndonesiaIDCardOCR请求参数结构体
1560
- */
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;
1581
- /**
1582
- * 场景参数,默认值为V1
1583
- 可选值:
1584
- V1
1585
- V2
1586
- */
1587
- Scene?: string;
1588
- }
1589
1523
  /**
1590
1524
  * RecognizeKoreanDrivingLicenseOCR请求参数结构体
1591
1525
  */
@@ -2454,39 +2388,6 @@ export interface TrainTicketOCRResponse {
2454
2388
  */
2455
2389
  RequestId?: string;
2456
2390
  }
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
2391
  /**
2491
2392
  * 过路过桥费字段信息
2492
2393
  */
@@ -2706,49 +2607,19 @@ export interface MixedInvoiceDetectResponse {
2706
2607
  RequestId?: string;
2707
2608
  }
2708
2609
  /**
2709
- * RecognizePhilippinesVoteIDOCR返回参数结构体
2610
+ * RideHailingDriverLicenseOCR请求参数结构体
2710
2611
  */
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;
2612
+ export interface RideHailingDriverLicenseOCRRequest {
2744
2613
  /**
2745
- * 地区
2614
+ * 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
2615
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
2746
2616
  */
2747
- PrecinctNo?: TextDetectionResult;
2617
+ ImageBase64?: string;
2748
2618
  /**
2749
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2619
+ * 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
2620
+ 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
2750
2621
  */
2751
- RequestId?: string;
2622
+ ImageUrl?: string;
2752
2623
  }
2753
2624
  /**
2754
2625
  * 发票人员信息
@@ -3435,28 +3306,34 @@ export interface VehicleLicenseOCRResponse {
3435
3306
  RequestId?: string;
3436
3307
  }
3437
3308
  /**
3438
- * RecognizePhilippinesSssIDOCR请求参数结构体
3309
+ * VatInvoiceOCR请求参数结构体
3439
3310
  */
3440
- export interface RecognizePhilippinesSssIDOCRRequest {
3441
- /**
3442
- * 是否返回人像照片。
3443
- */
3444
- ReturnHeadImage: boolean;
3311
+ export interface VatInvoiceOCRRequest {
3445
3312
  /**
3446
- * 图片的 Base64 值。
3447
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
3448
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
3449
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
3313
+ * 图片/PDF的 Base64 值。
3314
+ 支持的文件格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
3315
+ 支持的图片/PDF大小:所下载文件经Base64编码后不超过 7M。文件下载时间不超过 3 秒。
3316
+ 支持的图片像素:需介于20-10000px之间。
3317
+ 输入参数 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
3450
3318
  */
3451
3319
  ImageBase64?: string;
3452
3320
  /**
3453
- * 图片的 Url 地址。
3454
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
3455
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
3321
+ * 图片/PDF的 Url 地址。
3322
+ 支持的文件格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
3323
+ 支持的图片/PDF大小:所下载文件经 Base64 编码后不超过 7M。文件下载时间不超过 3 秒。
3324
+ 支持的图片像素:需介于20-10000px之间。
3456
3325
  图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
3457
3326
  非腾讯云存储的 Url 速度和稳定性可能受一定影响。
3458
3327
  */
3459
3328
  ImageUrl?: string;
3329
+ /**
3330
+ * 是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
3331
+ */
3332
+ IsPdf?: boolean;
3333
+ /**
3334
+ * 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
3335
+ */
3336
+ PdfPageNumber?: number;
3460
3337
  }
3461
3338
  /**
3462
3339
  * key信息组
@@ -4353,31 +4230,6 @@ export interface VatInvoiceInfo {
4353
4230
  */
4354
4231
  SubTax?: string;
4355
4232
  }
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
4233
  /**
4382
4234
  * TaxiInvoiceOCR请求参数结构体
4383
4235
  */
@@ -4600,23 +4452,6 @@ export interface FinancialBillItem {
4600
4452
  */
4601
4453
  Remark?: string;
4602
4454
  }
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
4455
  /**
4621
4456
  * RecognizeContainerOCR请求参数结构体
4622
4457
  */
@@ -5570,41 +5405,24 @@ export interface CardWarnInfo {
5570
5405
  PSCheck?: number;
5571
5406
  }
5572
5407
  /**
5573
- * RecognizeKoreanIDCardOCR返回参数结构体
5408
+ * VehicleRegCertOCR请求参数结构体
5574
5409
  */
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;
5410
+ export interface VehicleRegCertOCRRequest {
5600
5411
  /**
5601
- * 生日,格式为dd/mm/yyyy
5412
+ * 图片的 Base64 值。
5413
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
5414
+ 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
5415
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
5602
5416
  */
5603
- Birthday?: string;
5417
+ ImageBase64?: string;
5604
5418
  /**
5605
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5419
+ * 图片的 Url 地址。
5420
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
5421
+ 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
5422
+ 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
5423
+ 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
5606
5424
  */
5607
- RequestId?: string;
5425
+ ImageUrl?: string;
5608
5426
  }
5609
5427
  /**
5610
5428
  * RecognizeTravelCardOCR返回参数结构体
@@ -5980,97 +5798,6 @@ export interface TextVehicleBack {
5980
5798
  */
5981
5799
  IssueAuthorityElectronic?: string;
5982
5800
  }
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;
6047
- /**
6048
- * 人像截图
6049
- */
6050
- Photo?: string;
6051
- /**
6052
- * 省份,Scene为V2时支持识别
6053
- */
6054
- Provinsi?: string;
6055
- /**
6056
- * 城市,Scene为V2时支持识别
6057
- */
6058
- Kota?: string;
6059
- /**
6060
- * 告警码
6061
- -9101 证件边框不完整告警
6062
- -9102 证件复印件告警
6063
- -9103 证件翻拍告警
6064
- -9107 证件反光告警
6065
- -9108 证件模糊告警
6066
- -9109 告警能力未开通
6067
- */
6068
- WarnCardInfos?: Array<number | bigint>;
6069
- /**
6070
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6071
- */
6072
- RequestId?: string;
6073
- }
6074
5801
  /**
6075
5802
  * ReconstructDocument返回参数结构体
6076
5803
  */
@@ -6112,47 +5839,6 @@ export interface GeneralEfficientOCRRequest {
6112
5839
  */
6113
5840
  ImageUrl?: string;
6114
5841
  }
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
5842
  /**
6157
5843
  * AdvertiseOCR请求参数结构体
6158
5844
  */
@@ -7060,21 +6746,6 @@ export interface FinanBillSliceInfo {
7060
6746
  */
7061
6747
  Value?: string;
7062
6748
  }
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
6749
  /**
7079
6750
  * 敏感数据加密
7080
6751
  */
@@ -7833,30 +7504,6 @@ export interface TextGeneralHandwriting {
7833
7504
  */
7834
7505
  WordPolygon: Array<Polygon>;
7835
7506
  }
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
7507
  /**
7861
7508
  * PassportOCR请求参数结构体
7862
7509
  */
@@ -10116,26 +9763,6 @@ export interface TableOCRResponse {
10116
9763
  */
10117
9764
  RequestId?: string;
10118
9765
  }
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
9766
  /**
10140
9767
  * 单字在原图中的坐标,以四个顶点坐标表示,以左上角为起点,顺时针返回。
10141
9768
  */
@@ -10158,30 +9785,6 @@ export interface QuestionBlockObj {
10158
9785
  */
10159
9786
  QuestionBboxCoord: Rect;
10160
9787
  }
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
9788
  /**
10186
9789
  * AdvertiseOCR返回参数结构体
10187
9790
  */
@@ -10412,51 +10015,19 @@ export interface VinOCRRequest {
10412
10015
  ImageUrl?: string;
10413
10016
  }
10414
10017
  /**
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请求参数结构体
10018
+ * RideHailingTransportLicenseOCR请求参数结构体
10446
10019
  */
10447
- export interface RecognizePhilippinesUMIDOCRRequest {
10020
+ export interface RideHailingTransportLicenseOCRRequest {
10448
10021
  /**
10449
- * 图片的 Base64 值。 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
10022
+ * 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
10023
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
10450
10024
  */
10451
10025
  ImageBase64?: string;
10452
10026
  /**
10453
- * 图片的 Url 地址。 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
10027
+ * 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
10028
+ 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
10454
10029
  */
10455
10030
  ImageUrl?: string;
10456
- /**
10457
- * 是否返回人像照片。
10458
- */
10459
- ReturnHeadImage?: boolean;
10460
10031
  }
10461
10032
  /**
10462
10033
  * MLIDCardOCR返回参数结构体
@@ -10532,30 +10103,6 @@ export interface MLIDCardOCRResponse {
10532
10103
  */
10533
10104
  RequestId?: string;
10534
10105
  }
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
10106
  /**
10560
10107
  * RecognizeTableOCR请求参数结构体
10561
10108
  */
@@ -10951,63 +10498,6 @@ export interface BusinessCardOCRRequest {
10951
10498
  */
10952
10499
  Config?: string;
10953
10500
  }
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
10501
  /**
11012
10502
  * FinanBillOCR请求参数结构体
11013
10503
  */