cloudmersive-image-recognition-api-client 1.4.6 → 2.0.5

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.
Files changed (127) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +17 -6
  4. data/cloudmersive-image-recognition-api-client.gemspec +3 -3
  5. data/docs/ArtisticApi.md +2 -2
  6. data/docs/ConvertApi.md +7 -7
  7. data/docs/CreateHandwritingRequest.md +11 -0
  8. data/docs/DrawTextInstance.md +1 -1
  9. data/docs/EditApi.md +147 -11
  10. data/docs/FaceApi.md +8 -8
  11. data/docs/FilterApi.md +8 -8
  12. data/docs/ImageSimilarityComparisonResponse.md +10 -0
  13. data/docs/ImageSimilarityHashDistanceRequest.md +9 -0
  14. data/docs/ImageSimilarityHashDistanceResponse.md +9 -0
  15. data/docs/ImageSimilarityHashResponse.md +9 -0
  16. data/docs/InfoApi.md +2 -2
  17. data/docs/NsfwApi.md +1 -1
  18. data/docs/RecognizeApi.md +187 -11
  19. data/docs/ResizeApi.md +4 -4
  20. data/docs/TextGenerationApi.md +63 -0
  21. data/lib/cloudmersive-image-recognition-api-client.rb +7 -1
  22. data/lib/cloudmersive-image-recognition-api-client/api/artistic_api.rb +6 -7
  23. data/lib/cloudmersive-image-recognition-api-client/api/convert_api.rb +30 -37
  24. data/lib/cloudmersive-image-recognition-api-client/api/edit_api.rb +199 -58
  25. data/lib/cloudmersive-image-recognition-api-client/api/face_api.rb +31 -38
  26. data/lib/cloudmersive-image-recognition-api-client/api/filter_api.rb +34 -42
  27. data/lib/cloudmersive-image-recognition-api-client/api/info_api.rb +10 -12
  28. data/lib/cloudmersive-image-recognition-api-client/api/nsfw_api.rb +6 -7
  29. data/lib/cloudmersive-image-recognition-api-client/api/recognize_api.rb +214 -45
  30. data/lib/cloudmersive-image-recognition-api-client/api/resize_api.rb +14 -16
  31. data/lib/cloudmersive-image-recognition-api-client/api/text_generation_api.rb +77 -0
  32. data/lib/cloudmersive-image-recognition-api-client/api_client.rb +11 -9
  33. data/lib/cloudmersive-image-recognition-api-client/api_error.rb +1 -1
  34. data/lib/cloudmersive-image-recognition-api-client/configuration.rb +2 -2
  35. data/lib/cloudmersive-image-recognition-api-client/models/age_detection_result.rb +7 -10
  36. data/lib/cloudmersive-image-recognition-api-client/models/color_result.rb +7 -10
  37. data/lib/cloudmersive-image-recognition-api-client/models/create_handwriting_request.rb +216 -0
  38. data/lib/cloudmersive-image-recognition-api-client/models/detected_license_plate.rb +7 -10
  39. data/lib/cloudmersive-image-recognition-api-client/models/detected_object.rb +7 -10
  40. data/lib/cloudmersive-image-recognition-api-client/models/dominant_color_result.rb +7 -10
  41. data/lib/cloudmersive-image-recognition-api-client/models/draw_polygon_instance.rb +7 -10
  42. data/lib/cloudmersive-image-recognition-api-client/models/draw_polygon_request.rb +9 -13
  43. data/lib/cloudmersive-image-recognition-api-client/models/draw_rectangle_instance.rb +7 -10
  44. data/lib/cloudmersive-image-recognition-api-client/models/draw_rectangle_request.rb +9 -13
  45. data/lib/cloudmersive-image-recognition-api-client/models/draw_text_instance.rb +8 -11
  46. data/lib/cloudmersive-image-recognition-api-client/models/draw_text_request.rb +9 -13
  47. data/lib/cloudmersive-image-recognition-api-client/models/face.rb +7 -10
  48. data/lib/cloudmersive-image-recognition-api-client/models/face_compare_response.rb +7 -10
  49. data/lib/cloudmersive-image-recognition-api-client/models/face_locate_response.rb +7 -10
  50. data/lib/cloudmersive-image-recognition-api-client/models/face_locate_with_landmarks_response.rb +7 -10
  51. data/lib/cloudmersive-image-recognition-api-client/models/face_match.rb +7 -10
  52. data/lib/cloudmersive-image-recognition-api-client/models/face_point.rb +7 -10
  53. data/lib/cloudmersive-image-recognition-api-client/models/face_with_landmarks.rb +7 -10
  54. data/lib/cloudmersive-image-recognition-api-client/models/find_symbol_result.rb +7 -10
  55. data/lib/cloudmersive-image-recognition-api-client/models/fine_text_detection_result.rb +7 -10
  56. data/lib/cloudmersive-image-recognition-api-client/models/fine_text_item.rb +7 -10
  57. data/lib/cloudmersive-image-recognition-api-client/models/gender_detection_result.rb +7 -10
  58. data/lib/cloudmersive-image-recognition-api-client/models/image_description_response.rb +7 -10
  59. data/lib/cloudmersive-image-recognition-api-client/models/image_metadata.rb +7 -10
  60. data/lib/cloudmersive-image-recognition-api-client/models/image_metadata_exif_value.rb +7 -10
  61. data/lib/cloudmersive-image-recognition-api-client/models/image_similarity_comparison_response.rb +206 -0
  62. data/lib/cloudmersive-image-recognition-api-client/models/image_similarity_hash_distance_request.rb +196 -0
  63. data/lib/cloudmersive-image-recognition-api-client/models/image_similarity_hash_distance_response.rb +196 -0
  64. data/lib/cloudmersive-image-recognition-api-client/models/image_similarity_hash_response.rb +196 -0
  65. data/lib/cloudmersive-image-recognition-api-client/models/nsfw_result.rb +7 -10
  66. data/lib/cloudmersive-image-recognition-api-client/models/object_detection_result.rb +7 -10
  67. data/lib/cloudmersive-image-recognition-api-client/models/person_with_age.rb +7 -10
  68. data/lib/cloudmersive-image-recognition-api-client/models/person_with_gender.rb +7 -10
  69. data/lib/cloudmersive-image-recognition-api-client/models/polygon_point.rb +7 -10
  70. data/lib/cloudmersive-image-recognition-api-client/models/recognition_outcome.rb +7 -10
  71. data/lib/cloudmersive-image-recognition-api-client/models/text_detection_result.rb +7 -10
  72. data/lib/cloudmersive-image-recognition-api-client/models/text_item.rb +7 -10
  73. data/lib/cloudmersive-image-recognition-api-client/models/vehicle_license_plate_detection_result.rb +7 -10
  74. data/lib/cloudmersive-image-recognition-api-client/version.rb +2 -2
  75. data/spec/api/artistic_api_spec.rb +2 -2
  76. data/spec/api/convert_api_spec.rb +8 -8
  77. data/spec/api/edit_api_spec.rb +47 -13
  78. data/spec/api/face_api_spec.rb +8 -8
  79. data/spec/api/filter_api_spec.rb +9 -9
  80. data/spec/api/info_api_spec.rb +3 -3
  81. data/spec/api/nsfw_api_spec.rb +2 -2
  82. data/spec/api/recognize_api_spec.rb +49 -10
  83. data/spec/api/resize_api_spec.rb +5 -5
  84. data/spec/api/text_generation_api_spec.rb +47 -0
  85. data/spec/api_client_spec.rb +52 -35
  86. data/spec/configuration_spec.rb +9 -9
  87. data/spec/models/age_detection_result_spec.rb +4 -5
  88. data/spec/models/color_result_spec.rb +4 -5
  89. data/spec/models/create_handwriting_request_spec.rb +59 -0
  90. data/spec/models/detected_license_plate_spec.rb +8 -9
  91. data/spec/models/detected_object_spec.rb +7 -8
  92. data/spec/models/dominant_color_result_spec.rb +3 -4
  93. data/spec/models/draw_polygon_instance_spec.rb +5 -6
  94. data/spec/models/draw_polygon_request_spec.rb +4 -5
  95. data/spec/models/draw_rectangle_instance_spec.rb +8 -9
  96. data/spec/models/draw_rectangle_request_spec.rb +4 -5
  97. data/spec/models/draw_text_instance_spec.rb +9 -10
  98. data/spec/models/draw_text_request_spec.rb +4 -5
  99. data/spec/models/face_compare_response_spec.rb +5 -6
  100. data/spec/models/face_locate_response_spec.rb +5 -6
  101. data/spec/models/face_locate_with_landmarks_response_spec.rb +5 -6
  102. data/spec/models/face_match_spec.rb +7 -8
  103. data/spec/models/face_point_spec.rb +3 -4
  104. data/spec/models/face_spec.rb +5 -6
  105. data/spec/models/face_with_landmarks_spec.rb +14 -15
  106. data/spec/models/find_symbol_result_spec.rb +7 -8
  107. data/spec/models/fine_text_detection_result_spec.rb +4 -5
  108. data/spec/models/fine_text_item_spec.rb +12 -13
  109. data/spec/models/gender_detection_result_spec.rb +4 -5
  110. data/spec/models/image_description_response_spec.rb +5 -6
  111. data/spec/models/image_metadata_exif_value_spec.rb +4 -5
  112. data/spec/models/image_metadata_spec.rb +11 -12
  113. data/spec/models/image_similarity_comparison_response_spec.rb +53 -0
  114. data/spec/models/image_similarity_hash_distance_request_spec.rb +47 -0
  115. data/spec/models/image_similarity_hash_distance_response_spec.rb +47 -0
  116. data/spec/models/image_similarity_hash_response_spec.rb +47 -0
  117. data/spec/models/nsfw_result_spec.rb +4 -5
  118. data/spec/models/object_detection_result_spec.rb +4 -5
  119. data/spec/models/person_with_age_spec.rb +5 -6
  120. data/spec/models/person_with_gender_spec.rb +4 -5
  121. data/spec/models/polygon_point_spec.rb +3 -4
  122. data/spec/models/recognition_outcome_spec.rb +3 -4
  123. data/spec/models/text_detection_result_spec.rb +4 -5
  124. data/spec/models/text_item_spec.rb +5 -6
  125. data/spec/models/vehicle_license_plate_detection_result_spec.rb +4 -5
  126. data/spec/spec_helper.rb +1 -1
  127. metadata +20 -2
