cloudmersive-image-recognition-api-client 2.0.4 → 2.1.0
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 +4 -4
- data/README.md +26 -19
- data/cloudmersive-image-recognition-api-client.gemspec +1 -1
- data/docs/AgeDetectionResult.md +1 -1
- data/docs/AiImageDetectionApi.md +63 -0
- data/docs/ConvertApi.md +58 -3
- data/docs/FaceApi.md +4 -4
- data/docs/FineTextItem.md +1 -0
- data/docs/ImageAiDetectionResult.md +10 -0
- data/docs/ImageSimilarityComparisonResponse.md +10 -0
- data/docs/ImageSimilarityHashDistanceRequest.md +9 -0
- data/docs/ImageSimilarityHashDistanceResponse.md +9 -0
- data/docs/ImageSimilarityHashResponse.md +9 -0
- data/docs/NsfwAdvancedResult.md +19 -0
- data/docs/NsfwApi.md +169 -4
- data/docs/PersonWithAge.md +4 -1
- data/docs/RecognizeApi.md +124 -58
- data/docs/ResizeApi.md +55 -0
- data/docs/TextItem.md +1 -0
- data/lib/cloudmersive-image-recognition-api-client/api/ai_image_detection_api.rb +78 -0
- data/lib/cloudmersive-image-recognition-api-client/api/artistic_api.rb +1 -1
- data/lib/cloudmersive-image-recognition-api-client/api/convert_api.rb +58 -3
- data/lib/cloudmersive-image-recognition-api-client/api/edit_api.rb +1 -1
- data/lib/cloudmersive-image-recognition-api-client/api/face_api.rb +8 -8
- data/lib/cloudmersive-image-recognition-api-client/api/filter_api.rb +1 -1
- data/lib/cloudmersive-image-recognition-api-client/api/info_api.rb +1 -1
- data/lib/cloudmersive-image-recognition-api-client/api/nsfw_api.rb +170 -5
- data/lib/cloudmersive-image-recognition-api-client/api/recognize_api.rb +171 -104
- data/lib/cloudmersive-image-recognition-api-client/api/resize_api.rb +56 -1
- data/lib/cloudmersive-image-recognition-api-client/api/text_generation_api.rb +1 -1
- data/lib/cloudmersive-image-recognition-api-client/api_client.rb +1 -1
- data/lib/cloudmersive-image-recognition-api-client/api_error.rb +1 -1
- data/lib/cloudmersive-image-recognition-api-client/configuration.rb +1 -1
- data/lib/cloudmersive-image-recognition-api-client/models/age_detection_result.rb +3 -3
- data/lib/cloudmersive-image-recognition-api-client/models/color_result.rb +1 -1
- data/lib/cloudmersive-image-recognition-api-client/models/create_handwriting_request.rb +1 -1
- data/lib/cloudmersive-image-recognition-api-client/models/detected_license_plate.rb +1 -1
- data/lib/cloudmersive-image-recognition-api-client/models/dominant_color_result.rb +1 -1
- data/lib/cloudmersive-image-recognition-api-client/models/draw_polygon_instance.rb +1 -1
- data/lib/cloudmersive-image-recognition-api-client/models/draw_polygon_request.rb +1 -1
- data/lib/cloudmersive-image-recognition-api-client/models/draw_rectangle_instance.rb +1 -1
- data/lib/cloudmersive-image-recognition-api-client/models/draw_rectangle_request.rb +1 -1
- data/lib/cloudmersive-image-recognition-api-client/models/draw_text_instance.rb +1 -1
- data/lib/cloudmersive-image-recognition-api-client/models/draw_text_request.rb +1 -1
- data/lib/cloudmersive-image-recognition-api-client/models/face.rb +1 -1
- data/lib/cloudmersive-image-recognition-api-client/models/face_compare_response.rb +1 -1
- data/lib/cloudmersive-image-recognition-api-client/models/face_locate_response.rb +1 -1
- data/lib/cloudmersive-image-recognition-api-client/models/face_locate_with_landmarks_response.rb +1 -1
- data/lib/cloudmersive-image-recognition-api-client/models/face_match.rb +1 -1
- data/lib/cloudmersive-image-recognition-api-client/models/face_point.rb +1 -1
- data/lib/cloudmersive-image-recognition-api-client/models/face_with_landmarks.rb +1 -1
- data/lib/cloudmersive-image-recognition-api-client/models/find_symbol_result.rb +1 -1
- data/lib/cloudmersive-image-recognition-api-client/models/fine_text_detection_result.rb +1 -1
- data/lib/cloudmersive-image-recognition-api-client/models/fine_text_item.rb +12 -2
- data/lib/cloudmersive-image-recognition-api-client/models/{person_with_gender.rb → image_ai_detection_result.rb} +25 -25
- data/lib/cloudmersive-image-recognition-api-client/models/image_description_response.rb +1 -1
- data/lib/cloudmersive-image-recognition-api-client/models/image_metadata.rb +1 -1
- data/lib/cloudmersive-image-recognition-api-client/models/image_metadata_exif_value.rb +1 -1
- data/lib/cloudmersive-image-recognition-api-client/models/{detected_object.rb → image_similarity_comparison_response.rb} +25 -55
- data/lib/cloudmersive-image-recognition-api-client/models/image_similarity_hash_distance_request.rb +196 -0
- data/lib/cloudmersive-image-recognition-api-client/models/{object_detection_result.rb → image_similarity_hash_distance_response.rb} +12 -24
- data/lib/cloudmersive-image-recognition-api-client/models/{gender_detection_result.rb → image_similarity_hash_response.rb} +12 -24
- data/lib/cloudmersive-image-recognition-api-client/models/nsfw_advanced_result.rb +296 -0
- data/lib/cloudmersive-image-recognition-api-client/models/nsfw_result.rb +1 -1
- data/lib/cloudmersive-image-recognition-api-client/models/person_with_age.rb +36 -5
- data/lib/cloudmersive-image-recognition-api-client/models/polygon_point.rb +1 -1
- data/lib/cloudmersive-image-recognition-api-client/models/recognition_outcome.rb +1 -1
- data/lib/cloudmersive-image-recognition-api-client/models/text_detection_result.rb +1 -1
- data/lib/cloudmersive-image-recognition-api-client/models/text_item.rb +12 -2
- data/lib/cloudmersive-image-recognition-api-client/models/vehicle_license_plate_detection_result.rb +1 -1
- data/lib/cloudmersive-image-recognition-api-client/version.rb +2 -2
- data/lib/cloudmersive-image-recognition-api-client.rb +8 -5
- data/spec/api/ai_image_detection_api_spec.rb +47 -0
- data/spec/api/artistic_api_spec.rb +1 -1
- data/spec/api/convert_api_spec.rb +14 -2
- data/spec/api/edit_api_spec.rb +1 -1
- data/spec/api/face_api_spec.rb +4 -4
- data/spec/api/filter_api_spec.rb +1 -1
- data/spec/api/info_api_spec.rb +1 -1
- data/spec/api/nsfw_api_spec.rb +39 -3
- data/spec/api/recognize_api_spec.rb +40 -25
- data/spec/api/resize_api_spec.rb +13 -1
- data/spec/api/text_generation_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/age_detection_result_spec.rb +1 -1
- data/spec/models/color_result_spec.rb +1 -1
- data/spec/models/create_handwriting_request_spec.rb +1 -1
- data/spec/models/detected_license_plate_spec.rb +1 -1
- data/spec/models/dominant_color_result_spec.rb +1 -1
- data/spec/models/draw_polygon_instance_spec.rb +1 -1
- data/spec/models/draw_polygon_request_spec.rb +1 -1
- data/spec/models/draw_rectangle_instance_spec.rb +1 -1
- data/spec/models/draw_rectangle_request_spec.rb +1 -1
- data/spec/models/draw_text_instance_spec.rb +1 -1
- data/spec/models/draw_text_request_spec.rb +1 -1
- data/spec/models/face_compare_response_spec.rb +1 -1
- data/spec/models/face_locate_response_spec.rb +1 -1
- data/spec/models/face_locate_with_landmarks_response_spec.rb +1 -1
- data/spec/models/face_match_spec.rb +1 -1
- data/spec/models/face_point_spec.rb +1 -1
- data/spec/models/face_spec.rb +1 -1
- data/spec/models/face_with_landmarks_spec.rb +1 -1
- data/spec/models/find_symbol_result_spec.rb +1 -1
- data/spec/models/fine_text_detection_result_spec.rb +1 -1
- data/spec/models/fine_text_item_spec.rb +7 -1
- data/spec/models/{person_with_gender_spec.rb → image_ai_detection_result_spec.rb} +10 -10
- data/spec/models/image_description_response_spec.rb +1 -1
- data/spec/models/image_metadata_exif_value_spec.rb +1 -1
- data/spec/models/image_metadata_spec.rb +1 -1
- data/spec/models/{gender_detection_result_spec.rb → image_similarity_comparison_response_spec.rb} +9 -9
- data/spec/models/image_similarity_hash_distance_request_spec.rb +47 -0
- data/spec/models/{object_detection_result_spec.rb → image_similarity_hash_distance_response_spec.rb} +8 -14
- data/spec/models/image_similarity_hash_response_spec.rb +47 -0
- data/spec/models/nsfw_advanced_result_spec.rb +107 -0
- data/spec/models/nsfw_result_spec.rb +1 -1
- data/spec/models/person_with_age_spec.rb +19 -1
- data/spec/models/polygon_point_spec.rb +1 -1
- data/spec/models/recognition_outcome_spec.rb +1 -1
- data/spec/models/text_detection_result_spec.rb +1 -1
- data/spec/models/text_item_spec.rb +7 -1
- data/spec/models/vehicle_license_plate_detection_result_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +39 -30
- data/docs/DetectedObject.md +0 -13
- data/docs/GenderDetectionResult.md +0 -10
- data/docs/ObjectDetectionResult.md +0 -10
- data/docs/PersonWithGender.md +0 -10
- data/spec/models/detected_object_spec.rb +0 -71
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#imageapi
|
|
3
3
|
|
|
4
|
-
#Image Recognition and Processing APIs let you use Machine Learning to recognize and process images, and also perform useful image modification operations.
|
|
4
|
+
#Image Recognition and Processing APIs let you use Artificial Intelligence and Machine Learning to recognize and process images, and also perform useful image modification operations.
|
|
5
5
|
|
|
6
6
|
OpenAPI spec version: v1
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#imageapi
|
|
3
3
|
|
|
4
|
-
#Image Recognition and Processing APIs let you use Machine Learning to recognize and process images, and also perform useful image modification operations.
|
|
4
|
+
#Image Recognition and Processing APIs let you use Artificial Intelligence and Machine Learning to recognize and process images, and also perform useful image modification operations.
|
|
5
5
|
|
|
6
6
|
OpenAPI spec version: v1
|
|
7
7
|
|
|
@@ -32,6 +32,12 @@ describe 'TextItem' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(CloudmersiveImageRecognitionApiClient::TextItem)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
+
describe 'test attribute "detected_text"' 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
|
+
|
|
35
41
|
describe 'test attribute "left_x"' do
|
|
36
42
|
it 'should work' do
|
|
37
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#imageapi
|
|
3
3
|
|
|
4
|
-
#Image Recognition and Processing APIs let you use Machine Learning to recognize and process images, and also perform useful image modification operations.
|
|
4
|
+
#Image Recognition and Processing APIs let you use Artificial Intelligence and Machine Learning to recognize and process images, and also perform useful image modification operations.
|
|
5
5
|
|
|
6
6
|
OpenAPI spec version: v1
|
|
7
7
|
|
data/spec/spec_helper.rb
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#imageapi
|
|
3
3
|
|
|
4
|
-
#Image Recognition and Processing APIs let you use Machine Learning to recognize and process images, and also perform useful image modification operations.
|
|
4
|
+
#Image Recognition and Processing APIs let you use Artificial Intelligence and Machine Learning to recognize and process images, and also perform useful image modification operations.
|
|
5
5
|
|
|
6
6
|
OpenAPI spec version: v1
|
|
7
7
|
|
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: 2.0
|
|
4
|
+
version: 2.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Cloudmersive
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2025-11-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -34,42 +34,42 @@ dependencies:
|
|
|
34
34
|
name: json
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
|
36
36
|
requirements:
|
|
37
|
-
- - ">="
|
|
38
|
-
- !ruby/object:Gem::Version
|
|
39
|
-
version: 2.1.0
|
|
40
37
|
- - "~>"
|
|
41
38
|
- !ruby/object:Gem::Version
|
|
42
39
|
version: '2.1'
|
|
40
|
+
- - ">="
|
|
41
|
+
- !ruby/object:Gem::Version
|
|
42
|
+
version: 2.1.0
|
|
43
43
|
type: :runtime
|
|
44
44
|
prerelease: false
|
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
|
46
46
|
requirements:
|
|
47
|
-
- - ">="
|
|
48
|
-
- !ruby/object:Gem::Version
|
|
49
|
-
version: 2.1.0
|
|
50
47
|
- - "~>"
|
|
51
48
|
- !ruby/object:Gem::Version
|
|
52
49
|
version: '2.1'
|
|
50
|
+
- - ">="
|
|
51
|
+
- !ruby/object:Gem::Version
|
|
52
|
+
version: 2.1.0
|
|
53
53
|
- !ruby/object:Gem::Dependency
|
|
54
54
|
name: rspec
|
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
|
56
56
|
requirements:
|
|
57
|
-
- - ">="
|
|
58
|
-
- !ruby/object:Gem::Version
|
|
59
|
-
version: 3.6.0
|
|
60
57
|
- - "~>"
|
|
61
58
|
- !ruby/object:Gem::Version
|
|
62
59
|
version: '3.6'
|
|
60
|
+
- - ">="
|
|
61
|
+
- !ruby/object:Gem::Version
|
|
62
|
+
version: 3.6.0
|
|
63
63
|
type: :development
|
|
64
64
|
prerelease: false
|
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
|
66
66
|
requirements:
|
|
67
|
-
- - ">="
|
|
68
|
-
- !ruby/object:Gem::Version
|
|
69
|
-
version: 3.6.0
|
|
70
67
|
- - "~>"
|
|
71
68
|
- !ruby/object:Gem::Version
|
|
72
69
|
version: '3.6'
|
|
70
|
+
- - ">="
|
|
71
|
+
- !ruby/object:Gem::Version
|
|
72
|
+
version: 3.6.0
|
|
73
73
|
- !ruby/object:Gem::Dependency
|
|
74
74
|
name: vcr
|
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -204,12 +204,12 @@ files:
|
|
|
204
204
|
- "./Rakefile"
|
|
205
205
|
- "./cloudmersive-image-recognition-api-client.gemspec"
|
|
206
206
|
- "./docs/AgeDetectionResult.md"
|
|
207
|
+
- "./docs/AiImageDetectionApi.md"
|
|
207
208
|
- "./docs/ArtisticApi.md"
|
|
208
209
|
- "./docs/ColorResult.md"
|
|
209
210
|
- "./docs/ConvertApi.md"
|
|
210
211
|
- "./docs/CreateHandwritingRequest.md"
|
|
211
212
|
- "./docs/DetectedLicensePlate.md"
|
|
212
|
-
- "./docs/DetectedObject.md"
|
|
213
213
|
- "./docs/DominantColorResult.md"
|
|
214
214
|
- "./docs/DrawPolygonInstance.md"
|
|
215
215
|
- "./docs/DrawPolygonRequest.md"
|
|
@@ -230,16 +230,19 @@ files:
|
|
|
230
230
|
- "./docs/FindSymbolResult.md"
|
|
231
231
|
- "./docs/FineTextDetectionResult.md"
|
|
232
232
|
- "./docs/FineTextItem.md"
|
|
233
|
-
- "./docs/
|
|
233
|
+
- "./docs/ImageAiDetectionResult.md"
|
|
234
234
|
- "./docs/ImageDescriptionResponse.md"
|
|
235
235
|
- "./docs/ImageMetadata.md"
|
|
236
236
|
- "./docs/ImageMetadataExifValue.md"
|
|
237
|
+
- "./docs/ImageSimilarityComparisonResponse.md"
|
|
238
|
+
- "./docs/ImageSimilarityHashDistanceRequest.md"
|
|
239
|
+
- "./docs/ImageSimilarityHashDistanceResponse.md"
|
|
240
|
+
- "./docs/ImageSimilarityHashResponse.md"
|
|
237
241
|
- "./docs/InfoApi.md"
|
|
242
|
+
- "./docs/NsfwAdvancedResult.md"
|
|
238
243
|
- "./docs/NsfwApi.md"
|
|
239
244
|
- "./docs/NsfwResult.md"
|
|
240
|
-
- "./docs/ObjectDetectionResult.md"
|
|
241
245
|
- "./docs/PersonWithAge.md"
|
|
242
|
-
- "./docs/PersonWithGender.md"
|
|
243
246
|
- "./docs/PolygonPoint.md"
|
|
244
247
|
- "./docs/RecognitionOutcome.md"
|
|
245
248
|
- "./docs/RecognizeApi.md"
|
|
@@ -250,6 +253,7 @@ files:
|
|
|
250
253
|
- "./docs/VehicleLicensePlateDetectionResult.md"
|
|
251
254
|
- "./git_push.sh"
|
|
252
255
|
- "./lib/cloudmersive-image-recognition-api-client.rb"
|
|
256
|
+
- "./lib/cloudmersive-image-recognition-api-client/api/ai_image_detection_api.rb"
|
|
253
257
|
- "./lib/cloudmersive-image-recognition-api-client/api/artistic_api.rb"
|
|
254
258
|
- "./lib/cloudmersive-image-recognition-api-client/api/convert_api.rb"
|
|
255
259
|
- "./lib/cloudmersive-image-recognition-api-client/api/edit_api.rb"
|
|
@@ -267,7 +271,6 @@ files:
|
|
|
267
271
|
- "./lib/cloudmersive-image-recognition-api-client/models/color_result.rb"
|
|
268
272
|
- "./lib/cloudmersive-image-recognition-api-client/models/create_handwriting_request.rb"
|
|
269
273
|
- "./lib/cloudmersive-image-recognition-api-client/models/detected_license_plate.rb"
|
|
270
|
-
- "./lib/cloudmersive-image-recognition-api-client/models/detected_object.rb"
|
|
271
274
|
- "./lib/cloudmersive-image-recognition-api-client/models/dominant_color_result.rb"
|
|
272
275
|
- "./lib/cloudmersive-image-recognition-api-client/models/draw_polygon_instance.rb"
|
|
273
276
|
- "./lib/cloudmersive-image-recognition-api-client/models/draw_polygon_request.rb"
|
|
@@ -285,20 +288,24 @@ files:
|
|
|
285
288
|
- "./lib/cloudmersive-image-recognition-api-client/models/find_symbol_result.rb"
|
|
286
289
|
- "./lib/cloudmersive-image-recognition-api-client/models/fine_text_detection_result.rb"
|
|
287
290
|
- "./lib/cloudmersive-image-recognition-api-client/models/fine_text_item.rb"
|
|
288
|
-
- "./lib/cloudmersive-image-recognition-api-client/models/
|
|
291
|
+
- "./lib/cloudmersive-image-recognition-api-client/models/image_ai_detection_result.rb"
|
|
289
292
|
- "./lib/cloudmersive-image-recognition-api-client/models/image_description_response.rb"
|
|
290
293
|
- "./lib/cloudmersive-image-recognition-api-client/models/image_metadata.rb"
|
|
291
294
|
- "./lib/cloudmersive-image-recognition-api-client/models/image_metadata_exif_value.rb"
|
|
295
|
+
- "./lib/cloudmersive-image-recognition-api-client/models/image_similarity_comparison_response.rb"
|
|
296
|
+
- "./lib/cloudmersive-image-recognition-api-client/models/image_similarity_hash_distance_request.rb"
|
|
297
|
+
- "./lib/cloudmersive-image-recognition-api-client/models/image_similarity_hash_distance_response.rb"
|
|
298
|
+
- "./lib/cloudmersive-image-recognition-api-client/models/image_similarity_hash_response.rb"
|
|
299
|
+
- "./lib/cloudmersive-image-recognition-api-client/models/nsfw_advanced_result.rb"
|
|
292
300
|
- "./lib/cloudmersive-image-recognition-api-client/models/nsfw_result.rb"
|
|
293
|
-
- "./lib/cloudmersive-image-recognition-api-client/models/object_detection_result.rb"
|
|
294
301
|
- "./lib/cloudmersive-image-recognition-api-client/models/person_with_age.rb"
|
|
295
|
-
- "./lib/cloudmersive-image-recognition-api-client/models/person_with_gender.rb"
|
|
296
302
|
- "./lib/cloudmersive-image-recognition-api-client/models/polygon_point.rb"
|
|
297
303
|
- "./lib/cloudmersive-image-recognition-api-client/models/recognition_outcome.rb"
|
|
298
304
|
- "./lib/cloudmersive-image-recognition-api-client/models/text_detection_result.rb"
|
|
299
305
|
- "./lib/cloudmersive-image-recognition-api-client/models/text_item.rb"
|
|
300
306
|
- "./lib/cloudmersive-image-recognition-api-client/models/vehicle_license_plate_detection_result.rb"
|
|
301
307
|
- "./lib/cloudmersive-image-recognition-api-client/version.rb"
|
|
308
|
+
- "./spec/api/ai_image_detection_api_spec.rb"
|
|
302
309
|
- "./spec/api/artistic_api_spec.rb"
|
|
303
310
|
- "./spec/api/convert_api_spec.rb"
|
|
304
311
|
- "./spec/api/edit_api_spec.rb"
|
|
@@ -315,7 +322,6 @@ files:
|
|
|
315
322
|
- "./spec/models/color_result_spec.rb"
|
|
316
323
|
- "./spec/models/create_handwriting_request_spec.rb"
|
|
317
324
|
- "./spec/models/detected_license_plate_spec.rb"
|
|
318
|
-
- "./spec/models/detected_object_spec.rb"
|
|
319
325
|
- "./spec/models/dominant_color_result_spec.rb"
|
|
320
326
|
- "./spec/models/draw_polygon_instance_spec.rb"
|
|
321
327
|
- "./spec/models/draw_polygon_request_spec.rb"
|
|
@@ -333,14 +339,17 @@ files:
|
|
|
333
339
|
- "./spec/models/find_symbol_result_spec.rb"
|
|
334
340
|
- "./spec/models/fine_text_detection_result_spec.rb"
|
|
335
341
|
- "./spec/models/fine_text_item_spec.rb"
|
|
336
|
-
- "./spec/models/
|
|
342
|
+
- "./spec/models/image_ai_detection_result_spec.rb"
|
|
337
343
|
- "./spec/models/image_description_response_spec.rb"
|
|
338
344
|
- "./spec/models/image_metadata_exif_value_spec.rb"
|
|
339
345
|
- "./spec/models/image_metadata_spec.rb"
|
|
346
|
+
- "./spec/models/image_similarity_comparison_response_spec.rb"
|
|
347
|
+
- "./spec/models/image_similarity_hash_distance_request_spec.rb"
|
|
348
|
+
- "./spec/models/image_similarity_hash_distance_response_spec.rb"
|
|
349
|
+
- "./spec/models/image_similarity_hash_response_spec.rb"
|
|
350
|
+
- "./spec/models/nsfw_advanced_result_spec.rb"
|
|
340
351
|
- "./spec/models/nsfw_result_spec.rb"
|
|
341
|
-
- "./spec/models/object_detection_result_spec.rb"
|
|
342
352
|
- "./spec/models/person_with_age_spec.rb"
|
|
343
|
-
- "./spec/models/person_with_gender_spec.rb"
|
|
344
353
|
- "./spec/models/polygon_point_spec.rb"
|
|
345
354
|
- "./spec/models/recognition_outcome_spec.rb"
|
|
346
355
|
- "./spec/models/text_detection_result_spec.rb"
|
|
@@ -351,7 +360,7 @@ homepage: https://www.cloudmersive.com/image-recognition-and-processing-api
|
|
|
351
360
|
licenses:
|
|
352
361
|
- Apache 2.0
|
|
353
362
|
metadata: {}
|
|
354
|
-
post_install_message:
|
|
363
|
+
post_install_message:
|
|
355
364
|
rdoc_options: []
|
|
356
365
|
require_paths:
|
|
357
366
|
- lib
|
|
@@ -366,8 +375,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
366
375
|
- !ruby/object:Gem::Version
|
|
367
376
|
version: '0'
|
|
368
377
|
requirements: []
|
|
369
|
-
rubygems_version: 3.
|
|
370
|
-
signing_key:
|
|
378
|
+
rubygems_version: 3.5.16
|
|
379
|
+
signing_key:
|
|
371
380
|
specification_version: 4
|
|
372
381
|
summary: Advanced Machine Learning APIs for recognizing and processing images.
|
|
373
382
|
test_files: []
|
data/docs/DetectedObject.md
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# CloudmersiveImageRecognitionApiClient::DetectedObject
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
Name | Type | Description | Notes
|
|
5
|
-
------------ | ------------- | ------------- | -------------
|
|
6
|
-
**object_class_name** | **String** | Class of the object. Example values are \"person\", \"car\", \"dining table\", etc. | [optional]
|
|
7
|
-
**height** | **Integer** | Height, in pixels, of the object | [optional]
|
|
8
|
-
**width** | **Integer** | Width, in pixels, of the object | [optional]
|
|
9
|
-
**score** | **Float** | Confidence score of detected object; possible values are between 0.0 and 1.0; values closer to 1.0 are higher confidence | [optional]
|
|
10
|
-
**x** | **Integer** | X location, in pixels, of the left side location of the object, with the right side being X + Width | [optional]
|
|
11
|
-
**y** | **Integer** | Y location, in pixels, of the top side location of the object, with the bottom side being Y + Height | [optional]
|
|
12
|
-
|
|
13
|
-
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
# CloudmersiveImageRecognitionApiClient::GenderDetectionResult
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
Name | Type | Description | Notes
|
|
5
|
-
------------ | ------------- | ------------- | -------------
|
|
6
|
-
**successful** | **BOOLEAN** | True if the operation was successful, false otherwise | [optional]
|
|
7
|
-
**person_with_gender** | [**Array<PersonWithGender>**](PersonWithGender.md) | People in the image annotated with gender information | [optional]
|
|
8
|
-
**people_identified** | **Integer** | Number of people identified in the image with a gender | [optional]
|
|
9
|
-
|
|
10
|
-
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
# CloudmersiveImageRecognitionApiClient::ObjectDetectionResult
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
Name | Type | Description | Notes
|
|
5
|
-
------------ | ------------- | ------------- | -------------
|
|
6
|
-
**successful** | **BOOLEAN** | Was the image processed successfully? | [optional]
|
|
7
|
-
**objects** | [**Array<DetectedObject>**](DetectedObject.md) | Array of objects detected in the scene | [optional]
|
|
8
|
-
**object_count** | **Integer** | Number of objects detected in the scene | [optional]
|
|
9
|
-
|
|
10
|
-
|
data/docs/PersonWithGender.md
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
# CloudmersiveImageRecognitionApiClient::PersonWithGender
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
Name | Type | Description | Notes
|
|
5
|
-
------------ | ------------- | ------------- | -------------
|
|
6
|
-
**face_location** | [**Face**](Face.md) | Location and other information about the person's face corresponding to this age classification | [optional]
|
|
7
|
-
**gender_classification_confidence** | **Float** | Confidence level of gender classification; possible values are between 0.0 and 1.0; higher is better, with values &gt; 0.50 being high confidence results | [optional]
|
|
8
|
-
**gender_class** | **String** | The person's identified gender; possible values are \"Male\", \"Female\" and \"Unknown\" | [optional]
|
|
9
|
-
|
|
10
|
-
|
|
@@ -1,71 +0,0 @@
|
|
|
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::DetectedObject
|
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe 'DetectedObject' do
|
|
21
|
-
before do
|
|
22
|
-
# run before each test
|
|
23
|
-
@instance = CloudmersiveImageRecognitionApiClient::DetectedObject.new
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
after do
|
|
27
|
-
# run after each test
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test an instance of DetectedObject' do
|
|
31
|
-
it 'should create an instance of DetectedObject' do
|
|
32
|
-
expect(@instance).to be_instance_of(CloudmersiveImageRecognitionApiClient::DetectedObject)
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
describe 'test attribute "object_class_name"' 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 "height"' 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 "width"' 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 "score"' 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 "x"' 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 "y"' 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
|