tencentcloud-sdk-ocr 3.0.1094 → 3.0.1096

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20181119/models.rb +21 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d1ae26dd2553e17b06537d18818885ff148b12a2
4
- data.tar.gz: 6fd7431d8df0b8439efee92eca47706d202133fa
3
+ metadata.gz: 5c8ffdefa40cad07bd911c232936c82ae734672e
4
+ data.tar.gz: e684c4859f3c90accc8e74ffb871d3fc8c8c405a
5
5
  SHA512:
6
- metadata.gz: a9428a83a39e790d9a15448a48148efc80f78b78980535f1819d1a66798f886e8be6f9e0b4d63d175ea6509963ae86b0d9d4976535c7bfd7b1e6a078d463ae5c
7
- data.tar.gz: ac85ac13f4aafded13b4e5268e4c26e870f0a5f5dcf4aaa2b00ad707512cae4547eb5d8887fc552b1649e54341805f370b7c84798b5970aea988fa4641dfeff8
6
+ metadata.gz: 6573b250049bd359f6b287888e99c8c2cae085e1527770d274418586d73a6d055fb280f2198fca5070e3f203bdc6ae8cf0a64d6d0144437caa53aa11587b6edc
7
+ data.tar.gz: 78e737d0c04bfad005835c1e182745fd56e63e916b00ef3c043bad3f1a26ea0e4a6ff1c24fe117943b3b20a2195dfb784c4f89cdb0dbd15388afa389803f0735
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1094
1
+ 3.0.1096
@@ -1251,15 +1251,23 @@ module TencentCloud
1251
1251
  # 0:正常
1252
1252
  # 1:有PS
1253
1253
  # @type PSCheck: Integer
1254
+ # @param BlurCheck: 是否模糊:
1255
+ # 0:正常
1256
+ # 1:模糊
1257
+ # @type BlurCheck: Integer
1258
+ # @param BlurScore: 模糊分数, 范围:0.0-1.0,分数越高越模糊,建议阈值为0.5
1259
+ # @type BlurScore: Float
1254
1260
 
1255
- attr_accessor :BorderCheck, :OcclusionCheck, :CopyCheck, :ReshootCheck, :PSCheck
1261
+ attr_accessor :BorderCheck, :OcclusionCheck, :CopyCheck, :ReshootCheck, :PSCheck, :BlurCheck, :BlurScore
1256
1262
 
1257
- def initialize(bordercheck=nil, occlusioncheck=nil, copycheck=nil, reshootcheck=nil, pscheck=nil)
1263
+ def initialize(bordercheck=nil, occlusioncheck=nil, copycheck=nil, reshootcheck=nil, pscheck=nil, blurcheck=nil, blurscore=nil)
1258
1264
  @BorderCheck = bordercheck
1259
1265
  @OcclusionCheck = occlusioncheck
1260
1266
  @CopyCheck = copycheck
1261
1267
  @ReshootCheck = reshootcheck
1262
1268
  @PSCheck = pscheck
1269
+ @BlurCheck = blurcheck
1270
+ @BlurScore = blurscore
1263
1271
  end
1264
1272
 
1265
1273
  def deserialize(params)
@@ -1268,6 +1276,8 @@ module TencentCloud
1268
1276
  @CopyCheck = params['CopyCheck']
1269
1277
  @ReshootCheck = params['ReshootCheck']
1270
1278
  @PSCheck = params['PSCheck']
1279
+ @BlurCheck = params['BlurCheck']
1280
+ @BlurScore = params['BlurScore']
1271
1281
  end
1272
1282
  end
1273
1283
 
@@ -3048,6 +3058,9 @@ module TencentCloud
3048
3058
  # Table -- 表格模版
3049
3059
  # SteelLabel -- 实物标签识别模板
3050
3060
  # CarInsurance -- 车辆保险单识别模板
3061
+ # MultiRealEstateCertificate -- 房产材料识别模板
3062
+ # MultiRealEstateMaterial -- 房产证明识别模板
3063
+ # HongKongUtilityBill -- 香港水电煤单识别模板
3051
3064
  # @type ConfigId: String
3052
3065
  # @param EnableCoord: 是否开启全文字段坐标值的识别
3053
3066
  # @type EnableCoord: Boolean
@@ -9765,10 +9778,12 @@ module TencentCloud
9765
9778
  # @type EnablePSCheck: Boolean
9766
9779
  # @param EnableWordCheck: 默认值为false,打开返回字段级反光和字段级完整性告警。类型为:临时、港澳台居住证、外国人居住证失效
9767
9780
  # @type EnableWordCheck: Boolean
9781
+ # @param EnableQualityCheck: 默认值为false,打开返回证件是否模糊。
9782
+ # @type EnableQualityCheck: Boolean
9768
9783
 
9769
- attr_accessor :ImageBase64, :ImageUrl, :CardType, :EnablePortrait, :EnableCropImage, :EnableBorderCheck, :EnableOcclusionCheck, :EnableCopyCheck, :EnableReshootCheck, :EnablePSCheck, :EnableWordCheck
9784
+ attr_accessor :ImageBase64, :ImageUrl, :CardType, :EnablePortrait, :EnableCropImage, :EnableBorderCheck, :EnableOcclusionCheck, :EnableCopyCheck, :EnableReshootCheck, :EnablePSCheck, :EnableWordCheck, :EnableQualityCheck
9770
9785
 
9771
- def initialize(imagebase64=nil, imageurl=nil, cardtype=nil, enableportrait=nil, enablecropimage=nil, enablebordercheck=nil, enableocclusioncheck=nil, enablecopycheck=nil, enablereshootcheck=nil, enablepscheck=nil, enablewordcheck=nil)
9786
+ def initialize(imagebase64=nil, imageurl=nil, cardtype=nil, enableportrait=nil, enablecropimage=nil, enablebordercheck=nil, enableocclusioncheck=nil, enablecopycheck=nil, enablereshootcheck=nil, enablepscheck=nil, enablewordcheck=nil, enablequalitycheck=nil)
9772
9787
  @ImageBase64 = imagebase64
9773
9788
  @ImageUrl = imageurl
9774
9789
  @CardType = cardtype
@@ -9780,6 +9795,7 @@ module TencentCloud
9780
9795
  @EnableReshootCheck = enablereshootcheck
9781
9796
  @EnablePSCheck = enablepscheck
9782
9797
  @EnableWordCheck = enablewordcheck
9798
+ @EnableQualityCheck = enablequalitycheck
9783
9799
  end
9784
9800
 
9785
9801
  def deserialize(params)
@@ -9794,6 +9810,7 @@ module TencentCloud
9794
9810
  @EnableReshootCheck = params['EnableReshootCheck']
9795
9811
  @EnablePSCheck = params['EnablePSCheck']
9796
9812
  @EnableWordCheck = params['EnableWordCheck']
9813
+ @EnableQualityCheck = params['EnableQualityCheck']
9797
9814
  end
9798
9815
  end
9799
9816
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ocr
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1094
4
+ version: 3.0.1096
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-07-05 00:00:00.000000000 Z
11
+ date: 2025-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common