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.
- package/package.json +1 -1
- package/products.md +38 -38
- package/src/services/ocr/v20181119/ocr_client.ts +901 -992
- package/src/services/ocr/v20181119/ocr_models.ts +73 -586
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +530 -564
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +635 -683
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +64 -562
@@ -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
|
-
*
|
1238
|
+
* 混贴票据中单张发票的内容
|
1276
1239
|
*/
|
1277
|
-
export interface
|
1240
|
+
export interface SingleInvoiceInfo {
|
1278
1241
|
/**
|
1279
|
-
*
|
1280
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
1242
|
+
* 识别出的字段名称
|
1281
1243
|
*/
|
1282
|
-
|
1244
|
+
Name?: string;
|
1283
1245
|
/**
|
1284
|
-
*
|
1285
|
-
建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
1246
|
+
* 识别出的字段名称对应的值,也就是字段name对应的字符串结果。
|
1286
1247
|
*/
|
1287
|
-
|
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
|
-
*
|
2610
|
+
* RideHailingDriverLicenseOCR请求参数结构体
|
2710
2611
|
*/
|
2711
|
-
export interface
|
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
|
-
|
2617
|
+
ImageBase64?: string;
|
2748
2618
|
/**
|
2749
|
-
*
|
2619
|
+
* 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
|
2620
|
+
建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
2750
2621
|
*/
|
2751
|
-
|
2622
|
+
ImageUrl?: string;
|
2752
2623
|
}
|
2753
2624
|
/**
|
2754
2625
|
* 发票人员信息
|
@@ -3425,34 +3296,44 @@ export interface VehicleLicenseOCRResponse {
|
|
3425
3296
|
注:告警信息可以同时存在多个
|
3426
3297
|
*/
|
3427
3298
|
RecognizeWarnMsg?: Array<string>;
|
3299
|
+
/**
|
3300
|
+
* 行驶证类型 电子行驶证:Electronic 普通行驶证:Normal
|
3301
|
+
*/
|
3302
|
+
VehicleLicenseType?: string;
|
3428
3303
|
/**
|
3429
3304
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3430
3305
|
*/
|
3431
3306
|
RequestId?: string;
|
3432
3307
|
}
|
3433
3308
|
/**
|
3434
|
-
*
|
3309
|
+
* VatInvoiceOCR请求参数结构体
|
3435
3310
|
*/
|
3436
|
-
export interface
|
3437
|
-
/**
|
3438
|
-
* 是否返回人像照片。
|
3439
|
-
*/
|
3440
|
-
ReturnHeadImage: boolean;
|
3311
|
+
export interface VatInvoiceOCRRequest {
|
3441
3312
|
/**
|
3442
|
-
*
|
3443
|
-
|
3444
|
-
|
3445
|
-
|
3313
|
+
* 图片/PDF的 Base64 值。
|
3314
|
+
支持的文件格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
|
3315
|
+
支持的图片/PDF大小:所下载文件经Base64编码后不超过 7M。文件下载时间不超过 3 秒。
|
3316
|
+
支持的图片像素:需介于20-10000px之间。
|
3317
|
+
输入参数 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
3446
3318
|
*/
|
3447
3319
|
ImageBase64?: string;
|
3448
3320
|
/**
|
3449
|
-
*
|
3450
|
-
|
3451
|
-
|
3321
|
+
* 图片/PDF的 Url 地址。
|
3322
|
+
支持的文件格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
|
3323
|
+
支持的图片/PDF大小:所下载文件经 Base64 编码后不超过 7M。文件下载时间不超过 3 秒。
|
3324
|
+
支持的图片像素:需介于20-10000px之间。
|
3452
3325
|
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
3453
3326
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
3454
3327
|
*/
|
3455
3328
|
ImageUrl?: string;
|
3329
|
+
/**
|
3330
|
+
* 是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
|
3331
|
+
*/
|
3332
|
+
IsPdf?: boolean;
|
3333
|
+
/**
|
3334
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
3335
|
+
*/
|
3336
|
+
PdfPageNumber?: number;
|
3456
3337
|
}
|
3457
3338
|
/**
|
3458
3339
|
* key信息组
|
@@ -4349,31 +4230,6 @@ export interface VatInvoiceInfo {
|
|
4349
4230
|
*/
|
4350
4231
|
SubTax?: string;
|
4351
4232
|
}
|
4352
|
-
/**
|
4353
|
-
* RecognizePhilippinesSssIDOCR返回参数结构体
|
4354
|
-
*/
|
4355
|
-
export interface RecognizePhilippinesSssIDOCRResponse {
|
4356
|
-
/**
|
4357
|
-
* 人像照片Base64后的结果
|
4358
|
-
*/
|
4359
|
-
HeadPortrait?: TextDetectionResult;
|
4360
|
-
/**
|
4361
|
-
* 编号
|
4362
|
-
*/
|
4363
|
-
LicenseNumber?: TextDetectionResult;
|
4364
|
-
/**
|
4365
|
-
* 姓名
|
4366
|
-
*/
|
4367
|
-
FullName?: TextDetectionResult;
|
4368
|
-
/**
|
4369
|
-
* 生日
|
4370
|
-
*/
|
4371
|
-
Birthday?: TextDetectionResult;
|
4372
|
-
/**
|
4373
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4374
|
-
*/
|
4375
|
-
RequestId?: string;
|
4376
|
-
}
|
4377
4233
|
/**
|
4378
4234
|
* TaxiInvoiceOCR请求参数结构体
|
4379
4235
|
*/
|
@@ -4596,23 +4452,6 @@ export interface FinancialBillItem {
|
|
4596
4452
|
*/
|
4597
4453
|
Remark?: string;
|
4598
4454
|
}
|
4599
|
-
/**
|
4600
|
-
* 混贴票据中单张发票的内容
|
4601
|
-
*/
|
4602
|
-
export interface SingleInvoiceInfo {
|
4603
|
-
/**
|
4604
|
-
* 识别出的字段名称
|
4605
|
-
*/
|
4606
|
-
Name?: string;
|
4607
|
-
/**
|
4608
|
-
* 识别出的字段名称对应的值,也就是字段name对应的字符串结果。
|
4609
|
-
*/
|
4610
|
-
Value?: string;
|
4611
|
-
/**
|
4612
|
-
* 字段属于第几行,用于相同字段的排版,如发票明细表格项目,普通字段使用默认值为-1,表示无列排版。
|
4613
|
-
*/
|
4614
|
-
Row?: number;
|
4615
|
-
}
|
4616
4455
|
/**
|
4617
4456
|
* RecognizeContainerOCR请求参数结构体
|
4618
4457
|
*/
|
@@ -5566,41 +5405,24 @@ export interface CardWarnInfo {
|
|
5566
5405
|
PSCheck?: number;
|
5567
5406
|
}
|
5568
5407
|
/**
|
5569
|
-
*
|
5408
|
+
* VehicleRegCertOCR请求参数结构体
|
5570
5409
|
*/
|
5571
|
-
export interface
|
5572
|
-
/**
|
5573
|
-
* 身份证号码
|
5574
|
-
*/
|
5575
|
-
ID?: string;
|
5576
|
-
/**
|
5577
|
-
* 地址
|
5578
|
-
*/
|
5579
|
-
Address?: string;
|
5580
|
-
/**
|
5581
|
-
* 姓名
|
5582
|
-
*/
|
5583
|
-
Name?: string;
|
5584
|
-
/**
|
5585
|
-
* 发证日期
|
5586
|
-
*/
|
5587
|
-
DateOfIssue?: string;
|
5588
|
-
/**
|
5589
|
-
* 人像截图Base64后的结果
|
5590
|
-
*/
|
5591
|
-
Photo?: string;
|
5592
|
-
/**
|
5593
|
-
* 性别
|
5594
|
-
*/
|
5595
|
-
Sex?: string;
|
5410
|
+
export interface VehicleRegCertOCRRequest {
|
5596
5411
|
/**
|
5597
|
-
*
|
5412
|
+
* 图片的 Base64 值。
|
5413
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
5414
|
+
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
5415
|
+
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
5598
5416
|
*/
|
5599
|
-
|
5417
|
+
ImageBase64?: string;
|
5600
5418
|
/**
|
5601
|
-
*
|
5419
|
+
* 图片的 Url 地址。
|
5420
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
5421
|
+
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
5422
|
+
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
5423
|
+
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
5602
5424
|
*/
|
5603
|
-
|
5425
|
+
ImageUrl?: string;
|
5604
5426
|
}
|
5605
5427
|
/**
|
5606
5428
|
* RecognizeTravelCardOCR返回参数结构体
|
@@ -5967,97 +5789,14 @@ export interface TextVehicleBack {
|
|
5967
5789
|
注意:此字段可能返回 null,表示取不到有效值。
|
5968
5790
|
*/
|
5969
5791
|
FuelType?: string;
|
5970
|
-
}
|
5971
|
-
/**
|
5972
|
-
* RecognizeIndonesiaIDCardOCR返回参数结构体
|
5973
|
-
*/
|
5974
|
-
export interface RecognizeIndonesiaIDCardOCRResponse {
|
5975
|
-
/**
|
5976
|
-
* 证件号码
|
5977
|
-
*/
|
5978
|
-
NIK?: string;
|
5979
|
-
/**
|
5980
|
-
* 姓名
|
5981
|
-
*/
|
5982
|
-
Nama?: string;
|
5983
|
-
/**
|
5984
|
-
* 出生地/出生时间
|
5985
|
-
*/
|
5986
|
-
TempatTglLahir?: string;
|
5987
|
-
/**
|
5988
|
-
* 性别
|
5989
|
-
*/
|
5990
|
-
JenisKelamin?: string;
|
5991
|
-
/**
|
5992
|
-
* 血型
|
5993
|
-
*/
|
5994
|
-
GolDarah?: string;
|
5995
|
-
/**
|
5996
|
-
* 地址
|
5997
|
-
*/
|
5998
|
-
Alamat?: string;
|
5999
|
-
/**
|
6000
|
-
* 街道
|
6001
|
-
*/
|
6002
|
-
RTRW?: string;
|
6003
|
-
/**
|
6004
|
-
* 村
|
6005
|
-
*/
|
6006
|
-
KelDesa?: string;
|
6007
|
-
/**
|
6008
|
-
* 地区
|
6009
|
-
*/
|
6010
|
-
Kecamatan?: string;
|
6011
|
-
/**
|
6012
|
-
* 宗教信仰
|
6013
|
-
*/
|
6014
|
-
Agama?: string;
|
6015
|
-
/**
|
6016
|
-
* 婚姻状况
|
6017
|
-
*/
|
6018
|
-
StatusPerkawinan?: string;
|
6019
|
-
/**
|
6020
|
-
* 职业
|
6021
|
-
*/
|
6022
|
-
Perkerjaan?: string;
|
6023
|
-
/**
|
6024
|
-
* 国籍
|
6025
|
-
*/
|
6026
|
-
KewargaNegaraan?: string;
|
6027
|
-
/**
|
6028
|
-
* 身份证有效期限
|
6029
|
-
*/
|
6030
|
-
BerlakuHingga?: string;
|
6031
|
-
/**
|
6032
|
-
* 发证日期
|
6033
|
-
*/
|
6034
|
-
IssuedDate?: string;
|
6035
|
-
/**
|
6036
|
-
* 人像截图
|
6037
|
-
*/
|
6038
|
-
Photo?: string;
|
6039
|
-
/**
|
6040
|
-
* 省份,Scene为V2时支持识别
|
6041
|
-
*/
|
6042
|
-
Provinsi?: string;
|
6043
|
-
/**
|
6044
|
-
* 城市,Scene为V2时支持识别
|
6045
|
-
*/
|
6046
|
-
Kota?: string;
|
6047
5792
|
/**
|
6048
|
-
*
|
6049
|
-
-9101 证件边框不完整告警
|
6050
|
-
-9102 证件复印件告警
|
6051
|
-
-9103 证件翻拍告警
|
6052
|
-
-9107 证件反光告警
|
6053
|
-
-9108 证件模糊告警
|
6054
|
-
-9109 告警能力未开通
|
5793
|
+
* 住址
|
6055
5794
|
*/
|
6056
|
-
|
5795
|
+
AddressElectronic?: string;
|
6057
5796
|
/**
|
6058
|
-
*
|
5797
|
+
* 发证机关
|
6059
5798
|
*/
|
6060
|
-
|
5799
|
+
IssueAuthorityElectronic?: string;
|
6061
5800
|
}
|
6062
5801
|
/**
|
6063
5802
|
* ReconstructDocument返回参数结构体
|
@@ -6100,47 +5839,6 @@ export interface GeneralEfficientOCRRequest {
|
|
6100
5839
|
*/
|
6101
5840
|
ImageUrl?: string;
|
6102
5841
|
}
|
6103
|
-
/**
|
6104
|
-
* RecognizePhilippinesUMIDOCR返回参数结构体
|
6105
|
-
*/
|
6106
|
-
export interface RecognizePhilippinesUMIDOCRResponse {
|
6107
|
-
/**
|
6108
|
-
* 姓
|
6109
|
-
*/
|
6110
|
-
Surname?: TextDetectionResult;
|
6111
|
-
/**
|
6112
|
-
* 中间名
|
6113
|
-
*/
|
6114
|
-
MiddleName?: TextDetectionResult;
|
6115
|
-
/**
|
6116
|
-
* 名
|
6117
|
-
*/
|
6118
|
-
GivenName?: TextDetectionResult;
|
6119
|
-
/**
|
6120
|
-
* 地址
|
6121
|
-
*/
|
6122
|
-
Address?: TextDetectionResult;
|
6123
|
-
/**
|
6124
|
-
* 生日
|
6125
|
-
*/
|
6126
|
-
Birthday?: TextDetectionResult;
|
6127
|
-
/**
|
6128
|
-
* crn码
|
6129
|
-
*/
|
6130
|
-
CRN?: TextDetectionResult;
|
6131
|
-
/**
|
6132
|
-
* 性别
|
6133
|
-
*/
|
6134
|
-
Sex?: TextDetectionResult;
|
6135
|
-
/**
|
6136
|
-
* 人像照片Base64后的结果
|
6137
|
-
*/
|
6138
|
-
HeadPortrait?: TextDetectionResult;
|
6139
|
-
/**
|
6140
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6141
|
-
*/
|
6142
|
-
RequestId?: string;
|
6143
|
-
}
|
6144
5842
|
/**
|
6145
5843
|
* AdvertiseOCR请求参数结构体
|
6146
5844
|
*/
|
@@ -7048,21 +6746,6 @@ export interface FinanBillSliceInfo {
|
|
7048
6746
|
*/
|
7049
6747
|
Value?: string;
|
7050
6748
|
}
|
7051
|
-
/**
|
7052
|
-
* RideHailingDriverLicenseOCR请求参数结构体
|
7053
|
-
*/
|
7054
|
-
export interface RideHailingDriverLicenseOCRRequest {
|
7055
|
-
/**
|
7056
|
-
* 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
|
7057
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
7058
|
-
*/
|
7059
|
-
ImageBase64?: string;
|
7060
|
-
/**
|
7061
|
-
* 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
|
7062
|
-
建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
7063
|
-
*/
|
7064
|
-
ImageUrl?: string;
|
7065
|
-
}
|
7066
6749
|
/**
|
7067
6750
|
* 敏感数据加密
|
7068
6751
|
*/
|
@@ -7821,30 +7504,6 @@ export interface TextGeneralHandwriting {
|
|
7821
7504
|
*/
|
7822
7505
|
WordPolygon: Array<Polygon>;
|
7823
7506
|
}
|
7824
|
-
/**
|
7825
|
-
* RecognizePhilippinesVoteIDOCR请求参数结构体
|
7826
|
-
*/
|
7827
|
-
export interface RecognizePhilippinesVoteIDOCRRequest {
|
7828
|
-
/**
|
7829
|
-
* 是否返回人像照片。
|
7830
|
-
*/
|
7831
|
-
ReturnHeadImage: boolean;
|
7832
|
-
/**
|
7833
|
-
* 图片的 Base64 值。
|
7834
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
7835
|
-
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
7836
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
7837
|
-
*/
|
7838
|
-
ImageBase64?: string;
|
7839
|
-
/**
|
7840
|
-
* 图片的 Url 地址。
|
7841
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
7842
|
-
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
7843
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
7844
|
-
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
7845
|
-
*/
|
7846
|
-
ImageUrl?: string;
|
7847
|
-
}
|
7848
7507
|
/**
|
7849
7508
|
* PassportOCR请求参数结构体
|
7850
7509
|
*/
|
@@ -10104,26 +9763,6 @@ export interface TableOCRResponse {
|
|
10104
9763
|
*/
|
10105
9764
|
RequestId?: string;
|
10106
9765
|
}
|
10107
|
-
/**
|
10108
|
-
* VehicleRegCertOCR请求参数结构体
|
10109
|
-
*/
|
10110
|
-
export interface VehicleRegCertOCRRequest {
|
10111
|
-
/**
|
10112
|
-
* 图片的 Base64 值。
|
10113
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
10114
|
-
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
10115
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
10116
|
-
*/
|
10117
|
-
ImageBase64?: string;
|
10118
|
-
/**
|
10119
|
-
* 图片的 Url 地址。
|
10120
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
10121
|
-
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
10122
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
10123
|
-
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
10124
|
-
*/
|
10125
|
-
ImageUrl?: string;
|
10126
|
-
}
|
10127
9766
|
/**
|
10128
9767
|
* 单字在原图中的坐标,以四个顶点坐标表示,以左上角为起点,顺时针返回。
|
10129
9768
|
*/
|
@@ -10146,30 +9785,6 @@ export interface QuestionBlockObj {
|
|
10146
9785
|
*/
|
10147
9786
|
QuestionBboxCoord: Rect;
|
10148
9787
|
}
|
10149
|
-
/**
|
10150
|
-
* RecognizeKoreanIDCardOCR请求参数结构体
|
10151
|
-
*/
|
10152
|
-
export interface RecognizeKoreanIDCardOCRRequest {
|
10153
|
-
/**
|
10154
|
-
* 图片的 Base64 值。
|
10155
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
10156
|
-
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
10157
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
10158
|
-
*/
|
10159
|
-
ImageBase64?: string;
|
10160
|
-
/**
|
10161
|
-
* 图片的 Url 地址。
|
10162
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
10163
|
-
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
10164
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
10165
|
-
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
10166
|
-
*/
|
10167
|
-
ImageUrl?: string;
|
10168
|
-
/**
|
10169
|
-
* 是否返回人像照片。
|
10170
|
-
*/
|
10171
|
-
ReturnHeadImage?: boolean;
|
10172
|
-
}
|
10173
9788
|
/**
|
10174
9789
|
* AdvertiseOCR返回参数结构体
|
10175
9790
|
*/
|
@@ -10400,51 +10015,19 @@ export interface VinOCRRequest {
|
|
10400
10015
|
ImageUrl?: string;
|
10401
10016
|
}
|
10402
10017
|
/**
|
10403
|
-
*
|
10404
|
-
*/
|
10405
|
-
export interface VatInvoiceOCRRequest {
|
10406
|
-
/**
|
10407
|
-
* 图片/PDF的 Base64 值。
|
10408
|
-
支持的文件格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
|
10409
|
-
支持的图片/PDF大小:所下载文件经Base64编码后不超过 7M。文件下载时间不超过 3 秒。
|
10410
|
-
支持的图片像素:需介于20-10000px之间。
|
10411
|
-
输入参数 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
10412
|
-
*/
|
10413
|
-
ImageBase64?: string;
|
10414
|
-
/**
|
10415
|
-
* 图片/PDF的 Url 地址。
|
10416
|
-
支持的文件格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
|
10417
|
-
支持的图片/PDF大小:所下载文件经 Base64 编码后不超过 7M。文件下载时间不超过 3 秒。
|
10418
|
-
支持的图片像素:需介于20-10000px之间。
|
10419
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
10420
|
-
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
10421
|
-
*/
|
10422
|
-
ImageUrl?: string;
|
10423
|
-
/**
|
10424
|
-
* 是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
|
10425
|
-
*/
|
10426
|
-
IsPdf?: boolean;
|
10427
|
-
/**
|
10428
|
-
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
10429
|
-
*/
|
10430
|
-
PdfPageNumber?: number;
|
10431
|
-
}
|
10432
|
-
/**
|
10433
|
-
* RecognizePhilippinesUMIDOCR请求参数结构体
|
10018
|
+
* RideHailingTransportLicenseOCR请求参数结构体
|
10434
10019
|
*/
|
10435
|
-
export interface
|
10020
|
+
export interface RideHailingTransportLicenseOCRRequest {
|
10436
10021
|
/**
|
10437
|
-
* 图片的 Base64
|
10022
|
+
* 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
|
10023
|
+
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
10438
10024
|
*/
|
10439
10025
|
ImageBase64?: string;
|
10440
10026
|
/**
|
10441
|
-
* 图片的 Url
|
10027
|
+
* 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
|
10028
|
+
建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
10442
10029
|
*/
|
10443
10030
|
ImageUrl?: string;
|
10444
|
-
/**
|
10445
|
-
* 是否返回人像照片。
|
10446
|
-
*/
|
10447
|
-
ReturnHeadImage?: boolean;
|
10448
10031
|
}
|
10449
10032
|
/**
|
10450
10033
|
* MLIDCardOCR返回参数结构体
|
@@ -10520,30 +10103,6 @@ export interface MLIDCardOCRResponse {
|
|
10520
10103
|
*/
|
10521
10104
|
RequestId?: string;
|
10522
10105
|
}
|
10523
|
-
/**
|
10524
|
-
* RecognizePhilippinesTinIDOCR请求参数结构体
|
10525
|
-
*/
|
10526
|
-
export interface RecognizePhilippinesTinIDOCRRequest {
|
10527
|
-
/**
|
10528
|
-
* 是否返回人像照片。
|
10529
|
-
*/
|
10530
|
-
ReturnHeadImage: boolean;
|
10531
|
-
/**
|
10532
|
-
* 图片的 Base64 值。
|
10533
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
10534
|
-
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
10535
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
10536
|
-
*/
|
10537
|
-
ImageBase64?: string;
|
10538
|
-
/**
|
10539
|
-
* 图片的 Url 地址。
|
10540
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
10541
|
-
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
10542
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
10543
|
-
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
10544
|
-
*/
|
10545
|
-
ImageUrl?: string;
|
10546
|
-
}
|
10547
10106
|
/**
|
10548
10107
|
* RecognizeTableOCR请求参数结构体
|
10549
10108
|
*/
|
@@ -10939,63 +10498,6 @@ export interface BusinessCardOCRRequest {
|
|
10939
10498
|
*/
|
10940
10499
|
Config?: string;
|
10941
10500
|
}
|
10942
|
-
/**
|
10943
|
-
* RecognizePhilippinesDrivingLicenseOCR返回参数结构体
|
10944
|
-
*/
|
10945
|
-
export interface RecognizePhilippinesDrivingLicenseOCRResponse {
|
10946
|
-
/**
|
10947
|
-
* 人像照片Base64后的结果
|
10948
|
-
*/
|
10949
|
-
HeadPortrait?: TextDetectionResult;
|
10950
|
-
/**
|
10951
|
-
* 姓名
|
10952
|
-
*/
|
10953
|
-
Name?: TextDetectionResult;
|
10954
|
-
/**
|
10955
|
-
* 姓氏
|
10956
|
-
*/
|
10957
|
-
LastName?: TextDetectionResult;
|
10958
|
-
/**
|
10959
|
-
* 首姓名
|
10960
|
-
*/
|
10961
|
-
FirstName?: TextDetectionResult;
|
10962
|
-
/**
|
10963
|
-
* 中间姓名
|
10964
|
-
*/
|
10965
|
-
MiddleName?: TextDetectionResult;
|
10966
|
-
/**
|
10967
|
-
* 国籍
|
10968
|
-
*/
|
10969
|
-
Nationality?: TextDetectionResult;
|
10970
|
-
/**
|
10971
|
-
* 性别
|
10972
|
-
*/
|
10973
|
-
Sex?: TextDetectionResult;
|
10974
|
-
/**
|
10975
|
-
* 地址
|
10976
|
-
*/
|
10977
|
-
Address?: TextDetectionResult;
|
10978
|
-
/**
|
10979
|
-
* 证号
|
10980
|
-
*/
|
10981
|
-
LicenseNo?: TextDetectionResult;
|
10982
|
-
/**
|
10983
|
-
* 有效期
|
10984
|
-
*/
|
10985
|
-
ExpiresDate?: TextDetectionResult;
|
10986
|
-
/**
|
10987
|
-
* 机构代码
|
10988
|
-
*/
|
10989
|
-
AgencyCode?: TextDetectionResult;
|
10990
|
-
/**
|
10991
|
-
* 出生日期
|
10992
|
-
*/
|
10993
|
-
Birthday?: TextDetectionResult;
|
10994
|
-
/**
|
10995
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10996
|
-
*/
|
10997
|
-
RequestId?: string;
|
10998
|
-
}
|
10999
10501
|
/**
|
11000
10502
|
* FinanBillOCR请求参数结构体
|
11001
10503
|
*/
|