tencentcloud-sdk-ocr 3.0.1116 → 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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20181119/models.rb +14 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b72a1936cc641896d64783903992a50be81e400b
|
4
|
+
data.tar.gz: 7796aaa28c786daff77432572e865b7b27f3ead8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1c8bfd82c8e8c45626b9a6f64e6682e9ee2077c1123b0778137644384b1d89c4dcfbc129cb013010cec6579b74b43aa7d263925f0820e0f25ae5ebfad84dae9
|
7
|
+
data.tar.gz: 5e06fad9c5ca9ddf4dced78b6876995dc672f2897aaf442c230172ad24ddb6ed7bb4131e9931911cf28bc5f79170cd7c783183677c36a20ec13f2c70b97138e9
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1122
|
data/lib/v20181119/models.rb
CHANGED
@@ -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
|
|
@@ -4493,7 +4499,6 @@ module TencentCloud
|
|
4493
4499
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4494
4500
|
# @type SmallHeadImage: String
|
4495
4501
|
# @param WarningCode: 该字段已废弃, 将固定返回空数组,不建议使用。
|
4496
|
-
# This field is deprecated and will always return an empty array. Usage is not recommended.
|
4497
4502
|
# @type WarningCode: Array
|
4498
4503
|
# @param WarnCardInfos: 告警码
|
4499
4504
|
# -9101 证件边框不完整告警
|
@@ -9872,10 +9877,12 @@ module TencentCloud
|
|
9872
9877
|
# @type EnableWordCheck: Boolean
|
9873
9878
|
# @param EnableQualityCheck: 默认值为false,打开返回证件是否模糊。
|
9874
9879
|
# @type EnableQualityCheck: Boolean
|
9880
|
+
# @param EnableElectronCheck: 默认值为false,打开返回是否存在电子身份证判断。
|
9881
|
+
# @type EnableElectronCheck: Boolean
|
9875
9882
|
|
9876
|
-
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
|
9877
9884
|
|
9878
|
-
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)
|
9879
9886
|
@ImageBase64 = imagebase64
|
9880
9887
|
@ImageUrl = imageurl
|
9881
9888
|
@CardType = cardtype
|
@@ -9888,6 +9895,7 @@ module TencentCloud
|
|
9888
9895
|
@EnablePSCheck = enablepscheck
|
9889
9896
|
@EnableWordCheck = enablewordcheck
|
9890
9897
|
@EnableQualityCheck = enablequalitycheck
|
9898
|
+
@EnableElectronCheck = enableelectroncheck
|
9891
9899
|
end
|
9892
9900
|
|
9893
9901
|
def deserialize(params)
|
@@ -9903,6 +9911,7 @@ module TencentCloud
|
|
9903
9911
|
@EnablePSCheck = params['EnablePSCheck']
|
9904
9912
|
@EnableWordCheck = params['EnableWordCheck']
|
9905
9913
|
@EnableQualityCheck = params['EnableQualityCheck']
|
9914
|
+
@EnableElectronCheck = params['EnableElectronCheck']
|
9906
9915
|
end
|
9907
9916
|
end
|
9908
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.
|
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-
|
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
|