cloudmersive-image-recognition-api-client 1.2.9 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,5 +11,5 @@ Swagger Codegen version: unset
11
11
  =end
12
12
 
13
13
  module CloudmersiveImageRecognitionApiClient
14
- VERSION = "1.2.9"
14
+ VERSION = "1.3.0"
15
15
  end
@@ -32,6 +32,19 @@ describe 'FaceApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for face_compare
36
+ # Compare and match faces
37
+ # Find the faces in an input image, and compare against a reference image to determine if there is a match against the face in the reference image. The reference image (second parameter) should contain exactly one face.
38
+ # @param input_image Image file to perform the operation on; this image can contain one or more faces which will be matched against face provided in the second image. Common file formats such as PNG, JPEG are supported.
39
+ # @param match_face Image of a single face to compare and match against.
40
+ # @param [Hash] opts the optional parameters
41
+ # @return [FaceCompareResponse]
42
+ describe 'face_compare test' do
43
+ it "should work" do
44
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
+ end
46
+ end
47
+
35
48
  # unit tests for face_crop_first
36
49
  # Crop image to face (square)
37
50
  # Crop an image to the face (rectangular crop). If there is more than one face present, choose the first one.
@@ -80,4 +93,16 @@ describe 'FaceApi' do
80
93
  end
81
94
  end
82
95
 
96
+ # unit tests for face_locate_with_landmarks
97
+ # Find faces and face landmarks (eyes, eye brows, nose, mouth) in an image
98
+ # Locate the positions of all faces in an image, along with the eyes, eye brows, nose and mouth components of each
99
+ # @param image_file Image file to perform the operation on. Common file formats such as PNG, JPEG are supported.
100
+ # @param [Hash] opts the optional parameters
101
+ # @return [FaceLocateWithLandmarksResponse]
102
+ describe 'face_locate_with_landmarks test' do
103
+ it "should work" do
104
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
105
+ end
106
+ end
107
+
83
108
  end
