tencentcloud-sdk-ocr 3.0.1117 → 3.0.1122

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 +14 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 89cb63baa3e42b013c139d0ae080da930048d8cf
4
- data.tar.gz: 1dcf4980e841632ca87ca6451eb45697a52f573d
3
+ metadata.gz: b72a1936cc641896d64783903992a50be81e400b
4
+ data.tar.gz: 7796aaa28c786daff77432572e865b7b27f3ead8
5
5
  SHA512:
6
- metadata.gz: 042774341af7cfe4ae15bd3db0ef15a4b83d65dc6ea1979a398f75ee5a889cbb839b3a352e05f265933fc7619021edccbc829e3150b60a66ecb0a2a506448025
7
- data.tar.gz: 950f44c9ece6c701767d19cfb2c7715018507b284bf7e74e236b891d0c1c68179a2747b7d4ae44991d551f8db96c57007ec8df48c4044869ee93bd4ee3b7e992
6
+ metadata.gz: a1c8bfd82c8e8c45626b9a6f64e6682e9ee2077c1123b0778137644384b1d89c4dcfbc129cb013010cec6579b74b43aa7d263925f0820e0f25ae5ebfad84dae9
7
+ data.tar.gz: 5e06fad9c5ca9ddf4dced78b6876995dc672f2897aaf442c230172ad24ddb6ed7bb4131e9931911cf28bc5f79170cd7c783183677c36a20ec13f2c70b97138e9
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1117
1
+ 3.0.1122
@@ -1299,10 +1299,14 @@ module TencentCloud
1299
1299
  # @type BlurCheck: Integer
1300
1300
  # @param BlurScore: 模糊分数, 范围:0.0-1.0,分数越高越模糊,建议阈值为0.5
1301
1301
  # @type BlurScore: Float
1302
+ # @param ElectronCheck: 是否电子身份证
1303
+ # 0:否
1304
+ # 1:是电子身份证
1305
+ # @type ElectronCheck: Integer
1302
1306
 
1303
- attr_accessor :BorderCheck, :OcclusionCheck, :CopyCheck, :ReshootCheck, :PSCheck, :BlurCheck, :BlurScore
1307
+ attr_accessor :BorderCheck, :OcclusionCheck, :CopyCheck, :ReshootCheck, :PSCheck, :BlurCheck, :BlurScore, :ElectronCheck
1304
1308
 
1305
- def initialize(bordercheck=nil, occlusioncheck=nil, copycheck=nil, reshootcheck=nil, pscheck=nil, blurcheck=nil, blurscore=nil)
1309
+ def initialize(bordercheck=nil, occlusioncheck=nil, copycheck=nil, reshootcheck=nil, pscheck=nil, blurcheck=nil, blurscore=nil, electroncheck=nil)
1306
1310
  @BorderCheck = bordercheck
1307
1311
  @OcclusionCheck = occlusioncheck
1308
1312
  @CopyCheck = copycheck
@@ -1310,6 +1314,7 @@ module TencentCloud
1310
1314
  @PSCheck = pscheck
1311
1315
  @BlurCheck = blurcheck
1312
1316
  @BlurScore = blurscore
1317
+ @ElectronCheck = electroncheck
1313
1318
  end
1314
1319
 
1315
1320
  def deserialize(params)
@@ -1320,6 +1325,7 @@ module TencentCloud
1320
1325
  @PSCheck = params['PSCheck']
1321
1326
  @BlurCheck = params['BlurCheck']
1322
1327
  @BlurScore = params['BlurScore']
1328
+ @ElectronCheck = params['ElectronCheck']
1323
1329
  end
1324
1330
  end
1325
1331
 
@@ -9871,10 +9877,12 @@ module TencentCloud
9871
9877
  # @type EnableWordCheck: Boolean
9872
9878
  # @param EnableQualityCheck: 默认值为false,打开返回证件是否模糊。
9873
9879
  # @type EnableQualityCheck: Boolean
9880
+ # @param EnableElectronCheck: 默认值为false,打开返回是否存在电子身份证判断。
9881
+ # @type EnableElectronCheck: Boolean
9874
9882
 
9875
- attr_accessor :ImageBase64, :ImageUrl, :CardType, :EnablePortrait, :EnableCropImage, :EnableBorderCheck, :EnableOcclusionCheck, :EnableCopyCheck, :EnableReshootCheck, :EnablePSCheck, :EnableWordCheck, :EnableQualityCheck
9883
+ attr_accessor :ImageBase64, :ImageUrl, :CardType, :EnablePortrait, :EnableCropImage, :EnableBorderCheck, :EnableOcclusionCheck, :EnableCopyCheck, :EnableReshootCheck, :EnablePSCheck, :EnableWordCheck, :EnableQualityCheck, :EnableElectronCheck
9876
9884
 
9877
- 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)
9885
+ 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, enableelectroncheck=nil)
9878
9886
  @ImageBase64 = imagebase64
9879
9887
  @ImageUrl = imageurl
9880
9888
  @CardType = cardtype
@@ -9887,6 +9895,7 @@ module TencentCloud
9887
9895
  @EnablePSCheck = enablepscheck
9888
9896
  @EnableWordCheck = enablewordcheck
9889
9897
  @EnableQualityCheck = enablequalitycheck
9898
+ @EnableElectronCheck = enableelectroncheck
9890
9899
  end
9891
9900
 
9892
9901
  def deserialize(params)
@@ -9902,6 +9911,7 @@ module TencentCloud
9902
9911
  @EnablePSCheck = params['EnablePSCheck']
9903
9912
  @EnableWordCheck = params['EnableWordCheck']
9904
9913
  @EnableQualityCheck = params['EnableQualityCheck']
9914
+ @EnableElectronCheck = params['EnableElectronCheck']
9905
9915
  end
9906
9916
  end
9907
9917
 
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.1117
4
+ version: 3.0.1122
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-08-05 00:00:00.000000000 Z
11
+ date: 2025-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common