cloudmersive-image-recognition-api-client 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +7 -0
- data/README.md +184 -0
- data/Rakefile +8 -0
- data/cloudmersive-image-recognition-api-client.gemspec +45 -0
- data/docs/AgeDetectionResult.md +10 -0
- data/docs/ArtisticApi.md +66 -0
- data/docs/ColorResult.md +10 -0
- data/docs/ConvertApi.md +396 -0
- data/docs/DetectedLicensePlate.md +14 -0
- data/docs/DetectedObject.md +13 -0
- data/docs/DominantColorResult.md +9 -0
- data/docs/DrawPolygonInstance.md +11 -0
- data/docs/DrawPolygonRequest.md +10 -0
- data/docs/DrawRectangleInstance.md +14 -0
- data/docs/DrawRectangleRequest.md +10 -0
- data/docs/DrawTextInstance.md +15 -0
- data/docs/DrawTextRequest.md +10 -0
- data/docs/EditApi.md +704 -0
- data/docs/Face.md +11 -0
- data/docs/FaceApi.md +396 -0
- data/docs/FaceCompareResponse.md +11 -0
- data/docs/FaceLocateResponse.md +11 -0
- data/docs/FaceLocateWithLandmarksResponse.md +11 -0
- data/docs/FaceMatch.md +13 -0
- data/docs/FacePoint.md +9 -0
- data/docs/FaceWithLandmarks.md +20 -0
- data/docs/FilterApi.md +478 -0
- data/docs/FindSymbolResult.md +13 -0
- data/docs/FineTextDetectionResult.md +10 -0
- data/docs/FineTextItem.md +18 -0
- data/docs/GenderDetectionResult.md +10 -0
- data/docs/ImageDescriptionResponse.md +11 -0
- data/docs/ImageMetadata.md +17 -0
- data/docs/ImageMetadataExifValue.md +10 -0
- data/docs/InfoApi.md +118 -0
- data/docs/NsfwApi.md +63 -0
- data/docs/NsfwResult.md +10 -0
- data/docs/ObjectDetectionResult.md +10 -0
- data/docs/PersonWithAge.md +11 -0
- data/docs/PersonWithGender.md +10 -0
- data/docs/PolygonPoint.md +9 -0
- data/docs/RecognitionOutcome.md +9 -0
- data/docs/RecognizeApi.md +455 -0
- data/docs/ResizeApi.md +130 -0
- data/docs/TextDetectionResult.md +10 -0
- data/docs/TextItem.md +11 -0
- data/docs/VehicleLicensePlateDetectionResult.md +10 -0
- data/git_push.sh +55 -0
- data/lib/cloudmersive-image-recognition-api-client.rb +82 -0
- data/lib/cloudmersive-image-recognition-api-client/api/artistic_api.rb +84 -0
- data/lib/cloudmersive-image-recognition-api-client/api/convert_api.rb +414 -0
- data/lib/cloudmersive-image-recognition-api-client/api/edit_api.rb +753 -0
- data/lib/cloudmersive-image-recognition-api-client/api/face_api.rb +415 -0
- data/lib/cloudmersive-image-recognition-api-client/api/filter_api.rb +525 -0
- data/lib/cloudmersive-image-recognition-api-client/api/info_api.rb +133 -0
- data/lib/cloudmersive-image-recognition-api-client/api/nsfw_api.rb +78 -0
- data/lib/cloudmersive-image-recognition-api-client/api/recognize_api.rb +473 -0
- data/lib/cloudmersive-image-recognition-api-client/api/resize_api.rb +157 -0
- data/lib/cloudmersive-image-recognition-api-client/api_client.rb +391 -0
- data/lib/cloudmersive-image-recognition-api-client/api_error.rb +38 -0
- data/lib/cloudmersive-image-recognition-api-client/configuration.rb +209 -0
- data/lib/cloudmersive-image-recognition-api-client/models/age_detection_result.rb +208 -0
- data/lib/cloudmersive-image-recognition-api-client/models/color_result.rb +206 -0
- data/lib/cloudmersive-image-recognition-api-client/models/detected_license_plate.rb +246 -0
- data/lib/cloudmersive-image-recognition-api-client/models/detected_object.rb +236 -0
- data/lib/cloudmersive-image-recognition-api-client/models/dominant_color_result.rb +198 -0
- data/lib/cloudmersive-image-recognition-api-client/models/draw_polygon_instance.rb +218 -0
- data/lib/cloudmersive-image-recognition-api-client/models/draw_polygon_request.rb +223 -0
- data/lib/cloudmersive-image-recognition-api-client/models/draw_rectangle_instance.rb +246 -0
- data/lib/cloudmersive-image-recognition-api-client/models/draw_rectangle_request.rb +223 -0
- data/lib/cloudmersive-image-recognition-api-client/models/draw_text_instance.rb +256 -0
- data/lib/cloudmersive-image-recognition-api-client/models/draw_text_request.rb +223 -0
- data/lib/cloudmersive-image-recognition-api-client/models/face.rb +216 -0
- data/lib/cloudmersive-image-recognition-api-client/models/face_compare_response.rb +218 -0
- data/lib/cloudmersive-image-recognition-api-client/models/face_locate_response.rb +218 -0
- data/lib/cloudmersive-image-recognition-api-client/models/face_locate_with_landmarks_response.rb +218 -0
- data/lib/cloudmersive-image-recognition-api-client/models/face_match.rb +236 -0
- data/lib/cloudmersive-image-recognition-api-client/models/face_point.rb +196 -0
- data/lib/cloudmersive-image-recognition-api-client/models/face_with_landmarks.rb +324 -0
- data/lib/cloudmersive-image-recognition-api-client/models/find_symbol_result.rb +236 -0
- data/lib/cloudmersive-image-recognition-api-client/models/fine_text_detection_result.rb +208 -0
- data/lib/cloudmersive-image-recognition-api-client/models/fine_text_item.rb +286 -0
- data/lib/cloudmersive-image-recognition-api-client/models/gender_detection_result.rb +208 -0
- data/lib/cloudmersive-image-recognition-api-client/models/image_description_response.rb +216 -0
- data/lib/cloudmersive-image-recognition-api-client/models/image_metadata.rb +278 -0
- data/lib/cloudmersive-image-recognition-api-client/models/image_metadata_exif_value.rb +206 -0
- data/lib/cloudmersive-image-recognition-api-client/models/nsfw_result.rb +206 -0
- data/lib/cloudmersive-image-recognition-api-client/models/object_detection_result.rb +208 -0
- data/lib/cloudmersive-image-recognition-api-client/models/person_with_age.rb +215 -0
- data/lib/cloudmersive-image-recognition-api-client/models/person_with_gender.rb +206 -0
- data/lib/cloudmersive-image-recognition-api-client/models/polygon_point.rb +196 -0
- data/lib/cloudmersive-image-recognition-api-client/models/recognition_outcome.rb +196 -0
- data/lib/cloudmersive-image-recognition-api-client/models/text_detection_result.rb +208 -0
- data/lib/cloudmersive-image-recognition-api-client/models/text_item.rb +216 -0
- data/lib/cloudmersive-image-recognition-api-client/models/vehicle_license_plate_detection_result.rb +208 -0
- data/lib/cloudmersive-image-recognition-api-client/version.rb +15 -0
- data/spec/api/artistic_api_spec.rb +48 -0
- data/spec/api/convert_api_spec.rb +120 -0
- data/spec/api/edit_api_spec.rb +191 -0
- data/spec/api/face_api_spec.rb +120 -0
- data/spec/api/filter_api_spec.rb +141 -0
- data/spec/api/info_api_spec.rb +59 -0
- data/spec/api/nsfw_api_spec.rb +47 -0
- data/spec/api/recognize_api_spec.rb +133 -0
- data/spec/api/resize_api_spec.rb +63 -0
- data/spec/api_client_spec.rb +243 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/age_detection_result_spec.rb +53 -0
- data/spec/models/color_result_spec.rb +53 -0
- data/spec/models/detected_license_plate_spec.rb +77 -0
- data/spec/models/detected_object_spec.rb +71 -0
- data/spec/models/dominant_color_result_spec.rb +47 -0
- data/spec/models/draw_polygon_instance_spec.rb +59 -0
- data/spec/models/draw_polygon_request_spec.rb +53 -0
- data/spec/models/draw_rectangle_instance_spec.rb +77 -0
- data/spec/models/draw_rectangle_request_spec.rb +53 -0
- data/spec/models/draw_text_instance_spec.rb +83 -0
- data/spec/models/draw_text_request_spec.rb +53 -0
- data/spec/models/face_compare_response_spec.rb +59 -0
- data/spec/models/face_locate_response_spec.rb +59 -0
- data/spec/models/face_locate_with_landmarks_response_spec.rb +59 -0
- data/spec/models/face_match_spec.rb +71 -0
- data/spec/models/face_point_spec.rb +47 -0
- data/spec/models/face_spec.rb +59 -0
- data/spec/models/face_with_landmarks_spec.rb +113 -0
- data/spec/models/find_symbol_result_spec.rb +71 -0
- data/spec/models/fine_text_detection_result_spec.rb +53 -0
- data/spec/models/fine_text_item_spec.rb +101 -0
- data/spec/models/gender_detection_result_spec.rb +53 -0
- data/spec/models/image_description_response_spec.rb +59 -0
- data/spec/models/image_metadata_exif_value_spec.rb +53 -0
- data/spec/models/image_metadata_spec.rb +95 -0
- data/spec/models/nsfw_result_spec.rb +53 -0
- data/spec/models/object_detection_result_spec.rb +53 -0
- data/spec/models/person_with_age_spec.rb +59 -0
- data/spec/models/person_with_gender_spec.rb +53 -0
- data/spec/models/polygon_point_spec.rb +47 -0
- data/spec/models/recognition_outcome_spec.rb +47 -0
- data/spec/models/text_detection_result_spec.rb +53 -0
- data/spec/models/text_item_spec.rb +59 -0
- data/spec/models/vehicle_license_plate_detection_result_spec.rb +53 -0
- data/spec/spec_helper.rb +111 -0
- metadata +145 -3
@@ -0,0 +1,53 @@
|
|
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: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudmersiveImageRecognitionApiClient::DrawTextRequest
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'DrawTextRequest' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveImageRecognitionApiClient::DrawTextRequest.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of DrawTextRequest' do
|
31
|
+
it 'should create an instance of DrawTextRequest' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveImageRecognitionApiClient::DrawTextRequest)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "base_image_bytes"' 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 "base_image_url"' 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 "text_to_draw"' 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
|
+
end
|
@@ -0,0 +1,59 @@
|
|
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: 2.4.14
|
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 "successful"' 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 "faces"' 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 "face_count"' 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 "error_details"' 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
|
@@ -0,0 +1,59 @@
|
|
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: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudmersiveImageRecognitionApiClient::FaceLocateResponse
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'FaceLocateResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveImageRecognitionApiClient::FaceLocateResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of FaceLocateResponse' do
|
31
|
+
it 'should create an instance of FaceLocateResponse' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveImageRecognitionApiClient::FaceLocateResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "successful"' 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 "faces"' 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 "face_count"' 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 "error_details"' 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
|
@@ -0,0 +1,59 @@
|
|
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: 2.4.14
|
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 "successful"' 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 "faces"' 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 "face_count"' 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 "error_details"' 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
|
@@ -0,0 +1,71 @@
|
|
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: 2.4.14
|
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
|
@@ -0,0 +1,47 @@
|
|
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: 2.4.14
|
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
|
@@ -0,0 +1,59 @@
|
|
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: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudmersiveImageRecognitionApiClient::Face
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'Face' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveImageRecognitionApiClient::Face.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of Face' do
|
31
|
+
it 'should create an instance of Face' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveImageRecognitionApiClient::Face)
|
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
|
+
end
|
@@ -0,0 +1,113 @@
|
|
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: 2.4.14
|
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_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 "left_eyebrow"' 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 "right_eyebrow"' 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 "left_eye"' 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 "right_eye"' 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 "bottom_and_sides_of_face"' 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 "nose_bridge"' 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 "nose_bottom"' 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 "lips_inner_outline"' 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 "lips_outer_outline"' 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
|