@@ -0,0 +1,60 @@
1
+ =begin
2
+ #imageapi
3
+
4
+ #Image Recognition and Processing APIs let you use Machine Learning to recognize and process images, and also perform useful image modification operations.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: unset
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveImageRecognitionApiClient::FaceCompareResponse
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'FaceCompareResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveImageRecognitionApiClient::FaceCompareResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of FaceCompareResponse' do
31
+ it 'should create an instance of FaceCompareResponse' do
32
+ expect(@instance).to be_instance_of(CloudmersiveImageRecognitionApiClient::FaceCompareResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "error_details"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "successful"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "faces"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "face_count"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ end
60
+
@@ -0,0 +1,60 @@
1
+ =begin
2
+ #imageapi
3
+
4
+ #Image Recognition and Processing APIs let you use Machine Learning to recognize and process images, and also perform useful image modification operations.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: unset
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveImageRecognitionApiClient::FaceLocateWithLandmarksResponse
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'FaceLocateWithLandmarksResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveImageRecognitionApiClient::FaceLocateWithLandmarksResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of FaceLocateWithLandmarksResponse' do
31
+ it 'should create an instance of FaceLocateWithLandmarksResponse' do
32
+ expect(@instance).to be_instance_of(CloudmersiveImageRecognitionApiClient::FaceLocateWithLandmarksResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "error_details"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "successful"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "faces"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "face_count"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ end
60
+
@@ -0,0 +1,72 @@
1
+ =begin
2
+ #imageapi
3
+
4
+ #Image Recognition and Processing APIs let you use Machine Learning to recognize and process images, and also perform useful image modification operations.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: unset
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveImageRecognitionApiClient::FaceMatch
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'FaceMatch' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveImageRecognitionApiClient::FaceMatch.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of FaceMatch' do
31
+ it 'should create an instance of FaceMatch' do
32
+ expect(@instance).to be_instance_of(CloudmersiveImageRecognitionApiClient::FaceMatch)
33
+ end
34
+ end
35
+ describe 'test attribute "left_x"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "top_y"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "right_x"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "bottom_y"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "high_confidence_match"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ describe 'test attribute "match_score"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ end
72
+
@@ -0,0 +1,48 @@
1
+ =begin
2
+ #imageapi
3
+
4
+ #Image Recognition and Processing APIs let you use Machine Learning to recognize and process images, and also perform useful image modification operations.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: unset
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveImageRecognitionApiClient::FacePoint
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'FacePoint' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveImageRecognitionApiClient::FacePoint.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of FacePoint' do
31
+ it 'should create an instance of FacePoint' do
32
+ expect(@instance).to be_instance_of(CloudmersiveImageRecognitionApiClient::FacePoint)
33
+ end
34
+ end
35
+ describe 'test attribute "x"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "y"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ end
48
+
@@ -0,0 +1,114 @@
1
+ =begin
2
+ #imageapi
3
+
4
+ #Image Recognition and Processing APIs let you use Machine Learning to recognize and process images, and also perform useful image modification operations.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: unset
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveImageRecognitionApiClient::FaceWithLandmarks
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'FaceWithLandmarks' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveImageRecognitionApiClient::FaceWithLandmarks.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of FaceWithLandmarks' do
31
+ it 'should create an instance of FaceWithLandmarks' do
32
+ expect(@instance).to be_instance_of(CloudmersiveImageRecognitionApiClient::FaceWithLandmarks)
33
+ end
34
+ end
35
+ describe 'test attribute "left_eyebrow"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "right_eyebrow"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "left_eye"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "right_eye"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "bottom_and_sides_of_face"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ describe 'test attribute "nose_bridge"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ describe 'test attribute "nose_bottom"' do
72
+ it 'should work' do
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ end
75
+ end
76
+
77
+ describe 'test attribute "lips_inner_outline"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ describe 'test attribute "lips_outer_outline"' do
84
+ it 'should work' do
85
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
+ end
87
+ end
88
+
89
+ describe 'test attribute "left_x"' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
95
+ describe 'test attribute "top_y"' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
+ end
99
+ end
100
+
101
+ describe 'test attribute "right_x"' do
102
+ it 'should work' do
103
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
+ end
105
+ end
106
+
107
+ describe 'test attribute "bottom_y"' do
108
+ it 'should work' do
109
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
110
+ end
111
+ end
112
+
113
+ end
114
+
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.2.9
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cloudmersive
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-04 00:00:00.000000000 Z
11
+ date: 2019-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -214,7 +214,12 @@ files:
214
214
  - "./docs/EditApi.md"
215
215
  - "./docs/Face.md"
216
216
  - "./docs/FaceApi.md"
217
+ - "./docs/FaceCompareResponse.md"
217
218
  - "./docs/FaceLocateResponse.md"
219
+ - "./docs/FaceLocateWithLandmarksResponse.md"
220
+ - "./docs/FaceMatch.md"
221
+ - "./docs/FacePoint.md"
222
+ - "./docs/FaceWithLandmarks.md"
218
223
  - "./docs/ImageDescriptionResponse.md"
219
224
  - "./docs/NsfwApi.md"
220
225
  - "./docs/NsfwResult.md"
@@ -243,7 +248,12 @@ files:
243
248
  - "./lib/cloudmersive-image-recognition-api-client/models/draw_text_instance.rb"
244
249
  - "./lib/cloudmersive-image-recognition-api-client/models/draw_text_request.rb"
245
250
  - "./lib/cloudmersive-image-recognition-api-client/models/face.rb"
251
+ - "./lib/cloudmersive-image-recognition-api-client/models/face_compare_response.rb"
246
252
  - "./lib/cloudmersive-image-recognition-api-client/models/face_locate_response.rb"
253
+ - "./lib/cloudmersive-image-recognition-api-client/models/face_locate_with_landmarks_response.rb"
254
+ - "./lib/cloudmersive-image-recognition-api-client/models/face_match.rb"
255
+ - "./lib/cloudmersive-image-recognition-api-client/models/face_point.rb"
256
+ - "./lib/cloudmersive-image-recognition-api-client/models/face_with_landmarks.rb"
247
257
  - "./lib/cloudmersive-image-recognition-api-client/models/image_description_response.rb"
248
258
  - "./lib/cloudmersive-image-recognition-api-client/models/nsfw_result.rb"
249
259
  - "./lib/cloudmersive-image-recognition-api-client/models/object_detection_result.rb"
@@ -266,8 +276,13 @@ files:
266
276
  - "./spec/models/draw_rectangle_request_spec.rb"
267
277
  - "./spec/models/draw_text_instance_spec.rb"
268
278
  - "./spec/models/draw_text_request_spec.rb"
279
+ - "./spec/models/face_compare_response_spec.rb"
269
280
  - "./spec/models/face_locate_response_spec.rb"
281
+ - "./spec/models/face_locate_with_landmarks_response_spec.rb"
282
+ - "./spec/models/face_match_spec.rb"
283
+ - "./spec/models/face_point_spec.rb"
270
284
  - "./spec/models/face_spec.rb"
285
+ - "./spec/models/face_with_landmarks_spec.rb"
271
286
  - "./spec/models/image_description_response_spec.rb"
272
287
  - "./spec/models/nsfw_result_spec.rb"
273
288
  - "./spec/models/object_detection_result_spec.rb"