@@ -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::ImageSimilarityHashDistanceResponse
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'ImageSimilarityHashDistanceResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveImageRecognitionApiClient::ImageSimilarityHashDistanceResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of ImageSimilarityHashDistanceResponse' do
31
+ it 'should create an instance of ImageSimilarityHashDistanceResponse' do
32
+ expect(@instance).to be_instance_of(CloudmersiveImageRecognitionApiClient::ImageSimilarityHashDistanceResponse)
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 "image_similarity_score"' 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,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::ImageSimilarityHashResponse
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'ImageSimilarityHashResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveImageRecognitionApiClient::ImageSimilarityHashResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of ImageSimilarityHashResponse' do
31
+ it 'should create an instance of ImageSimilarityHashResponse' do
32
+ expect(@instance).to be_instance_of(CloudmersiveImageRecognitionApiClient::ImageSimilarityHashResponse)
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 "image_hash"' 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
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -34,21 +34,20 @@ describe 'NsfwResult' do
34
34
  end
35
35
  describe 'test attribute "successful"' do
36
36
  it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
41
  describe 'test attribute "score"' do
42
42
  it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
47
  describe 'test attribute "classification_outcome"' do
48
48
  it 'should work' do
49
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
53
  end
54
-
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -34,21 +34,20 @@ describe 'ObjectDetectionResult' do
34
34
  end
