tencentcloud-sdk-nodejs-ocr 4.0.837 → 4.0.844

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.
@@ -559,6 +559,36 @@ export interface MLIDPassportOCRRequest {
559
559
  ImageUrl?: string
560
560
  }
561
561
 
562
+ /**
563
+ * RecognizeGeneralTextImageWarn返回参数结构体
564
+ */
565
+ export interface RecognizeGeneralTextImageWarnResponse {
566
+ /**
567
+ * 复印告警信息
568
+ */
569
+ Copy?: GeneralWarnInfo
570
+ /**
571
+ * 翻拍告警信息
572
+ */
573
+ Reprint?: GeneralWarnInfo
574
+ /**
575
+ * 模糊告警信息
576
+ */
577
+ Blur?: GeneralWarnInfo
578
+ /**
579
+ * 反光告警信息
580
+ */
581
+ Reflection?: GeneralWarnInfo
582
+ /**
583
+ * 边框不完整告警信息
584
+ */
585
+ BorderIncomplete?: GeneralWarnInfo
586
+ /**
587
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
588
+ */
589
+ RequestId?: string
590
+ }
591
+
562
592
  /**
563
593
  * 智能结构化元素组
564
594
  */
@@ -628,6 +658,7 @@ OnboardingDocuments -- 入职材料识别
628
658
  PropertyOwnershipCertificate -- 房产证识别
629
659
  RealEstateCertificate --不动产权证识别
630
660
  HouseEncumbranceCertificate -- 他权证识别
661
+ CarInsurance -- 车险保单
631
662
  */
632
663
  ConfigId?: string
633
664
  /**
@@ -1393,68 +1424,91 @@ export interface VehicleRegCertInfo {
1393
1424
  }
1394
1425
 
1395
1426
  /**
1396
- * IDCardOCR返回参数结构体
1427
+ * 全电发票(航空运输电子客票行程单)
1397
1428
  */
