tencentcloud-sdk-ocr 3.0.795 → 3.0.797
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: 7ef3181f42a84f41ec86a1a7d9764866ec35381e
|
4
|
+
data.tar.gz: 97fb62119114195ec7344cd037e485537c95b279
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bbdeac23d843f2d8342e2361267c67f71743edb527741e8d5e88ee86ae612ebfbf0cfd9116cab9d86cf2112596bfbfc5c9cb81078382377727cd4500878d32e
|
7
|
+
data.tar.gz: c0d5ec53265f4398c991aa16efe819c72bb1360b68ab370e7d2391779ac257357774f6fd2fb287159eaceec3d791ee82a3d5126f50525bdd36bf5f6b467e05d7
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.797
|
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.797
|
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
|