35
35
  describe 'test attribute "successful"' do
36
36
  it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
41
  describe 'test attribute "objects"' do
42
42
  it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
47
  describe 'test attribute "object_count"' do
48
48
  it 'should work' do
49
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
53
  end
54
-
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -34,27 +34,26 @@ describe 'PersonWithAge' do
34
34
  end
35
35
  describe 'test attribute "face_location"' do
36
36
  it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
41
  describe 'test attribute "age_classification_confidence"' do
42
42
  it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
47
  describe 'test attribute "age_class"' do
48
48
  it 'should work' do
49
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
53
  describe 'test attribute "age"' do
54
54
  it 'should work' do
55
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
57
57
  end
58
58
 
59
59
  end
60
-
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -34,21 +34,20 @@ describe 'PersonWithGender' do
34
34
  end
35
35
  describe 'test attribute "face_location"' do
36
36
  it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
41
  describe 'test attribute "gender_classification_confidence"' do
42
42
  it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
47
  describe 'test attribute "gender_class"' do
48
48
  it 'should work' do
49
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
53
  end
54
-
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -34,15 +34,14 @@ describe 'PolygonPoint' do
34
34
  end
35
35
  describe 'test attribute "x"' do
36
36
  it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
41
  describe 'test attribute "y"' do
42
42
  it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
