tencentcloud-sdk-ocr 3.0.992 → 3.0.993
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 +18 -18
- 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: e2d1ae05f028aac3705bffe5dfa7c6f7adb7db5c
|
4
|
+
data.tar.gz: d98ca29db3523cc8f371587c974949179f330522
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9eeed92d9bc284388859fd76b196b4d5330d2428bdb602d8fece5e81145085bdd4147c984772ca303a75b19b59cd334fcaaa86de55a3594b35ab82f38a276653
|
7
|
+
data.tar.gz: 961e281d3a9adb2336102b5cf5e38dd57986cc2fb8dde8027fe40ddba3bc4513bd528f21530c385b5734ae2a7024b2e5698fec7e63170af21c10e42e1ecb65ff
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.993
|
data/lib/v20181119/models.rb
CHANGED
@@ -1731,8 +1731,8 @@ module TencentCloud
|
|
1731
1731
|
|
1732
1732
|
attr_accessor :PageNumber, :Angle, :Height, :Width, :OriginHeight, :OriginWidth, :Elements, :RotatedAngle
|
1733
1733
|
extend Gem::Deprecate
|
1734
|
-
deprecate :Angle, :none, 2025,
|
1735
|
-
deprecate :Angle=, :none, 2025,
|
1734
|
+
deprecate :Angle, :none, 2025, 2
|
1735
|
+
deprecate :Angle=, :none, 2025, 2
|
1736
1736
|
|
1737
1737
|
def initialize(pagenumber=nil, angle=nil, height=nil, width=nil, originheight=nil, originwidth=nil, elements=nil, rotatedangle=nil)
|
1738
1738
|
@PageNumber = pagenumber
|
@@ -3589,8 +3589,8 @@ module TencentCloud
|
|
3589
3589
|
|
3590
3590
|
attr_accessor :TextDetections, :Angel, :Angle, :RequestId
|
3591
3591
|
extend Gem::Deprecate
|
3592
|
-
deprecate :Angel, :none, 2025,
|
3593
|
-
deprecate :Angel=, :none, 2025,
|
3592
|
+
deprecate :Angel, :none, 2025, 2
|
3593
|
+
deprecate :Angel=, :none, 2025, 2
|
3594
3594
|
|
3595
3595
|
def initialize(textdetections=nil, angel=nil, angle=nil, requestid=nil)
|
3596
3596
|
@TextDetections = textdetections
|
@@ -3696,8 +3696,8 @@ module TencentCloud
|
|
3696
3696
|
|
3697
3697
|
attr_accessor :TextDetections, :Language, :Angel, :PdfPageSize, :Angle, :RequestId
|
3698
3698
|
extend Gem::Deprecate
|
3699
|
-
deprecate :Angel, :none, 2025,
|
3700
|
-
deprecate :Angel=, :none, 2025,
|
3699
|
+
deprecate :Angel, :none, 2025, 2
|
3700
|
+
deprecate :Angel=, :none, 2025, 2
|
3701
3701
|
|
3702
3702
|
def initialize(textdetections=nil, language=nil, angel=nil, pdfpagesize=nil, angle=nil, requestid=nil)
|
3703
3703
|
@TextDetections = textdetections
|
@@ -3909,8 +3909,8 @@ module TencentCloud
|
|
3909
3909
|
|
3910
3910
|
attr_accessor :TextDetections, :Angel, :Angle, :RequestId
|
3911
3911
|
extend Gem::Deprecate
|
3912
|
-
deprecate :Angel, :none, 2025,
|
3913
|
-
deprecate :Angel=, :none, 2025,
|
3912
|
+
deprecate :Angel, :none, 2025, 2
|
3913
|
+
deprecate :Angel=, :none, 2025, 2
|
3914
3914
|
|
3915
3915
|
def initialize(textdetections=nil, angel=nil, angle=nil, requestid=nil)
|
3916
3916
|
@TextDetections = textdetections
|
@@ -4180,8 +4180,8 @@ module TencentCloud
|
|
4180
4180
|
|
4181
4181
|
attr_accessor :ReturnHeadImage, :DetectFake, :ImageBase64, :ImageUrl
|
4182
4182
|
extend Gem::Deprecate
|
4183
|
-
deprecate :DetectFake, :none, 2025,
|
4184
|
-
deprecate :DetectFake=, :none, 2025,
|
4183
|
+
deprecate :DetectFake, :none, 2025, 2
|
4184
|
+
deprecate :DetectFake=, :none, 2025, 2
|
4185
4185
|
|
4186
4186
|
def initialize(returnheadimage=nil, detectfake=nil, imagebase64=nil, imageurl=nil)
|
4187
4187
|
@ReturnHeadImage = returnheadimage
|
@@ -4250,10 +4250,10 @@ module TencentCloud
|
|
4250
4250
|
|
4251
4251
|
attr_accessor :CnName, :EnName, :TelexCode, :Sex, :Birthday, :Permanent, :IdNum, :Symbol, :FirstIssueDate, :CurrentIssueDate, :FakeDetectResult, :HeadImage, :WarningCode, :WarnCardInfos, :RequestId
|
4252
4252
|
extend Gem::Deprecate
|
4253
|
-
deprecate :FakeDetectResult, :none, 2025,
|
4254
|
-
deprecate :FakeDetectResult=, :none, 2025,
|
4255
|
-
deprecate :WarningCode, :none, 2025,
|
4256
|
-
deprecate :WarningCode=, :none, 2025,
|
4253
|
+
deprecate :FakeDetectResult, :none, 2025, 2
|
4254
|
+
deprecate :FakeDetectResult=, :none, 2025, 2
|
4255
|
+
deprecate :WarningCode, :none, 2025, 2
|
4256
|
+
deprecate :WarningCode=, :none, 2025, 2
|
4257
4257
|
|
4258
4258
|
def initialize(cnname=nil, enname=nil, telexcode=nil, sex=nil, birthday=nil, permanent=nil, idnum=nil, symbol=nil, firstissuedate=nil, currentissuedate=nil, fakedetectresult=nil, headimage=nil, warningcode=nil, warncardinfos=nil, requestid=nil)
|
4259
4259
|
@CnName = cnname
|
@@ -5595,8 +5595,8 @@ module TencentCloud
|
|
5595
5595
|
|
5596
5596
|
attr_accessor :ID, :Name, :Address, :Sex, :Warn, :Image, :AdvancedInfo, :Type, :Birthday, :MyKadNumber, :WarnCardInfos, :RequestId
|
5597
5597
|
extend Gem::Deprecate
|
5598
|
-
deprecate :Warn, :none, 2025,
|
5599
|
-
deprecate :Warn=, :none, 2025,
|
5598
|
+
deprecate :Warn, :none, 2025, 2
|
5599
|
+
deprecate :Warn=, :none, 2025, 2
|
5600
5600
|
|
5601
5601
|
def initialize(id=nil, name=nil, address=nil, sex=nil, warn=nil, image=nil, advancedinfo=nil, type=nil, birthday=nil, mykadnumber=nil, warncardinfos=nil, requestid=nil)
|
5602
5602
|
@ID = id
|
@@ -9968,7 +9968,7 @@ module TencentCloud
|
|
9968
9968
|
# @param ImageBase64: 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
|
9969
9969
|
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
9970
9970
|
# @type ImageBase64: String
|
9971
|
-
# @param ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500
|
9971
|
+
# @param ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500\*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
|
9972
9972
|
# 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
9973
9973
|
# @type ImageUrl: String
|
9974
9974
|
|
@@ -10026,7 +10026,7 @@ module TencentCloud
|
|
10026
10026
|
# @param ImageBase64: 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
|
10027
10027
|
# 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
10028
10028
|
# @type ImageBase64: String
|
10029
|
-
# @param ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500
|
10029
|
+
# @param ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500\*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
|
10030
10030
|
# 建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
10031
10031
|
# @type ImageUrl: String
|
10032
10032
|
|
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.993
|
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-02-
|
11
|
+
date: 2025-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|