1398
- export interface IDCardOCRResponse {
1429
+ export interface ElectronicAirTransport {
1399
1430
  /**
1400
- * 姓名(人像面)
1431
+ * 发票代码
1432
+ 注意:此字段可能返回 null,表示取不到有效值。
1401
1433
  */
1402
- Name?: string
1434
+ Code?: string
1403
1435
  /**
1404
- * 性别(人像面)
1436
+ * 发票号码
1437
+ 注意:此字段可能返回 null,表示取不到有效值。
1405
1438
  */
1406
- Sex?: string
1439
+ Number?: string
1407
1440
  /**
1408
- * 民族(人像面)
1441
+ * 开票日期
1442
+ 注意:此字段可能返回 null,表示取不到有效值。
1409
1443
  */
1410
- Nation?: string
1444
+ Date?: string
1411
1445
  /**
1412
- * 出生日期(人像面)
1446
+ * 金额
1447
+ 注意:此字段可能返回 null,表示取不到有效值。
1413
1448
  */
1414
- Birth?: string
1449
+ Amount?: string
1415
1450
  /**
1416
- * 地址(人像面)
1451
+ * 校验码
1452
+ 注意:此字段可能返回 null,表示取不到有效值。
1417
1453
  */
1418
- Address?: string
1454
+ CheckCode?: string
1419
1455
  /**
1420
- * 身份证号(人像面)
1456
+ * 价税合计
1457
+ 注意:此字段可能返回 null,表示取不到有效值。
1421
1458
  */
1422
- IdNum?: string
1459
+ Total?: string
1423
1460
  /**
1424
- * 发证机关(国徽面)
1461
+ * 抵扣标志
1462
+ 注意:此字段可能返回 null,表示取不到有效值。
1425
1463
  */
1426
- Authority?: string
1464
+ DeductionMark?: string
1427
1465
  /**
1428
- * 证件有效期(国徽面)
1466
+ * 发票状态代码,0正常 1 未更新 2作废 3已红冲
1467
+ 注意:此字段可能返回 null,表示取不到有效值。
1429
1468
  */
1430
- ValidDate?: string
1469
+ StateCode?: string
1431
1470
  /**
1432
- * 扩展信息,不请求则不返回,具体输入参考示例3和示例4。
1433
- IdCard,裁剪后身份证照片的base64编码,请求 Config.CropIdCard 时返回;
1434
- Portrait,身份证头像照片的base64编码,请求 Config.CropPortrait 时返回;
1435
-
1436
- Quality,图片质量分数,请求 Config.Quality 时返回(取值范围:0 ~ 100,分数越低越模糊,建议阈值≥50);
1437
- BorderCodeValue,身份证边框不完整告警阈值分数,请求 Config.BorderCheckWarn时返回(取值范围:0 ~ 100,分数越低边框遮挡可能性越低,建议阈值≤50);
1438
-
1439
- WarnInfos,告警信息,Code 告警码列表和释义:
1440
- -9100 身份证有效日期不合法告警,
1441
- -9101 身份证边框不完整告警,
1442
- -9102 身份证复印件告警,
1443
- -9103 身份证翻拍告警,
1444
- -9105 身份证框内遮挡告警,
1445
- -9104 临时身份证告警,
1446
- -9106 身份证疑似存在PS痕迹告警,
1447
- -9107 身份证反光告警。
1471
+ * 购方识别号
1472
+ 注意:此字段可能返回 null,表示取不到有效值。
1448
1473
  */
1449
- AdvancedInfo?: string
1474
+ BuyerTaxCode?: string
1450
1475
  /**
1451
- * 反光点覆盖区域详情结果,具体内容请点击左侧链接
1476
+ * 购方名称
1477
+ 注意:此字段可能返回 null,表示取不到有效值。
1452
1478
  */
1453
- ReflectDetailInfos?: Array<ReflectDetailInfo>
1479
+ BuyerName?: string
1454
1480
  /**
1455
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1481
+ * 合计税额
1482
+ 注意:此字段可能返回 null,表示取不到有效值。
1456
1483
  */
1457
- RequestId?: string
1484
+ Tax?: string
1485
+ /**
1486
+ * 国内国际标识
1487
+ 注意:此字段可能返回 null,表示取不到有效值。
1488
+ */
1489
+ DomesticInternationalMark?: string
1490
+ /**
1491
+ * 旅客姓名
1492
+ 注意:此字段可能返回 null,表示取不到有效值。
1493
+ */
1494
+ PassengerName?: string
1495
+ /**
1496
+ * 有效身份证件号码
1497
+ 注意:此字段可能返回 null,表示取不到有效值。
1498
+ */
1499
+ PassengerNo?: string
1500
+ /**
1501
+ * 电子客票号码
1502
+ 注意:此字段可能返回 null,表示取不到有效值。
1503
+ */
1504
+ ElectronicNumber?: string
1505
+ /**
1506
+ * 全电发票(航空运输电子客票行程单)详细信息
1507
+
1508
+
1509
+ 注意:此字段可能返回 null,表示取不到有效值。
1510
+ */
1511
+ ElectronicAirTransportDetails?: Array<ElectronicAirTransportDetail>
1458
1512
  }
1459
1513
 
1460
1514
  /**
@@ -1568,13 +1622,9 @@ export interface SealInfo {
1568
1622
  }
1569
1623
 
1570
1624
  /**
1571
- * RecognizePhilippinesVoteIDOCR请求参数结构体
1625
+ * RecognizeIndonesiaIDCardOCR请求参数结构体
1572
1626
  */
1573
- export interface RecognizePhilippinesVoteIDOCRRequest {
1574
- /**
1575
- * 是否返回人像照片。
1576
- */
1577
- ReturnHeadImage: boolean
1627
+ export interface RecognizeIndonesiaIDCardOCRRequest {
1578
1628
  /**
1579
1629
  * 图片的 Base64 值。
1580
1630
  支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
@@ -1590,6 +1640,17 @@ export interface RecognizePhilippinesVoteIDOCRRequest {
1590
1640
  非腾讯云存储的 Url 速度和稳定性可能受一定影响。
1591
1641
  */
1592
1642
  ImageUrl?: string
1643
+ /**
1644
+ * 是否返回人像照片。
1645
+ */
1646
+ ReturnHeadImage?: boolean
1647
+ /**
1648
+ * 场景参数,默认值为V1
1649
+ 可选值:
1650
+ V1
1651
+ V2
1652
+ */
1653
+ Scene?: string
1593
1654
  }
1594
1655
 
1595
1656
  /**
@@ -3473,91 +3534,23 @@ export interface Key {
3473
3534
  }
3474
3535
 
3475
3536
  /**
3476
- * 全电发票(航空运输电子客票行程单)
3537
+ * 通用告警详情
3477
3538
  */
3478
- export interface ElectronicAirTransport {
3479
- /**
3480
- * 发票代码
3481
- 注意:此字段可能返回 null,表示取不到有效值。
3482
- */
3483
- Code?: string
3484
- /**
3485
- * 发票号码
3486
- 注意:此字段可能返回 null,表示取不到有效值。
3487
- */
3488
- Number?: string
3489
- /**
3490
- * 开票日期
3491
- 注意:此字段可能返回 null,表示取不到有效值。
3492
- */
3493
- Date?: string
3494
- /**
3495
- * 金额
3496
- 注意:此字段可能返回 null,表示取不到有效值。
3497
- */
3498
- Amount?: string
3499
- /**
3500
- * 校验码
3501
- 注意:此字段可能返回 null,表示取不到有效值。
3502
- */
3503
- CheckCode?: string
3504
- /**
3505
- * 价税合计
3506
- 注意:此字段可能返回 null,表示取不到有效值。
3507
- */
3508
- Total?: string
3509
- /**
3510
- * 抵扣标志
3511
- 注意:此字段可能返回 null,表示取不到有效值。
3512
- */
3513
- DeductionMark?: string
3514
- /**
3515
- * 发票状态代码,0正常 1 未更新 2作废 3已红冲
3516
- 注意:此字段可能返回 null,表示取不到有效值。
3517
- */
3518
- StateCode?: string
3519
- /**
3520
- * 购方识别号
3521
- 注意:此字段可能返回 null,表示取不到有效值。
3522
- */
3523
- BuyerTaxCode?: string
3524
- /**
3525
- * 购方名称
3526
- 注意:此字段可能返回 null,表示取不到有效值。
3527
- */
3528
- BuyerName?: string
3529
- /**
3530
- * 合计税额
3531
- 注意:此字段可能返回 null,表示取不到有效值。
3532
- */
3533
- Tax?: string
3534
- /**
3535
- * 国内国际标识
3536
- 注意:此字段可能返回 null,表示取不到有效值。
3537
- */
3538
- DomesticInternationalMark?: string
3539
+ export interface GeneralWarnInfo {
3539
3540
  /**
3540
- * 旅客姓名
3541
- 注意:此字段可能返回 null,表示取不到有效值。
3542
- */
3543
- PassengerName?: string
3544
- /**
3545
- * 有效身份证件号码
3546
- 注意:此字段可能返回 null,表示取不到有效值。
3541
+ * 是否存在该告警
3547
3542
  */
3548
- PassengerNo?: string
3543
+ IsWarn?: boolean
3549
3544
  /**
3550
- * 电子客票号码
3551
- 注意:此字段可能返回 null,表示取不到有效值。
3545
+ * 告警位置四点坐标
3552
3546
  */
3553
- ElectronicNumber?: string
3547
+ Polygon?: Array<Polygon>
3554
3548
  /**
3555
- * 全电发票(航空运输电子客票行程单)详细信息
3549
+ * 特殊判定,支持包括
3556
3550
 
3557
-
3558
- 注意:此字段可能返回 null,表示取不到有效值。
3551
+ Finger:由手指导致的不完整,仅在不完整告警中返回
3559
3552
  */
3560
- ElectronicAirTransportDetails?: Array<ElectronicAirTransportDetail>
3553
+ SpecificMatter?: string
3561
3554
  }
3562
3555
 
3563
3556
  /**
@@ -6194,46 +6187,79 @@ export interface OtherInvoiceList {
6194
6187
  }
6195
6188
 
6196
6189
  /**
6197
- * RecognizeIndonesiaIDCardOCR请求参数结构体
6190
+ * IDCardOCR返回参数结构体
6198
6191
  */
6199
- export interface RecognizeIndonesiaIDCardOCRRequest {
6192
+ export interface IDCardOCRResponse {
6200
6193
  /**
6201
- * 图片的 Base64 值。
6202
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
6203
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
6204
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
6194
+ * 姓名(人像面)
6205
6195
  */
6206
- ImageBase64?: string
6196
+ Name?: string
6207
6197
  /**
6208
- * 图片的 Url 地址。
6209
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
6210
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
6211
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
6212
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
6198
+ * 性别(人像面)
6213
6199
  */
6214
- ImageUrl?: string
6200
+ Sex?: string
6215
6201
  /**
6216
- * 是否返回人像照片。
6202
+ * 民族(人像面)
6217
6203
  */
6218
- ReturnHeadImage?: boolean
6204
+ Nation?: string
6219
6205
  /**
6220
- * 场景参数,默认值为V1
6221
- 可选值:
6222
- V1
6223
- V2
6206
+ * 出生日期(人像面)
6224
6207
  */
6225
- Scene?: string
6226
- }
6227
-
6228
- /**
6229
- * 轮船票字段信息
6230
- */
6231
- export interface ShipInvoiceInfo {
6208
+ Birth?: string
6232
6209
  /**
6233
- * 识别出的字段名称(关键字),支持以下字段:
6234
- 发票代码、发票号码、日期、票价、始发地、目的地、姓名、时间、发票消费类型、省、市、币种。
6210
+ * 地址(人像面)
6235
6211
  */
6236
- Name: string
6212
+ Address?: string
6213
+ /**
6214
+ * 身份证号(人像面)
6215
+ */
6216
+ IdNum?: string
6217
+ /**
6218
+ * 发证机关(国徽面)
6219
+ */
6220
+ Authority?: string
6221
+ /**
6222
+ * 证件有效期(国徽面)
6223
+ */
6224
+ ValidDate?: string
6225
+ /**
6226
+ * 扩展信息,不请求则不返回,具体输入参考示例3和示例4。
6227
+ IdCard,裁剪后身份证照片的base64编码,请求 Config.CropIdCard 时返回;
6228
+ Portrait,身份证头像照片的base64编码,请求 Config.CropPortrait 时返回;
6229
+
6230
+ Quality,图片质量分数,请求 Config.Quality 时返回(取值范围:0 ~ 100,分数越低越模糊,建议阈值≥50);
6231
+ BorderCodeValue,身份证边框不完整告警阈值分数,请求 Config.BorderCheckWarn时返回(取值范围:0 ~ 100,分数越低边框遮挡可能性越低,建议阈值≤50);
6232
+
6233
+ WarnInfos,告警信息,Code 告警码列表和释义:
6234
+ -9100 身份证有效日期不合法告警,
6235
+ -9101 身份证边框不完整告警,
6236
+ -9102 身份证复印件告警,
6237
+ -9103 身份证翻拍告警,
6238
+ -9105 身份证框内遮挡告警,
6239
+ -9104 临时身份证告警,
6240
+ -9106 身份证疑似存在PS痕迹告警,
6241
+ -9107 身份证反光告警。
6242
+ */
6243
+ AdvancedInfo?: string
6244
+ /**
6245
+ * 反光点覆盖区域详情结果,具体内容请点击左侧链接
6246
+ */
6247
+ ReflectDetailInfos?: Array<ReflectDetailInfo>
6248
+ /**
6249
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6250
+ */
6251
+ RequestId?: string
6252
+ }
6253
+
6254
+ /**
6255
+ * 轮船票字段信息
6256
+ */
6257
+ export interface ShipInvoiceInfo {
6258
+ /**
6259
+ * 识别出的字段名称(关键字),支持以下字段:
6260
+ 发票代码、发票号码、日期、票价、始发地、目的地、姓名、时间、发票消费类型、省、市、币种。
6261
+ */
6262
+ Name: string
6237
6263
  /**
6238
6264
  * 识别出的字段名称对应的值,也就是字段Name对应的字符串结果。
6239
6265
  */
@@ -6697,48 +6723,22 @@ export interface Encryption {
6697
6723
  }
6698
6724
 
6699
6725
  /**
6700
- * ArithmeticOCR请求参数结构体
6726
+ * GetTaskState返回参数结构体
6701
6727
  */
6702
- export interface ArithmeticOCRRequest {
6703
- /**
6704
- * 图片的 Base64 值。
6705
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
6706
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
6707
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
6708
- */
6709
- ImageBase64?: string
6710
- /**
6711
- * 图片的 Url 地址。
6712
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
6713
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
6714
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
6715
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
6716
- */
6717
- ImageUrl?: string
6718
- /**
6719
- * 用于选择是否支持横屏拍摄。打开则支持横屏拍摄图片角度判断,角度信息在返回参数的angle中,默认值为true
6720
- */
6721
- SupportHorizontalImage?: boolean
6722
- /**
6723
- * 是否拒绝非速算图,打开则拒绝非速算图(注:非速算图是指风景人物等明显不是速算图片的图片),默认值为false
6724
- */
6725
- RejectNonArithmeticPic?: boolean
6726
- /**
6727
- * 是否展开耦合算式中的竖式计算,默认值为false
6728
- */
6729
- EnableDispRelatedVertical?: boolean
6730
- /**
6731
- * 是否展示竖式算式的中间结果和格式控制字符,默认值为false
6732
- */
6733
- EnableDispMidResult?: boolean
6728
+ export interface GetTaskStateResponse {
6734
6729
  /**
6735
- * 是否开启pdf识别,默认值为true
6730
+ * 1:任务识别完成,还未提交
6731
+ 2:任务已手动关闭
6732
+ 3:任务已提交
6733
+ 4:任务识别中
6734
+ 5:超时:任务超过了可操作的24H时限
6735
+ 6:任务识别失败
6736
6736
  */
6737
- EnablePdfRecognize?: boolean
6737
+ TaskState?: number
6738
6738
  /**
6739
- * pdf页码,从0开始,默认为0
6739
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6740
6740
  */
6741
- PdfPageIndex?: number
6741
+ RequestId?: string
6742
6742
  }
6743
6743
 
6744
6744
  /**
@@ -7433,22 +7433,48 @@ export interface VinOCRResponse {
7433
7433
  }
7434
7434
 
7435
7435
  /**
7436
- * GetTaskState返回参数结构体
7436
+ * ArithmeticOCR请求参数结构体
7437
7437
  */
7438
- export interface GetTaskStateResponse {
7438
+ export interface ArithmeticOCRRequest {
7439
7439
  /**
7440
- * 1:任务识别完成,还未提交
7441
- 2:任务已手动关闭
7442
- 3:任务已提交
7443
- 4:任务识别中
7444
- 5:超时:任务超过了可操作的24H时限
7445
- 6:任务识别失败
7440
+ * 图片的 Base64 值。
7441
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
7442
+ 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
7443
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
7446
7444
  */
7447
- TaskState?: number
7445
+ ImageBase64?: string
7448
7446
  /**
7449
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7447
+ * 图片的 Url 地址。
7448
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
7449
+ 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
7450
+ 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
7451
+ 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
7450
7452
  */
7451
- RequestId?: string
7453
+ ImageUrl?: string
7454
+ /**
7455
+ * 用于选择是否支持横屏拍摄。打开则支持横屏拍摄图片角度判断,角度信息在返回参数的angle中,默认值为true
7456
+ */
7457
+ SupportHorizontalImage?: boolean
7458
+ /**
7459
+ * 是否拒绝非速算图,打开则拒绝非速算图(注:非速算图是指风景人物等明显不是速算图片的图片),默认值为false
7460
+ */
7461
+ RejectNonArithmeticPic?: boolean
7462
+ /**
7463
+ * 是否展开耦合算式中的竖式计算,默认值为false
7464
+ */
7465
+ EnableDispRelatedVertical?: boolean
7466
+ /**
7467
+ * 是否展示竖式算式的中间结果和格式控制字符,默认值为false
7468
+ */
7469
+ EnableDispMidResult?: boolean
7470
+ /**
7471
+ * 是否开启pdf识别,默认值为true
7472
+ */
7473
+ EnablePdfRecognize?: boolean
7474
+ /**
7475
+ * pdf页码,从0开始,默认为0
7476
+ */
7477
+ PdfPageIndex?: number
7452
7478
  }
7453
7479
 
7454
7480
  /**
@@ -7501,6 +7527,31 @@ export interface TextGeneralHandwriting {
7501
7527
  WordPolygon: Array<Polygon>
7502
7528
  }
7503
7529
 
7530
+ /**
7531
+ * RecognizePhilippinesVoteIDOCR请求参数结构体
7532
+ */
7533
+ export interface RecognizePhilippinesVoteIDOCRRequest {
7534
+ /**
7535
+ * 是否返回人像照片。
7536
+ */
7537
+ ReturnHeadImage: boolean
7538
+ /**
7539
+ * 图片的 Base64 值。
7540
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
7541
+ 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
7542
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
7543
+ */
7544
+ ImageBase64?: string
7545
+ /**
7546
+ * 图片的 Url 地址。
7547
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
7548
+ 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
7549
+ 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
7550
+ 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
7551
+ */
7552
+ ImageUrl?: string
7553
+ }
7554
+
7504
7555
  /**
7505
7556
  * PassportOCR请求参数结构体
7506
7557
  */
@@ -10210,6 +10261,103 @@ export interface QuotaInvoiceOCRResponse {
10210
10261
  RequestId?: string
10211
10262
  }
10212
10263
 
10264
+ /**
10265
+ * RecognizeGeneralTextImageWarn请求参数结构体
10266
+ */
10267
+ export interface RecognizeGeneralTextImageWarnRequest {
10268
+ /**
10269
+ * 图片的 Url 地址。
10270
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
10271
+ 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
10272
+ 支持的图片像素:需介于20-10000px之间。
10273
+ 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
10274
+ 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
10275
+ */
10276
+ ImageUrl?: string
10277
+ /**
10278
+ * 图片的 Base64 值。
10279
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
10280
+ 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
10281
+ 支持的图片像素:需介于20-10000px之间。
10282
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
10283
+ */
10284
+ ImageBase64?: string
10285
+ /**
10286
+ * 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。 示例值:false
10287
+ */
10288
+ EnablePdf?: boolean
10289
+ /**
10290
+ * 需要识别的PDF页面的对应页码,传入时仅支持PDF单页识别,当上传文件为PDF且EnablePdf参数值为true时有效,默认值为1。 示例值:1
10291
+ */
10292
+ PdfPageNumber?: number
10293
+ /**
10294
+ * 支持的模板类型
10295
+ - General 通用告警
10296
+ - LicensePlate 车牌告警
10297
+ */
10298
+ Type?: string
10299
+ }
10300
+
10301
+ /**
10302
+ * RecognizeForeignPermanentResidentIdCard请求参数结构体
10303
+ */
10304
+ export interface RecognizeForeignPermanentResidentIdCardRequest {
10305
+ /**
10306
+ * 图片的 Url 地址。
10307
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
10308
+ 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
10309
+ 支持的图片像素:需介于20-10000px之间。
10310
+ 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
10311
+ 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
10312
+ 示例值:https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/docume
10313
+ */
10314
+ ImageUrl?: string
10315
+ /**
10316
+ * 图片的 Base64 值。
10317
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
10318
+ 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
10319
+ 支持的图片像素:需介于20-10000px之间。
10320
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
10321
+ */
10322
+ ImageBase64?: string
10323
+ /**
10324
+ * 是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
10325
+ */
10326
+ EnablePdf?: boolean
10327
+ /**
10328
+ * 需要识别的PDF页面的对应页码,传入时仅支持PDF单页识别,当上传文件为PDF且EnablePdf参数值为true时有效,默认值为1。
10329
+ 示例值:1
10330
+ */
10331
+ PdfPageNumber?: number
10332
+ }
10333
+
10334
+ /**
10335
+ * GeneralFastOCR返回参数结构体
10336
+ */
10337
+ export interface GeneralFastOCRResponse {
10338
+ /**
10339
+ * 检测到的文本信息,具体内容请点击左侧链接。
10340
+ */
10341
+ TextDetections: Array<TextDetection>
10342
+ /**
10343
+ * 检测到的语言,目前支持的语种范围为:简体中文、繁体中文、英文、日文、韩文。未来将陆续新增对更多语种的支持。
10344
+ 返回结果含义为:zh - 中英混合,jap - 日文,kor - 韩文。
10345
+ */
10346
+ Language: string
10347
+ /**
10348
+ * 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负
10349
+ */
10350
+ Angel: number
10351
+ /**
10352
+ * 图片为PDF时,返回PDF的总页数,默认为0
10353
+ */
10354
+ PdfPageSize: number
10355
+ /**
10356
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10357
+ */
10358
+ RequestId?: string
10359
+ }
10360
+
10213
10361
  /**
10214
10362
  * 二手车销售统一发票
10215
10363
  */
@@ -10388,66 +10536,6 @@ export interface UsedCarPurchaseInvoice {
10388
10536
  MachineNumber?: string
10389
10537
  }
10390
10538
 
10391
- /**
10392
- * RecognizeForeignPermanentResidentIdCard请求参数结构体
10393
- */
10394
- export interface RecognizeForeignPermanentResidentIdCardRequest {
10395
- /**
10396
- * 图片的 Url 地址。
10397
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
10398
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
10399
- 支持的图片像素:需介于20-10000px之间。
10400
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
10401
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
10402
- 示例值:https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/docume
10403
- */
10404
- ImageUrl?: string
10405
- /**
10406
- * 图片的 Base64 值。
10407
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
10408
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
10409
- 支持的图片像素:需介于20-10000px之间。
10410
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
10411
- */
10412
- ImageBase64?: string
10413
- /**
10414
- * 是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
10415
- */
10416
- EnablePdf?: boolean
10417
- /**
10418
- * 需要识别的PDF页面的对应页码,传入时仅支持PDF单页识别,当上传文件为PDF且EnablePdf参数值为true时有效,默认值为1。
10419
- 示例值:1
10420
- */
10421
- PdfPageNumber?: number
10422
- }
10423
-
10424
- /**
10425
- * GeneralFastOCR返回参数结构体
10426
- */
10427
- export interface GeneralFastOCRResponse {
10428
- /**
10429
- * 检测到的文本信息,具体内容请点击左侧链接。
10430
- */
10431
- TextDetections: Array<TextDetection>
10432
- /**
10433
- * 检测到的语言,目前支持的语种范围为:简体中文、繁体中文、英文、日文、韩文。未来将陆续新增对更多语种的支持。
10434
- 返回结果含义为:zh - 中英混合,jap - 日文,kor - 韩文。
10435
- */
10436
- Language: string
10437
- /**
10438
- * 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负
10439
- */
10440
- Angel: number
10441
- /**
10442
- * 图片为PDF时,返回PDF的总页数,默认为0
10443
- */
10444
- PdfPageSize: number
10445
- /**
10446
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10447
- */
10448
- RequestId?: string
10449
- }
10450
-
10451
10539
  /**
10452
10540
  * 二维码/条形码坐标信息
10453
10541
  */