tencentcloud-sdk-ocr 3.0.795 → 3.0.796
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20181119/models.rb +13 -8
- 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: e2ec054cfe273b1c15599f48a28bbbc10528f5e0
|
4
|
+
data.tar.gz: a190daa5697e3e79c9e6c1101c5cdff18c4316a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce79e571590f2ca65121bdd74c0d47a81c91dcacb711ec1e2d04d2c2defce14ca6b745832e6ec690707eeedfe9fd62f01548c7617bcc17f8c9362011c4e2ab0d
|
7
|
+
data.tar.gz: 3505ff8c008bb80b6e38ffd1ca487b2d6d7212bdc3a62d05c3dd354812494a1a1ff794b18e9d436d360de1b71435bb92fee3e518b6c0429db983692549a17f22
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.796
|
data/lib/v20181119/models.rb
CHANGED
@@ -1473,18 +1473,22 @@ module TencentCloud
|
|
1473
1473
|
# @param Level: 元素层级
|
1474
1474
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1475
1475
|
# @type Level: Integer
|
1476
|
+
# @param InsetImageName: 入参开启EnableInsetImage后返回,表示在InsetImagePackage中的内嵌图片名称
|
1477
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1478
|
+
# @type InsetImageName: String
|
1476
1479
|
# @param Elements: 嵌套的文档元素信息,一般包含的是文档内嵌入图片的文字识别结果
|
1477
1480
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1478
1481
|
# @type Elements: Array
|
1479
1482
|
|
1480
|
-
attr_accessor :Index, :Type, :Text, :Polygon, :Level, :Elements
|
1483
|
+
attr_accessor :Index, :Type, :Text, :Polygon, :Level, :InsetImageName, :Elements
|
1481
1484
|
|
1482
|
-
def initialize(index=nil, type=nil, text=nil, polygon=nil, level=nil, elements=nil)
|
1485
|
+
def initialize(index=nil, type=nil, text=nil, polygon=nil, level=nil, insetimagename=nil, elements=nil)
|
1483
1486
|
@Index = index
|
1484
1487
|
@Type = type
|
1485
1488
|
@Text = text
|
1486
1489
|
@Polygon = polygon
|
1487
1490
|
@Level = level
|
1491
|
+
@InsetImageName = insetimagename
|
1488
1492
|
@Elements = elements
|
1489
1493
|
end
|
1490
1494
|
|
@@ -1497,6 +1501,7 @@ module TencentCloud
|
|
1497
1501
|
@Polygon.deserialize(params['Polygon'])
|
1498
1502
|
end
|
1499
1503
|
@Level = params['Level']
|
1504
|
+
@InsetImageName = params['InsetImageName']
|
1500
1505
|
unless params['Elements'].nil?
|
1501
1506
|
@Elements = []
|
1502
1507
|
params['Elements'].each do |i|
|
@@ -1539,8 +1544,8 @@ module TencentCloud
|
|
1539
1544
|
|
1540
1545
|
attr_accessor :PageNumber, :Angle, :Height, :Width, :OriginHeight, :OriginWidth, :Elements, :RotatedAngle
|
1541
1546
|
extend Gem::Deprecate
|
1542
|
-
deprecate :Angle, :none, 2024,
|
1543
|
-
deprecate :Angle=, :none, 2024,
|
1547
|
+
deprecate :Angle, :none, 2024, 4
|
1548
|
+
deprecate :Angle=, :none, 2024, 4
|
1544
1549
|
|
1545
1550
|
def initialize(pagenumber=nil, angle=nil, height=nil, width=nil, originheight=nil, originwidth=nil, elements=nil, rotatedangle=nil)
|
1546
1551
|
@PageNumber = pagenumber
|
@@ -3114,8 +3119,8 @@ module TencentCloud
|
|
3114
3119
|
|
3115
3120
|
attr_accessor :TextDetections, :Angel, :Angle, :RequestId
|
3116
3121
|
extend Gem::Deprecate
|
3117
|
-
deprecate :Angel, :none, 2024,
|
3118
|
-
deprecate :Angel=, :none, 2024,
|
3122
|
+
deprecate :Angel, :none, 2024, 4
|
3123
|
+
deprecate :Angel=, :none, 2024, 4
|
3119
3124
|
|
3120
3125
|
def initialize(textdetections=nil, angel=nil, angle=nil, requestid=nil)
|
3121
3126
|
@TextDetections = textdetections
|
@@ -3225,8 +3230,8 @@ module TencentCloud
|
|
3225
3230
|
|
3226
3231
|
attr_accessor :TextDetections, :Language, :Angel, :PdfPageSize, :Angle, :RequestId
|
3227
3232
|
extend Gem::Deprecate
|
3228
|
-
deprecate :Angel, :none, 2024,
|
3229
|
-
deprecate :Angel=, :none, 2024,
|
3233
|
+
deprecate :Angel, :none, 2024, 4
|
3234
|
+
deprecate :Angel=, :none, 2024, 4
|
3230
3235
|
|
3231
3236
|
def initialize(textdetections=nil, language=nil, angel=nil, pdfpagesize=nil, angle=nil, requestid=nil)
|
3232
3237
|
@TextDetections = textdetections
|
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.796
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04-
|
11
|
+
date: 2024-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|