tencentcloud-sdk-nodejs-ocr 4.1.79 → 4.1.83

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-ocr",
3
- "version": "4.1.79",
3
+ "version": "4.1.83",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -471,6 +471,11 @@ export interface ExtractDocMultiRequest {
471
471
  * 模版的单个属性配置
472
472
  */
473
473
  ConfigAdvanced?: ConfigAdvanced;
474
+ /**
475
+ * cn时,添加的key为中文
476
+ en时,添加的key为英语
477
+ */
478
+ OutputLanguage?: string;
474
479
  }
475
480
  /**
476
481
  * RecognizeTravelCardOCR请求参数结构体
@@ -639,7 +644,7 @@ export interface WordItem {
639
644
  */
640
645
  export interface MLIDPassportOCRRequest {
641
646
  /**
642
- * 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。建议卡片部分占据图片2/3以上。
647
+ * 图片的 Base64 值。要求图片经Base64编码后不超过 10M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。建议卡片部分占据图片2/3以上。
643
648
  */
644
649
  ImageBase64?: string;
645
650
  /**
@@ -647,7 +652,7 @@ export interface MLIDPassportOCRRequest {
647
652
  */
648
653
  RetImage?: boolean;
649
654
  /**
650
- * 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
655
+ * 图片的 Url 地址。要求图片经Base64编码后不超过 10M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
651
656
  */
652
657
  ImageUrl?: string;
653
658
  }
@@ -3982,15 +3987,8 @@ export interface RecognizeThaiIDCardOCRResponse {
3982
3987
  */
3983
3988
  WarnCardInfos?: Array<number | bigint>;
3984
3989
  /**
3985
- * 字段置信度:
3986
- {
3987
- "ID": {
3988
- "Confidence": 0.9999
3989
- },
3990
- "ThaiName": {
3991
- "Confidence": 0.9996
3992
- }
3993
- }
3990
+ * 该字段已废弃, 将固定返回"1",不建议使用。
3991
+ * @deprecated
3994
3992
  */
3995
3993
  AdvancedInfo?: string;
3996
3994
  /**
@@ -8701,10 +8699,9 @@ export interface MLIDPassportOCRResponse {
8701
8699
  */
8702
8700
  Nationality?: string;
8703
8701
  /**
8704
- * 告警码:
8705
- -9103 证照翻拍告警
8706
- -9102 证照复印件告警(包括黑白复印件、彩色复印件)
8707
- -9106 证件遮挡告警
8702
+ * 该字段已废弃, 将固定返回空数组,不建议使用。
8703
+
8704
+ * @deprecated
8708
8705
  */
8709
8706
  Warn?: Array<number | bigint>;
8710
8707
  /**
@@ -8712,15 +8709,9 @@ export interface MLIDPassportOCRResponse {
8712
8709
  */
8713
8710
  Image?: string;
8714
8711
  /**
8715
- * 扩展字段:
8716
- {
8717
- ID:{
8718
- Confidence:0.9999
8719
- },
8720
- Name:{
8721
- Confidence:0.9996
8722
- }
8723
- }
8712
+ * 该字段已废弃, 将固定返回"1",不建议使用。
8713
+
8714
+ * @deprecated
8724
8715
  */
8725
8716
  AdvancedInfo?: string;
8726
8717
  /**
@@ -9483,25 +9474,19 @@ export interface VatRollItem {
9483
9474
  */
9484
9475
  export interface MLIDCardOCRRequest {
9485
9476
  /**
9486
- * 图片的 Base64 值。
9487
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
9488
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
9477
+ * 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。
9489
9478
  */
9490
9479
  ImageBase64?: string;
9491
9480
  /**
9492
- * 卡证背面图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
9481
+ * 卡证背面图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
9493
9482
  */
9494
9483
  BackImageBase64?: string;
9495
9484
  /**
9496
- * 图片的 Url 地址。( 中国地区之外不支持这个字段 )
9497
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
9498
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
9499
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
9500
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
9485
+ * 图片的 Url 地址。( 中国地区之外不支持这个字段 )支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
9501
9486
  */
9502
9487
  ImageUrl?: string;
9503
9488
  /**
9504
- * 卡证背面图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
9489
+ * 卡证背面图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
9505
9490
  */
9506
9491
  BackImageUrl?: string;
9507
9492
  /**
@@ -10589,11 +10574,7 @@ export interface MLIDCardOCRResponse {
10589
10574
  */
10590
10575
  Sex?: string;
10591
10576
  /**
10592
- * 告警码
10593
- -9103 证照翻拍告警
10594
- -9102 证照复印件告警
10595
- -9106 证件遮挡告警
10596
- -9107 模糊图片告警
10577
+ * 该字段已废弃, 将固定返回空数组,不建议使用。
10597
10578
  * @deprecated
10598
10579
  */
10599
10580
  Warn?: Array<number | bigint>;
@@ -10602,13 +10583,8 @@ export interface MLIDCardOCRResponse {
10602
10583
  */
10603
10584
  Image?: string;
10604
10585
  /**
10605
- * 此字段为扩展字段。
10606
- 返回字段识别结果的置信度,格式如下
10607
- {
10608
- 字段名:{
10609
- Confidence:0.9999
10610
- }
10611
- }
10586
+ * 该字段已废弃, 将固定返回"1",不建议使用。
10587
+ * @deprecated
10612
10588
  */
10613
10589
  AdvancedInfo?: string;
10614
10590
  /**