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.
- package/package.json +1 -1
- package/products.md +33 -33
- package/src/services/ocr/v20181119/ocr_client.ts +869 -972
- package/src/services/ocr/v20181119/ocr_models.ts +77 -681
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +526 -564
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +623 -677
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +86 -673
@@ -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
|
-
*
|
1291
|
+
* 混贴票据中单张发票的内容
|
1331
1292
|
*/
|
1332
|
-
export interface
|
1293
|
+
export interface SingleInvoiceInfo {
|
1333
1294
|
/**
|
1334
|
-
*
|
1335
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
1295
|
+
* 识别出的字段名称
|
1336
1296
|
*/
|
1337
|
-
|
1297
|
+
Name?: string
|
1338
1298
|
/**
|
1339
|
-
*
|
1340
|
-
建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
1299
|
+
* 识别出的字段名称对应的值,也就是字段name对应的字符串结果。
|
1341
1300
|
*/
|
1342
|
-
|
1301
|
+
Value?: string
|
1302
|
+
/**
|
1303
|
+
* 字段属于第几行,用于相同字段的排版,如发票明细表格项目,普通字段使用默认值为-1,表示无列排版。
|
1304
|
+
*/
|
1305
|
+
Row?: number
|
1343
1306
|
}
|
1344
1307
|
|
1345
1308
|
/**
|
@@ -1568,114 +1531,30 @@ export interface EnterpriseLicenseOCRResponse {
|
|
1568
1531
|
}
|
1569
1532
|
|
1570
1533
|
/**
|
1571
|
-
*
|
1572
|
-
*/
|
1573
|
-
export interface RecognizeKoreanDrivingLicenseOCRResponse {
|
1574
|
-
/**
|
1575
|
-
* 身份证号码
|
1576
|
-
*/
|
1577
|
-
ID?: string
|
1578
|
-
/**
|
1579
|
-
* 驾照号码
|
1580
|
-
*/
|
1581
|
-
LicenseNumber?: string
|
1582
|
-
/**
|
1583
|
-
* 居民登记号码
|
1584
|
-
*/
|
1585
|
-
Number?: string
|
1586
|
-
/**
|
1587
|
-
* 驾照类型
|
1588
|
-
*/
|
1589
|
-
Type?: string
|
1590
|
-
/**
|
1591
|
-
* 地址
|
1592
|
-
*/
|
1593
|
-
Address?: string
|
1594
|
-
/**
|
1595
|
-
* 姓名
|
1596
|
-
*/
|
1597
|
-
Name?: string
|
1598
|
-
/**
|
1599
|
-
* 换证时间
|
1600
|
-
*/
|
1601
|
-
AptitudeTesDate?: string
|
1602
|
-
/**
|
1603
|
-
* 发证日期
|
1604
|
-
*/
|
1605
|
-
DateOfIssue?: string
|
1606
|
-
/**
|
1607
|
-
* 人像截图Base64后的结果
|
1608
|
-
*/
|
1609
|
-
Photo?: string
|
1610
|
-
/**
|
1611
|
-
* 性别
|
1612
|
-
*/
|
1613
|
-
Sex?: string
|
1614
|
-
/**
|
1615
|
-
* 生日,格式为dd/mm/yyyy
|
1616
|
-
*/
|
1617
|
-
Birthday?: string
|
1618
|
-
/**
|
1619
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1620
|
-
*/
|
1621
|
-
RequestId?: string
|
1622
|
-
}
|
1623
|
-
|
1624
|
-
/**
|
1625
|
-
* RecognizeIndonesiaIDCardOCR请求参数结构体
|
1534
|
+
* 印章信息
|
1626
1535
|
*/
|
1627
|
-
export interface
|
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
|
1536
|
+
export interface SealInfo {
|
1647
1537
|
/**
|
1648
|
-
*
|
1649
|
-
可选值:
|
1650
|
-
V1
|
1651
|
-
V2
|
1538
|
+
* 印章主体内容
|
1652
1539
|
*/
|
1653
|
-
|
1654
|
-
}
|
1655
|
-
|
1656
|
-
/**
|
1657
|
-
* RecognizeKoreanDrivingLicenseOCR请求参数结构体
|
1658
|
-
*/
|
1659
|
-
export interface RecognizeKoreanDrivingLicenseOCRRequest {
|
1540
|
+
SealBody: string
|
1660
1541
|
/**
|
1661
|
-
*
|
1662
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
1663
|
-
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
1664
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
1542
|
+
* 印章坐标
|
1665
1543
|
*/
|
1666
|
-
|
1544
|
+
Location: Rect
|
1667
1545
|
/**
|
1668
|
-
*
|
1669
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
1670
|
-
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
1671
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
1672
|
-
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
1546
|
+
* 印章其它文本内容
|
1673
1547
|
*/
|
1674
|
-
|
1548
|
+
OtherTexts: Array<string>
|
1675
1549
|
/**
|
1676
|
-
*
|
1550
|
+
* 印章类型,表示为:
|
1551
|
+
圆形印章:0
|
1552
|
+
椭圆形印章:1
|
1553
|
+
方形印章:2
|
1554
|
+
菱形印章:3
|
1555
|
+
三角形印章:4
|
1677
1556
|
*/
|
1678
|
-
|
1557
|
+
SealShape: string
|
1679
1558
|
}
|
1680
1559
|
|
1681
1560
|
/**
|
@@ -2549,40 +2428,6 @@ export interface TrainTicketOCRResponse {
|
|
2549
2428
|
RequestId?: string
|
2550
2429
|
}
|
2551
2430
|
|
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
2431
|
/**
|
2587
2432
|
* 过路过桥费字段信息
|
2588
2433
|
*/
|
@@ -2812,49 +2657,19 @@ export interface MixedInvoiceDetectResponse {
|
|
2812
2657
|
}
|
2813
2658
|
|
2814
2659
|
/**
|
2815
|
-
*
|
2660
|
+
* RideHailingDriverLicenseOCR请求参数结构体
|
2816
2661
|
*/
|
2817
|
-
export interface
|
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
|
2662
|
+
export interface RideHailingDriverLicenseOCRRequest {
|
2850
2663
|
/**
|
2851
|
-
*
|
2664
|
+
* 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
|
2665
|
+
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
2852
2666
|
*/
|
2853
|
-
|
2667
|
+
ImageBase64?: string
|
2854
2668
|
/**
|
2855
|
-
*
|
2669
|
+
* 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
|
2670
|
+
建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
2856
2671
|
*/
|
2857
|
-
|
2672
|
+
ImageUrl?: string
|
2858
2673
|
}
|
2859
2674
|
|
2860
2675
|
/**
|
@@ -3560,28 +3375,34 @@ WARN_DRIVER_LICENSE_BORDER_INCOMPLETE 边框不完整告警
|
|
3560
3375
|
}
|
3561
3376
|
|
3562
3377
|
/**
|
3563
|
-
*
|
3378
|
+
* VatInvoiceOCR请求参数结构体
|
3564
3379
|
*/
|
3565
|
-
export interface
|
3566
|
-
/**
|
3567
|
-
* 是否返回人像照片。
|
3568
|
-
*/
|
3569
|
-
ReturnHeadImage: boolean
|
3380
|
+
export interface VatInvoiceOCRRequest {
|
3570
3381
|
/**
|
3571
|
-
*
|
3572
|
-
|
3573
|
-
|
3574
|
-
|
3382
|
+
* 图片/PDF的 Base64 值。
|
3383
|
+
支持的文件格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
|
3384
|
+
支持的图片/PDF大小:所下载文件经Base64编码后不超过 7M。文件下载时间不超过 3 秒。
|
3385
|
+
支持的图片像素:需介于20-10000px之间。
|
3386
|
+
输入参数 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
3575
3387
|
*/
|
3576
3388
|
ImageBase64?: string
|
3577
3389
|
/**
|
3578
|
-
*
|
3579
|
-
|
3580
|
-
|
3390
|
+
* 图片/PDF的 Url 地址。
|
3391
|
+
支持的文件格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
|
3392
|
+
支持的图片/PDF大小:所下载文件经 Base64 编码后不超过 7M。文件下载时间不超过 3 秒。
|
3393
|
+
支持的图片像素:需介于20-10000px之间。
|
3581
3394
|
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
3582
3395
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
3583
3396
|
*/
|
3584
3397
|
ImageUrl?: string
|
3398
|
+
/**
|
3399
|
+
* 是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
|
3400
|
+
*/
|
3401
|
+
IsPdf?: boolean
|
3402
|
+
/**
|
3403
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
3404
|
+
*/
|
3405
|
+
PdfPageNumber?: number
|
3585
3406
|
}
|
3586
3407
|
|
3587
3408
|
/**
|
@@ -4498,32 +4319,6 @@ export interface VatInvoiceInfo {
|
|
4498
4319
|
SubTax?: string
|
4499
4320
|
}
|
4500
4321
|
|
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
4322
|
/**
|
4528
4323
|
* TaxiInvoiceOCR请求参数结构体
|
4529
4324
|
*/
|
@@ -4749,24 +4544,6 @@ export interface FinancialBillItem {
|
|
4749
4544
|
Remark?: string
|
4750
4545
|
}
|
4751
4546
|
|
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
4547
|
/**
|
4771
4548
|
* RecognizeContainerOCR请求参数结构体
|
4772
4549
|
*/
|
@@ -5739,41 +5516,24 @@ export interface CardWarnInfo {
|
|
5739
5516
|
}
|
5740
5517
|
|
5741
5518
|
/**
|
5742
|
-
*
|
5519
|
+
* VehicleRegCertOCR请求参数结构体
|
5743
5520
|
*/
|
5744
|
-
export interface
|
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
|
5521
|
+
export interface VehicleRegCertOCRRequest {
|
5769
5522
|
/**
|
5770
|
-
*
|
5523
|
+
* 图片的 Base64 值。
|
5524
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
5525
|
+
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
5526
|
+
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
5771
5527
|
*/
|
5772
|
-
|
5528
|
+
ImageBase64?: string
|
5773
5529
|
/**
|
5774
|
-
*
|
5530
|
+
* 图片的 Url 地址。
|
5531
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
5532
|
+
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
5533
|
+
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
5534
|
+
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
5775
5535
|
*/
|
5776
|
-
|
5536
|
+
ImageUrl?: string
|
5777
5537
|
}
|
5778
5538
|
|
5779
5539
|
/**
|
@@ -6144,109 +5904,17 @@ export interface TextVehicleBack {
|
|
6144
5904
|
/**
|
6145
5905
|
* 燃料种类
|
6146
5906
|
|
6147
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6148
|
-
*/
|
6149
|
-
FuelType?: string
|
6150
|
-
/**
|
6151
|
-
* 住址
|
6152
|
-
*/
|
6153
|
-
AddressElectronic?: string
|
6154
|
-
/**
|
6155
|
-
* 发证机关
|
6156
|
-
*/
|
6157
|
-
IssueAuthorityElectronic?: string
|
6158
|
-
}
|
6159
|
-
|
6160
|
-
/**
|
6161
|
-
* RecognizeIndonesiaIDCardOCR返回参数结构体
|
6162
|
-
*/
|
6163
|
-
export interface RecognizeIndonesiaIDCardOCRResponse {
|
6164
|
-
/**
|
6165
|
-
* 证件号码
|
6166
|
-
*/
|
6167
|
-
NIK?: string
|
6168
|
-
/**
|
6169
|
-
* 姓名
|
6170
|
-
*/
|
6171
|
-
Nama?: string
|
6172
|
-
/**
|
6173
|
-
* 出生地/出生时间
|
6174
|
-
*/
|
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时支持识别
|
5907
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6234
5908
|
*/
|
6235
|
-
|
5909
|
+
FuelType?: string
|
6236
5910
|
/**
|
6237
|
-
*
|
6238
|
-
-9101 证件边框不完整告警
|
6239
|
-
-9102 证件复印件告警
|
6240
|
-
-9103 证件翻拍告警
|
6241
|
-
-9107 证件反光告警
|
6242
|
-
-9108 证件模糊告警
|
6243
|
-
-9109 告警能力未开通
|
5911
|
+
* 住址
|
6244
5912
|
*/
|
6245
|
-
|
5913
|
+
AddressElectronic?: string
|
6246
5914
|
/**
|
6247
|
-
*
|
5915
|
+
* 发证机关
|
6248
5916
|
*/
|
6249
|
-
|
5917
|
+
IssueAuthorityElectronic?: string
|
6250
5918
|
}
|
6251
5919
|
|
6252
5920
|
/**
|
@@ -6292,48 +5960,6 @@ export interface GeneralEfficientOCRRequest {
|
|
6292
5960
|
ImageUrl?: string
|
6293
5961
|
}
|
6294
5962
|
|
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
5963
|
/**
|
6338
5964
|
* AdvertiseOCR请求参数结构体
|
6339
5965
|
*/
|
@@ -7267,22 +6893,6 @@ export interface FinanBillSliceInfo {
|
|
7267
6893
|
Value?: string
|
7268
6894
|
}
|
7269
6895
|
|
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
6896
|
/**
|
7287
6897
|
* 敏感数据加密
|
7288
6898
|
*/
|
@@ -8065,31 +7675,6 @@ export interface TextGeneralHandwriting {
|
|
8065
7675
|
WordPolygon: Array<Polygon>
|
8066
7676
|
}
|
8067
7677
|
|
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
7678
|
/**
|
8094
7679
|
* PassportOCR请求参数结构体
|
8095
7680
|
*/
|
@@ -10410,27 +9995,6 @@ export interface TableOCRResponse {
|
|
10410
9995
|
RequestId?: string
|
10411
9996
|
}
|
10412
9997
|
|
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
9998
|
/**
|
10435
9999
|
* 单字在原图中的坐标,以四个顶点坐标表示,以左上角为起点,顺时针返回。
|
10436
10000
|
*/
|
@@ -10455,31 +10019,6 @@ export interface QuestionBlockObj {
|
|
10455
10019
|
QuestionBboxCoord: Rect
|
10456
10020
|
}
|
10457
10021
|
|
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
10022
|
/**
|
10484
10023
|
* AdvertiseOCR返回参数结构体
|
10485
10024
|
*/
|
@@ -10719,52 +10258,19 @@ export interface VinOCRRequest {
|
|
10719
10258
|
}
|
10720
10259
|
|
10721
10260
|
/**
|
10722
|
-
*
|
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请求参数结构体
|
10261
|
+
* RideHailingTransportLicenseOCR请求参数结构体
|
10754
10262
|
*/
|
10755
|
-
export interface
|
10263
|
+
export interface RideHailingTransportLicenseOCRRequest {
|
10756
10264
|
/**
|
10757
|
-
* 图片的 Base64
|
10265
|
+
* 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
|
10266
|
+
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
10758
10267
|
*/
|
10759
10268
|
ImageBase64?: string
|
10760
10269
|
/**
|
10761
|
-
* 图片的 Url
|
10270
|
+
* 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
|
10271
|
+
建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
10762
10272
|
*/
|
10763
10273
|
ImageUrl?: string
|
10764
|
-
/**
|
10765
|
-
* 是否返回人像照片。
|
10766
|
-
*/
|
10767
|
-
ReturnHeadImage?: boolean
|
10768
10274
|
}
|
10769
10275
|
|
10770
10276
|
/**
|
@@ -10842,31 +10348,6 @@ MyKid 儿童卡
|
|
10842
10348
|
RequestId?: string
|
10843
10349
|
}
|
10844
10350
|
|
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
10351
|
/**
|
10871
10352
|
* RecognizeTableOCR请求参数结构体
|
10872
10353
|
*/
|
@@ -11212,33 +10693,6 @@ export interface BankCardOCRResponse {
|
|
11212
10693
|
RequestId?: string
|
11213
10694
|
}
|
11214
10695
|
|
11215
|
-
/**
|
11216
|
-
* 印章信息
|
11217
|
-
*/
|
11218
|
-
export interface SealInfo {
|
11219
|
-
/**
|
11220
|
-
* 印章主体内容
|
11221
|
-
*/
|
11222
|
-
SealBody: string
|
11223
|
-
/**
|
11224
|
-
* 印章坐标
|
11225
|
-
*/
|
11226
|
-
Location: Rect
|
11227
|
-
/**
|
11228
|
-
* 印章其它文本内容
|
11229
|
-
*/
|
11230
|
-
OtherTexts: Array<string>
|
11231
|
-
/**
|
11232
|
-
* 印章类型,表示为:
|
11233
|
-
圆形印章:0
|
11234
|
-
椭圆形印章:1
|
11235
|
-
方形印章:2
|
11236
|
-
菱形印章:3
|
11237
|
-
三角形印章:4
|
11238
|
-
*/
|
11239
|
-
SealShape: string
|
11240
|
-
}
|
11241
|
-
|
11242
10696
|
/**
|
11243
10697
|
* BusinessCardOCR请求参数结构体
|
11244
10698
|
*/
|
@@ -11272,64 +10726,6 @@ Config = {"RetImageType":"PROPROCESS"}
|
|
11272
10726
|
Config?: string
|
11273
10727
|
}
|
11274
10728
|
|
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
10729
|
/**
|
11334
10730
|
* FinanBillOCR请求参数结构体
|
11335
10731
|
*/
|