47
  end
48
-
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -34,15 +34,14 @@ describe 'RecognitionOutcome' do
34
34
  end
35
35
  describe 'test attribute "confidence_score"' do
36
36
  it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
41
  describe 'test attribute "description"' do
42
42
  it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
47
  end
48
-
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -34,21 +34,20 @@ describe 'TextDetectionResult' do
34
34
  end
35
35
  describe 'test attribute "successful"' do
36
36
  it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
41
  describe 'test attribute "text_items"' do
42
42
  it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
47
  describe 'test attribute "text_items_count"' do
48
48
  it 'should work' do
49
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
53
  end
54
-
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -34,27 +34,26 @@ describe 'TextItem' do
34
34
  end
35
35
  describe 'test attribute "left_x"' do
36
36
  it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
41
  describe 'test attribute "top_y"' do
42
42
  it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
47
  describe 'test attribute "width"' do
48
48
  it 'should work' do
49
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
53
  describe 'test attribute "height"' do
54
54
  it 'should work' do
55
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
57
57
  end
58
58
 
59
59
  end
60
-
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -34,21 +34,20 @@ describe 'VehicleLicensePlateDetectionResult' do
34
34
  end
35
35
  describe 'test attribute "successful"' do
36
36
  it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
41
  describe 'test attribute "detected_license_plates"' do
42
42
  it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
47
  describe 'test attribute "detected_license_plate_count"' do
48
48
  it 'should work' do
49
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
53
  end
54
-
data/spec/spec_helper.rb CHANGED
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
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.4.6
4
+ version: 2.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cloudmersive
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-26 00:00:00.000000000 Z
11
+ date: 2021-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -207,6 +207,7 @@ files:
207
207
  - "./docs/ArtisticApi.md"
208
208
  - "./docs/ColorResult.md"
209
209
  - "./docs/ConvertApi.md"
210
+ - "./docs/CreateHandwritingRequest.md"
210
211
  - "./docs/DetectedLicensePlate.md"
211
212
  - "./docs/DetectedObject.md"
212
213
  - "./docs/DominantColorResult.md"
@@ -233,6 +234,10 @@ files:
233
234
  - "./docs/ImageDescriptionResponse.md"
234
235
  - "./docs/ImageMetadata.md"
235
236
  - "./docs/ImageMetadataExifValue.md"
237
+ - "./docs/ImageSimilarityComparisonResponse.md"
238
+ - "./docs/ImageSimilarityHashDistanceRequest.md"
239
+ - "./docs/ImageSimilarityHashDistanceResponse.md"
240
+ - "./docs/ImageSimilarityHashResponse.md"
236
241
  - "./docs/InfoApi.md"
237
242
  - "./docs/NsfwApi.md"
238
243
  - "./docs/NsfwResult.md"
@@ -244,6 +249,7 @@ files:
244
249
  - "./docs/RecognizeApi.md"
245
250
  - "./docs/ResizeApi.md"
246
251
  - "./docs/TextDetectionResult.md"
252
+ - "./docs/TextGenerationApi.md"
247
253
  - "./docs/TextItem.md"
248
254
  - "./docs/VehicleLicensePlateDetectionResult.md"
