tencentcloud-sdk-nodejs-ocr 4.1.82 → 4.1.84

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.82",
3
+ "version": "4.1.84",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -644,7 +644,7 @@ export interface WordItem {
644
644
  */
645
645
  export interface MLIDPassportOCRRequest {
646
646
  /**
647
- * 图片的 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以上。
648
648
  */
649
649
  ImageBase64?: string;
650
650
  /**
@@ -652,7 +652,7 @@ export interface MLIDPassportOCRRequest {
652
652
  */
653
653
  RetImage?: boolean;
654
654
  /**
655
- * 图片的 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 秒。建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
656
656
  */
657
657
  ImageUrl?: string;
658
658
  }
@@ -3987,15 +3987,8 @@ export interface RecognizeThaiIDCardOCRResponse {
3987
3987
  */
3988
3988
  WarnCardInfos?: Array<number | bigint>;
3989
3989
  /**
3990
- * 字段置信度:
3991
- {
3992
- "ID": {
3993
- "Confidence": 0.9999
3994
- },
3995
- "ThaiName": {
3996
- "Confidence": 0.9996
3997
- }
3998
- }
3990
+ * 该字段已废弃, 将固定返回"1",不建议使用。
3991
+ * @deprecated
3999
3992
  */
4000
3993
  AdvancedInfo?: string;
4001
3994
  /**
@@ -8706,10 +8699,9 @@ export interface MLIDPassportOCRResponse {
8706
8699
  */
8707
8700
  Nationality?: string;
8708
8701
  /**
8709
- * 告警码:
8710
- -9103 证照翻拍告警
8711
- -9102 证照复印件告警(包括黑白复印件、彩色复印件)
8712
- -9106 证件遮挡告警
8702
+ * 该字段已废弃, 将固定返回空数组,不建议使用。
8703
+
8704
+ * @deprecated
8713
8705
  */
8714
8706
  Warn?: Array<number | bigint>;
8715
8707
  /**
@@ -8717,15 +8709,9 @@ export interface MLIDPassportOCRResponse {
8717
8709
  */
8718
8710
  Image?: string;
8719
8711
  /**
8720
- * 扩展字段:
8721
- {
8722
- ID:{
8723
- Confidence:0.9999
8724
- },
8725
- Name:{
8726
- Confidence:0.9996
8727
- }
8728
- }
8712
+ * 该字段已废弃, 将固定返回"1",不建议使用。
8713
+
8714
+ * @deprecated
8729
8715
  */
8730
8716
  AdvancedInfo?: string;
8731
8717
  /**
@@ -9488,25 +9474,19 @@ export interface VatRollItem {
9488
9474
  */
9489
9475
  export interface MLIDCardOCRRequest {
9490
9476
  /**
9491
- * 图片的 Base64 值。
9492
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
9493
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
9477
+ * 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。
9494
9478
  */
9495
9479
  ImageBase64?: string;
9496
9480
  /**
9497
- * 卡证背面图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
9481
+ * 卡证背面图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
9498
9482
  */
9499
9483
  BackImageBase64?: string;
9500
9484
  /**
9501
- * 图片的 Url 地址。( 中国地区之外不支持这个字段 )
9502
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
9503
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
9504
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
9505
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
9485
+ * 图片的 Url 地址。( 中国地区之外不支持这个字段 )支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
9506
9486
  */
9507
9487
  ImageUrl?: string;
9508
9488
  /**
9509
- * 卡证背面图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
9489
+ * 卡证背面图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
9510
9490
  */
9511
9491
  BackImageUrl?: string;
9512
9492
  /**
@@ -10594,11 +10574,7 @@ export interface MLIDCardOCRResponse {
10594
10574
  */
10595
10575
  Sex?: string;
10596
10576
  /**
10597
- * 告警码
10598
- -9103 证照翻拍告警
10599
- -9102 证照复印件告警
10600
- -9106 证件遮挡告警
10601
- -9107 模糊图片告警
10577
+ * 该字段已废弃, 将固定返回空数组,不建议使用。
10602
10578
  * @deprecated
10603
10579
  */
10604
10580
  Warn?: Array<number | bigint>;
@@ -10607,13 +10583,8 @@ export interface MLIDCardOCRResponse {
10607
10583
  */
10608
10584
  Image?: string;
10609
10585
  /**
10610
- * 此字段为扩展字段。
10611
- 返回字段识别结果的置信度,格式如下
10612
- {
10613
- 字段名:{
10614
- Confidence:0.9999
10615
- }
10616
- }
10586
+ * 该字段已废弃, 将固定返回"1",不建议使用。
10587
+ * @deprecated
10617
10588
  */
10618
10589
  AdvancedInfo?: string;
10619
10590
  /**