cloudmersive-image-recognition-api-client 1.3.1 → 1.3.2
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a29aa705bb442311058ff89dcc30b3d10663346fc169f099f8405ac6e56f5085
|
4
|
+
data.tar.gz: 47ad8489794c50fb62efea6057e53ca0437791c916ffd44e1aaa25b596cef1bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c164e368a59067fc6b69f68ffb2435ff7d354b1fa095e219c5b0a7f5004210430caec8a224ac67ffe8ea00c33cbc3f9d3f57106853dea1832ebfb8656e530eb
|
7
|
+
data.tar.gz: b1968d09a5a46da78282f233165c61da15a03066b3741c4c70fa26a7bfa8d62128381ed02e064e8beda012dc7a9fe42b5a148a3ce8875dac1619407546ab104a
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Image Recognition and Processing APIs let you use Machine Learning to recognize
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
8
8
|
|
9
9
|
- API version: v1
|
10
|
-
- Package version: 1.3.
|
10
|
+
- Package version: 1.3.2
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,15 +23,15 @@ gem build cloudmersive-image-recognition-api-client.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./cloudmersive-image-recognition-api-client-1.3.
|
26
|
+
gem install ./cloudmersive-image-recognition-api-client-1.3.2.gem
|
27
27
|
```
|
28
|
-
(for development, run `gem install --dev ./cloudmersive-image-recognition-api-client-1.3.
|
28
|
+
(for development, run `gem install --dev ./cloudmersive-image-recognition-api-client-1.3.2.gem` to install the development dependencies)
|
29
29
|
|
30
30
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
31
31
|
|
32
32
|
Finally add this to the Gemfile:
|
33
33
|
|
34
|
-
gem 'cloudmersive-image-recognition-api-client', '~> 1.3.
|
34
|
+
gem 'cloudmersive-image-recognition-api-client', '~> 1.3.2'
|
35
35
|
|
36
36
|
### Install from Git
|
37
37
|
|
data/docs/FineTextItem.md
CHANGED
@@ -11,5 +11,8 @@ Name | Type | Description | Notes
|
|
11
11
|
**bottom_left_y** | **Integer** | Y coordinate of the bottom/left text location; 0 represents the top edge of the input image | [optional]
|
12
12
|
**bottom_right_x** | **Integer** | X coordinate of the bottom/right text location; 0 represents the left edge of the input image | [optional]
|
13
13
|
**bottom_right_y** | **Integer** | Y coordinate of the bottom/right text location; 0 represents the top edge of the input image | [optional]
|
14
|
+
**width** | **Integer** | Width in pixels of the text | [optional]
|
15
|
+
**height** | **Integer** | Height in pixels of the text | [optional]
|
16
|
+
**angle** | **Float** | Rotation Angle in radians of the text | [optional]
|
14
17
|
|
15
18
|
|
@@ -39,6 +39,15 @@ module CloudmersiveImageRecognitionApiClient
|
|
39
39
|
# Y coordinate of the bottom/right text location; 0 represents the top edge of the input image
|
40
40
|
attr_accessor :bottom_right_y
|
41
41
|
|
42
|
+
# Width in pixels of the text
|
43
|
+
attr_accessor :width
|
44
|
+
|
45
|
+
# Height in pixels of the text
|
46
|
+
attr_accessor :height
|
47
|
+
|
48
|
+
# Rotation Angle in radians of the text
|
49
|
+
attr_accessor :angle
|
50
|
+
|
42
51
|
|
43
52
|
# Attribute mapping from ruby-style variable name to JSON key.
|
44
53
|
def self.attribute_map
|
@@ -50,7 +59,10 @@ module CloudmersiveImageRecognitionApiClient
|
|
50
59
|
:'bottom_left_x' => :'BottomLeftX',
|
51
60
|
:'bottom_left_y' => :'BottomLeftY',
|
52
61
|
:'bottom_right_x' => :'BottomRightX',
|
53
|
-
:'bottom_right_y' => :'BottomRightY'
|
62
|
+
:'bottom_right_y' => :'BottomRightY',
|
63
|
+
:'width' => :'Width',
|
64
|
+
:'height' => :'Height',
|
65
|
+
:'angle' => :'Angle'
|
54
66
|
}
|
55
67
|
end
|
56
68
|
|
@@ -64,7 +76,10 @@ module CloudmersiveImageRecognitionApiClient
|
|
64
76
|
:'bottom_left_x' => :'Integer',
|
65
77
|
:'bottom_left_y' => :'Integer',
|
66
78
|
:'bottom_right_x' => :'Integer',
|
67
|
-
:'bottom_right_y' => :'Integer'
|
79
|
+
:'bottom_right_y' => :'Integer',
|
80
|
+
:'width' => :'Integer',
|
81
|
+
:'height' => :'Integer',
|
82
|
+
:'angle' => :'Float'
|
68
83
|
}
|
69
84
|
end
|
70
85
|
|
@@ -108,6 +123,18 @@ module CloudmersiveImageRecognitionApiClient
|
|
108
123
|
self.bottom_right_y = attributes[:'BottomRightY']
|
109
124
|
end
|
110
125
|
|
126
|
+
if attributes.has_key?(:'Width')
|
127
|
+
self.width = attributes[:'Width']
|
128
|
+
end
|
129
|
+
|
130
|
+
if attributes.has_key?(:'Height')
|
131
|
+
self.height = attributes[:'Height']
|
132
|
+
end
|
133
|
+
|
134
|
+
if attributes.has_key?(:'Angle')
|
135
|
+
self.angle = attributes[:'Angle']
|
136
|
+
end
|
137
|
+
|
111
138
|
end
|
112
139
|
|
113
140
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -135,7 +162,10 @@ module CloudmersiveImageRecognitionApiClient
|
|
135
162
|
bottom_left_x == o.bottom_left_x &&
|
136
163
|
bottom_left_y == o.bottom_left_y &&
|
137
164
|
bottom_right_x == o.bottom_right_x &&
|
138
|
-
bottom_right_y == o.bottom_right_y
|
165
|
+
bottom_right_y == o.bottom_right_y &&
|
166
|
+
width == o.width &&
|
167
|
+
height == o.height &&
|
168
|
+
angle == o.angle
|
139
169
|
end
|
140
170
|
|
141
171
|
# @see the `==` method
|
@@ -147,7 +177,7 @@ module CloudmersiveImageRecognitionApiClient
|
|
147
177
|
# Calculates hash code according to all attributes.
|
148
178
|
# @return [Fixnum] Hash code
|
149
179
|
def hash
|
150
|
-
[top_left_x, top_left_y, top_right_x, top_right_y, bottom_left_x, bottom_left_y, bottom_right_x, bottom_right_y].hash
|
180
|
+
[top_left_x, top_left_y, top_right_x, top_right_y, bottom_left_x, bottom_left_y, bottom_right_x, bottom_right_y, width, height, angle].hash
|
151
181
|
end
|
152
182
|
|
153
183
|
# Builds the object from hash
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudmersive-image-recognition-api-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cloudmersive
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-06-
|
11
|
+
date: 2019-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|