tencentcloud-sdk-ocr 3.0.1076 → 3.0.1078
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/client.rb +0 -3
- data/lib/v20181119/models.rb +33 -2
- 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: 58490924dc0313a0375863a43eb0c9719011036f
|
4
|
+
data.tar.gz: d9f01a0ce882cdc2acf183f26a553314e0c0b2ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 318e06a4ab20853afabe36a45c2fd4dd5a8678db3012540931fa04d75550155dc92b757c207cfd6914804a9edecf038c2b15ea58aecf3d97a8b67f12a7b88c62
|
7
|
+
data.tar.gz: d0d56f71900f4061f29e0f2f0b59f015a47eeab3946a301a46b193c08002bceb45486f4a2dd8dc155732b3ea126dd72be9b819a8c7c5b8ec699aa7c68a13e453
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1078
|
data/lib/v20181119/client.rb
CHANGED
data/lib/v20181119/models.rb
CHANGED
@@ -4587,6 +4587,9 @@ module TencentCloud
|
|
4587
4587
|
# @type EnableDateVerify: Boolean
|
4588
4588
|
|
4589
4589
|
attr_accessor :ImageBase64, :ImageUrl, :CardSide, :Config, :EnableRecognitionRectify, :EnableReflectDetail, :EnableDateVerify
|
4590
|
+
extend Gem::Deprecate
|
4591
|
+
deprecate :EnableDateVerify, :none, 2025, 6
|
4592
|
+
deprecate :EnableDateVerify=, :none, 2025, 6
|
4590
4593
|
|
4591
4594
|
def initialize(imagebase64=nil, imageurl=nil, cardside=nil, config=nil, enablerecognitionrectify=nil, enablereflectdetail=nil, enabledateverify=nil)
|
4592
4595
|
@ImageBase64 = imagebase64
|
@@ -8638,12 +8641,20 @@ module TencentCloud
|
|
8638
8641
|
# @type Reflection: :class:`Tencentcloud::Ocr.v20181119.models.GeneralCardWarnInfo`
|
8639
8642
|
# @param Reprint: 翻拍件信息
|
8640
8643
|
# @type Reprint: :class:`Tencentcloud::Ocr.v20181119.models.GeneralCardWarnInfo`
|
8644
|
+
# @param Screenshot: 是否截图
|
8645
|
+
# @type Screenshot: :class:`Tencentcloud::Ocr.v20181119.models.GeneralCardWarnInfo`
|
8646
|
+
# @param Cover: 是否遮挡
|
8647
|
+
# @type Cover: :class:`Tencentcloud::Ocr.v20181119.models.GeneralCardWarnInfo`
|
8648
|
+
# @param Overlap: 是否重叠
|
8649
|
+
# @type Overlap: :class:`Tencentcloud::Ocr.v20181119.models.GeneralCardWarnInfo`
|
8650
|
+
# @param Watermark: 是否水印
|
8651
|
+
# @type Watermark: :class:`Tencentcloud::Ocr.v20181119.models.GeneralCardWarnInfo`
|
8641
8652
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8642
8653
|
# @type RequestId: String
|
8643
8654
|
|
8644
|
-
attr_accessor :CardType, :Blur, :BorderIncomplete, :Copy, :Ps, :Reflection, :Reprint, :RequestId
|
8655
|
+
attr_accessor :CardType, :Blur, :BorderIncomplete, :Copy, :Ps, :Reflection, :Reprint, :Screenshot, :Cover, :Overlap, :Watermark, :RequestId
|
8645
8656
|
|
8646
|
-
def initialize(cardtype=nil, blur=nil, borderincomplete=nil, copy=nil, ps=nil, reflection=nil, reprint=nil, requestid=nil)
|
8657
|
+
def initialize(cardtype=nil, blur=nil, borderincomplete=nil, copy=nil, ps=nil, reflection=nil, reprint=nil, screenshot=nil, cover=nil, overlap=nil, watermark=nil, requestid=nil)
|
8647
8658
|
@CardType = cardtype
|
8648
8659
|
@Blur = blur
|
8649
8660
|
@BorderIncomplete = borderincomplete
|
@@ -8651,6 +8662,10 @@ module TencentCloud
|
|
8651
8662
|
@Ps = ps
|
8652
8663
|
@Reflection = reflection
|
8653
8664
|
@Reprint = reprint
|
8665
|
+
@Screenshot = screenshot
|
8666
|
+
@Cover = cover
|
8667
|
+
@Overlap = overlap
|
8668
|
+
@Watermark = watermark
|
8654
8669
|
@RequestId = requestid
|
8655
8670
|
end
|
8656
8671
|
|
@@ -8680,6 +8695,22 @@ module TencentCloud
|
|
8680
8695
|
@Reprint = GeneralCardWarnInfo.new
|
8681
8696
|
@Reprint.deserialize(params['Reprint'])
|
8682
8697
|
end
|
8698
|
+
unless params['Screenshot'].nil?
|
8699
|
+
@Screenshot = GeneralCardWarnInfo.new
|
8700
|
+
@Screenshot.deserialize(params['Screenshot'])
|
8701
|
+
end
|
8702
|
+
unless params['Cover'].nil?
|
8703
|
+
@Cover = GeneralCardWarnInfo.new
|
8704
|
+
@Cover.deserialize(params['Cover'])
|
8705
|
+
end
|
8706
|
+
unless params['Overlap'].nil?
|
8707
|
+
@Overlap = GeneralCardWarnInfo.new
|
8708
|
+
@Overlap.deserialize(params['Overlap'])
|
8709
|
+
end
|
8710
|
+
unless params['Watermark'].nil?
|
8711
|
+
@Watermark = GeneralCardWarnInfo.new
|
8712
|
+
@Watermark.deserialize(params['Watermark'])
|
8713
|
+
end
|
8683
8714
|
@RequestId = params['RequestId']
|
8684
8715
|
end
|
8685
8716
|
end
|
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.1078
|
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-06-
|
11
|
+
date: 2025-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|