249
255
  - "./git_push.sh"
@@ -257,11 +263,13 @@ files:
257
263
  - "./lib/cloudmersive-image-recognition-api-client/api/nsfw_api.rb"
258
264
  - "./lib/cloudmersive-image-recognition-api-client/api/recognize_api.rb"
259
265
  - "./lib/cloudmersive-image-recognition-api-client/api/resize_api.rb"
266
+ - "./lib/cloudmersive-image-recognition-api-client/api/text_generation_api.rb"
260
267
  - "./lib/cloudmersive-image-recognition-api-client/api_client.rb"
261
268
  - "./lib/cloudmersive-image-recognition-api-client/api_error.rb"
262
269
  - "./lib/cloudmersive-image-recognition-api-client/configuration.rb"
263
270
  - "./lib/cloudmersive-image-recognition-api-client/models/age_detection_result.rb"
264
271
  - "./lib/cloudmersive-image-recognition-api-client/models/color_result.rb"
272
+ - "./lib/cloudmersive-image-recognition-api-client/models/create_handwriting_request.rb"
265
273
  - "./lib/cloudmersive-image-recognition-api-client/models/detected_license_plate.rb"
266
274
  - "./lib/cloudmersive-image-recognition-api-client/models/detected_object.rb"
267
275
  - "./lib/cloudmersive-image-recognition-api-client/models/dominant_color_result.rb"
@@ -285,6 +293,10 @@ files:
285
293
  - "./lib/cloudmersive-image-recognition-api-client/models/image_description_response.rb"
286
294
  - "./lib/cloudmersive-image-recognition-api-client/models/image_metadata.rb"
287
295
  - "./lib/cloudmersive-image-recognition-api-client/models/image_metadata_exif_value.rb"
296
+ - "./lib/cloudmersive-image-recognition-api-client/models/image_similarity_comparison_response.rb"
297
+ - "./lib/cloudmersive-image-recognition-api-client/models/image_similarity_hash_distance_request.rb"
298
+ - "./lib/cloudmersive-image-recognition-api-client/models/image_similarity_hash_distance_response.rb"
299
+ - "./lib/cloudmersive-image-recognition-api-client/models/image_similarity_hash_response.rb"
288
300
  - "./lib/cloudmersive-image-recognition-api-client/models/nsfw_result.rb"
289
301
  - "./lib/cloudmersive-image-recognition-api-client/models/object_detection_result.rb"
290
302
  - "./lib/cloudmersive-image-recognition-api-client/models/person_with_age.rb"
@@ -304,10 +316,12 @@ files:
304
316
  - "./spec/api/nsfw_api_spec.rb"
305
317
  - "./spec/api/recognize_api_spec.rb"
306
318
  - "./spec/api/resize_api_spec.rb"
319
+ - "./spec/api/text_generation_api_spec.rb"
307
320
  - "./spec/api_client_spec.rb"
308
321
  - "./spec/configuration_spec.rb"
309
322
  - "./spec/models/age_detection_result_spec.rb"
310
323
  - "./spec/models/color_result_spec.rb"
324
+ - "./spec/models/create_handwriting_request_spec.rb"
311
325
  - "./spec/models/detected_license_plate_spec.rb"
312
326
  - "./spec/models/detected_object_spec.rb"
313
327
  - "./spec/models/dominant_color_result_spec.rb"
@@ -331,6 +345,10 @@ files:
331
345
  - "./spec/models/image_description_response_spec.rb"
332
346
  - "./spec/models/image_metadata_exif_value_spec.rb"
333
347
  - "./spec/models/image_metadata_spec.rb"
348
+ - "./spec/models/image_similarity_comparison_response_spec.rb"
349
+ - "./spec/models/image_similarity_hash_distance_request_spec.rb"
350
+ - "./spec/models/image_similarity_hash_distance_response_spec.rb"
351
+ - "./spec/models/image_similarity_hash_response_spec.rb"
334
352
  - "./spec/models/nsfw_result_spec.rb"
335
353
  - "./spec/models/object_detection_result_spec.rb"
336
354
  - "./spec/models/person_with_age_spec.rb"