azure_cognitiveservices_computervision 0.16.0 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/lib/1.0/generated/azure_cognitiveservices_computervision.rb +19 -17
  3. data/lib/1.0/generated/azure_cognitiveservices_computervision/computer_vision_client.rb +220 -132
  4. data/lib/1.0/generated/azure_cognitiveservices_computervision/models/azure_regions.rb +4 -0
  5. data/lib/1.0/generated/azure_cognitiveservices_computervision/models/category.rb +1 -1
  6. data/lib/1.0/generated/azure_cognitiveservices_computervision/models/celebrity_results.rb +78 -0
  7. data/lib/1.0/generated/azure_cognitiveservices_computervision/models/domain_model_results.rb +6 -16
  8. data/lib/1.0/generated/azure_cognitiveservices_computervision/models/face_description.rb +3 -2
  9. data/lib/1.0/generated/azure_cognitiveservices_computervision/models/{language1.rb → gender.rb} +4 -4
  10. data/lib/1.0/generated/azure_cognitiveservices_computervision/models/image_analysis.rb +5 -7
  11. data/lib/1.0/generated/azure_cognitiveservices_computervision/models/image_description.rb +1 -1
  12. data/lib/1.0/generated/azure_cognitiveservices_computervision/models/image_description_details.rb +1 -1
  13. data/lib/1.0/generated/azure_cognitiveservices_computervision/models/image_url.rb +1 -1
  14. data/lib/1.0/generated/azure_cognitiveservices_computervision/models/landmark_results.rb +78 -0
  15. data/lib/1.0/generated/azure_cognitiveservices_computervision/models/landmark_results_landmarks_item.rb +57 -0
  16. data/lib/1.0/generated/azure_cognitiveservices_computervision/models/ocr_result.rb +2 -3
  17. data/lib/1.0/generated/azure_cognitiveservices_computervision/models/tag_result.rb +1 -1
  18. data/lib/2.0/generated/azure_cognitiveservices_computervision.rb +65 -0
  19. data/lib/2.0/generated/azure_cognitiveservices_computervision/computer_vision_client.rb +2257 -0
  20. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/adult_info.rb +83 -0
  21. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/category.rb +69 -0
  22. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/category_detail.rb +77 -0
  23. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/celebrities_model.rb +69 -0
  24. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/celebrity_results.rb +78 -0
  25. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/color_info.rb +98 -0
  26. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/computer_vision_error.rb +75 -0
  27. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/computer_vision_error_codes.rb +27 -0
  28. data/lib/{1.0/generated/azure_cognitiveservices_computervision/models/domain_models.rb → 2.0/generated/azure_cognitiveservices_computervision/models/details.rb} +3 -3
  29. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/domain_model_results.rb +70 -0
  30. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/face_description.rb +71 -0
  31. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/face_rectangle.rb +79 -0
  32. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/gender.rb +16 -0
  33. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_analysis.rb +167 -0
  34. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_caption.rb +57 -0
  35. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_description.rb +99 -0
  36. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_description_details.rb +76 -0
  37. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_metadata.rb +68 -0
  38. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_tag.rb +68 -0
  39. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_type.rb +57 -0
  40. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_url.rb +47 -0
  41. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/landmark_results.rb +78 -0
  42. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/landmarks_model.rb +57 -0
  43. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/line.rb +86 -0
  44. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/list_models_result.rb +56 -0
  45. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/model_description.rb +65 -0
  46. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_languages.rb +41 -0
  47. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_line.rb +72 -0
  48. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_region.rb +72 -0
  49. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_result.rb +103 -0
  50. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_word.rb +62 -0
  51. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/recognition_result.rb +56 -0
  52. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/tag_result.rb +79 -0
  53. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/text_operation_result.rb +62 -0
  54. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/text_operation_status_codes.rb +18 -0
  55. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/text_recognition_mode.rb +16 -0
  56. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/visual_feature_types.rb +21 -0
  57. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/word.rb +66 -0
  58. data/lib/2.0/generated/azure_cognitiveservices_computervision/module_definition.rb +9 -0
  59. data/lib/azure_cognitiveservices_computervision.rb +1 -0
  60. data/lib/profiles/latest/modules/computervision_profile_module.rb +103 -95
  61. data/lib/version.rb +1 -1
  62. metadata +49 -6
@@ -0,0 +1,16 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::ComputerVision::V2_0
7
+ module Models
8
+ #
9
+ # Defines values for TextRecognitionMode
10
+ #
11
+ module TextRecognitionMode
12
+ Handwritten = "Handwritten"
13
+ Printed = "Printed"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,21 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::ComputerVision::V2_0
7
+ module Models
8
+ #
9
+ # Defines values for VisualFeatureTypes
10
+ #
11
+ module VisualFeatureTypes
12
+ ImageType = "ImageType"
13
+ Faces = "Faces"
14
+ Adult = "Adult"
15
+ Categories = "Categories"
16
+ Color = "Color"
17
+ Tags = "Tags"
18
+ Description = "Description"
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,66 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::ComputerVision::V2_0
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ #
12
+ class Word
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [Array<Integer>]
17
+ attr_accessor :bounding_box
18
+
19
+ # @return [String]
20
+ attr_accessor :text
21
+
22
+
23
+ #
24
+ # Mapper for Word class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ client_side_validation: true,
30
+ required: false,
31
+ serialized_name: 'Word',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'Word',
35
+ model_properties: {
36
+ bounding_box: {
37
+ client_side_validation: true,
38
+ required: false,
39
+ serialized_name: 'boundingBox',
40
+ type: {
41
+ name: 'Sequence',
42
+ element: {
43
+ client_side_validation: true,
44
+ required: false,
45
+ serialized_name: 'NumberElementType',
46
+ type: {
47
+ name: 'Number'
48
+ }
49
+ }
50
+ }
51
+ },
52
+ text: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ serialized_name: 'text',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ }
60
+ }
61
+ }
62
+ }
63
+ end
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,9 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure end
7
+ module Azure::CognitiveServices end
8
+ module Azure::CognitiveServices::ComputerVision end
9
+ module Azure::CognitiveServices::ComputerVision::V2_0 end
@@ -3,4 +3,5 @@
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
5
  require '1.0/generated/azure_cognitiveservices_computervision'
6
+ require '2.0/generated/azure_cognitiveservices_computervision'
6
7
  require 'profiles/latest/computervision_latest_profile_client'
@@ -7,42 +7,44 @@ require 'azure_cognitiveservices_computervision'
7
7
  module Azure::ComputerVision::Profiles::Latest
8
8
 
9
9
  module Models
10
- ImageDescriptionDetails = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageDescriptionDetails
11
- Word = Azure::CognitiveServices::ComputerVision::V1_0::Models::Word
12
- FaceDescription = Azure::CognitiveServices::ComputerVision::V1_0::Models::FaceDescription
13
- RecognitionResult = Azure::CognitiveServices::ComputerVision::V1_0::Models::RecognitionResult
14
- ImageAnalysis = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageAnalysis
15
- FaceRectangle = Azure::CognitiveServices::ComputerVision::V1_0::Models::FaceRectangle
16
- OcrWord = Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrWord
17
- CategoryDetail = Azure::CognitiveServices::ComputerVision::V1_0::Models::CategoryDetail
18
- OcrLine = Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrLine
19
- AdultInfo = Azure::CognitiveServices::ComputerVision::V1_0::Models::AdultInfo
20
- OcrRegion = Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrRegion
21
- ImageType = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageType
22
- OcrResult = Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrResult
23
- ImageCaption = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageCaption
24
- ModelDescription = Azure::CognitiveServices::ComputerVision::V1_0::Models::ModelDescription
25
- Line = Azure::CognitiveServices::ComputerVision::V1_0::Models::Line
26
- ListModelsResult = Azure::CognitiveServices::ComputerVision::V1_0::Models::ListModelsResult
27
- CelebritiesModel = Azure::CognitiveServices::ComputerVision::V1_0::Models::CelebritiesModel
28
- DomainModelResults = Azure::CognitiveServices::ComputerVision::V1_0::Models::DomainModelResults
29
- ColorInfo = Azure::CognitiveServices::ComputerVision::V1_0::Models::ColorInfo
30
- ImageDescription = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageDescription
31
- ImageMetadata = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageMetadata
32
- TagResult = Azure::CognitiveServices::ComputerVision::V1_0::Models::TagResult
33
- Category = Azure::CognitiveServices::ComputerVision::V1_0::Models::Category
34
- ComputerVisionError = Azure::CognitiveServices::ComputerVision::V1_0::Models::ComputerVisionError
35
- TextOperationResult = Azure::CognitiveServices::ComputerVision::V1_0::Models::TextOperationResult
36
- ImageUrl = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageUrl
37
- ImageTag = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageTag
38
- TextOperationStatusCodes = Azure::CognitiveServices::ComputerVision::V1_0::Models::TextOperationStatusCodes
39
- ComputerVisionErrorCodes = Azure::CognitiveServices::ComputerVision::V1_0::Models::ComputerVisionErrorCodes
40
- VisualFeatureTypes = Azure::CognitiveServices::ComputerVision::V1_0::Models::VisualFeatureTypes
41
- OcrLanguages = Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrLanguages
42
- AzureRegions = Azure::CognitiveServices::ComputerVision::V1_0::Models::AzureRegions
43
- Details = Azure::CognitiveServices::ComputerVision::V1_0::Models::Details
44
- Language1 = Azure::CognitiveServices::ComputerVision::V1_0::Models::Language1
45
- DomainModels = Azure::CognitiveServices::ComputerVision::V1_0::Models::DomainModels
10
+ FaceDescription = Azure::CognitiveServices::ComputerVision::V2_0::Models::FaceDescription
11
+ ImageMetadata = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageMetadata
12
+ Line = Azure::CognitiveServices::ComputerVision::V2_0::Models::Line
13
+ ImageAnalysis = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageAnalysis
14
+ TextOperationResult = Azure::CognitiveServices::ComputerVision::V2_0::Models::TextOperationResult
15
+ OcrWord = Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrWord
16
+ CelebritiesModel = Azure::CognitiveServices::ComputerVision::V2_0::Models::CelebritiesModel
17
+ OcrLine = Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrLine
18
+ CategoryDetail = Azure::CognitiveServices::ComputerVision::V2_0::Models::CategoryDetail
19
+ OcrRegion = Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrRegion
20
+ AdultInfo = Azure::CognitiveServices::ComputerVision::V2_0::Models::AdultInfo
21
+ OcrResult = Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrResult
22
+ ImageType = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageType
23
+ ModelDescription = Azure::CognitiveServices::ComputerVision::V2_0::Models::ModelDescription
24
+ ImageCaption = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageCaption
25
+ ListModelsResult = Azure::CognitiveServices::ComputerVision::V2_0::Models::ListModelsResult
26
+ Word = Azure::CognitiveServices::ComputerVision::V2_0::Models::Word
27
+ DomainModelResults = Azure::CognitiveServices::ComputerVision::V2_0::Models::DomainModelResults
28
+ FaceRectangle = Azure::CognitiveServices::ComputerVision::V2_0::Models::FaceRectangle
29
+ CelebrityResults = Azure::CognitiveServices::ComputerVision::V2_0::Models::CelebrityResults
30
+ Category = Azure::CognitiveServices::ComputerVision::V2_0::Models::Category
31
+ LandmarkResults = Azure::CognitiveServices::ComputerVision::V2_0::Models::LandmarkResults
32
+ ImageTag = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageTag
33
+ ImageDescription = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageDescription
34
+ RecognitionResult = Azure::CognitiveServices::ComputerVision::V2_0::Models::RecognitionResult
35
+ TagResult = Azure::CognitiveServices::ComputerVision::V2_0::Models::TagResult
36
+ ColorInfo = Azure::CognitiveServices::ComputerVision::V2_0::Models::ColorInfo
37
+ ComputerVisionError = Azure::CognitiveServices::ComputerVision::V2_0::Models::ComputerVisionError
38
+ LandmarksModel = Azure::CognitiveServices::ComputerVision::V2_0::Models::LandmarksModel
39
+ ImageUrl = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageUrl
40
+ ImageDescriptionDetails = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageDescriptionDetails
41
+ TextOperationStatusCodes = Azure::CognitiveServices::ComputerVision::V2_0::Models::TextOperationStatusCodes
42
+ Gender = Azure::CognitiveServices::ComputerVision::V2_0::Models::Gender
43
+ ComputerVisionErrorCodes = Azure::CognitiveServices::ComputerVision::V2_0::Models::ComputerVisionErrorCodes
44
+ VisualFeatureTypes = Azure::CognitiveServices::ComputerVision::V2_0::Models::VisualFeatureTypes
45
+ OcrLanguages = Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrLanguages
46
+ TextRecognitionMode = Azure::CognitiveServices::ComputerVision::V2_0::Models::TextRecognitionMode
47
+ Details = Azure::CognitiveServices::ComputerVision::V2_0::Models::Details
46
48
  end
47
49
 
48
50
  #
@@ -64,7 +66,7 @@ module Azure::ComputerVision::Profiles::Latest
64
66
  @base_url = options[:base_url].nil? ? nil:options[:base_url]
65
67
  @options = options[:options].nil? ? nil:options[:options]
66
68
 
67
- @client_0 = Azure::CognitiveServices::ComputerVision::V1_0::ComputerVisionClient.new(configurable.credentials, options)
69
+ @client_0 = Azure::CognitiveServices::ComputerVision::V2_0::ComputerVisionClient.new(configurable.credentials, options)
68
70
  if(@client_0.respond_to?(:subscription_id))
69
71
  @client_0.subscription_id = configurable.subscription_id
70
72
  end
@@ -89,113 +91,119 @@ module Azure::ComputerVision::Profiles::Latest
89
91
  end
90
92
 
91
93
  class ModelClasses
92
- def image_description_details
93
- Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageDescriptionDetails
94
- end
95
- def word
96
- Azure::CognitiveServices::ComputerVision::V1_0::Models::Word
97
- end
98
94
  def face_description
99
- Azure::CognitiveServices::ComputerVision::V1_0::Models::FaceDescription
95
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::FaceDescription
100
96
  end
101
- def recognition_result
102
- Azure::CognitiveServices::ComputerVision::V1_0::Models::RecognitionResult
97
+ def image_metadata
98
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageMetadata
99
+ end
100
+ def line
101
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::Line
103
102
  end
104
103
  def image_analysis
105
- Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageAnalysis
104
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageAnalysis
106
105
  end
107
- def face_rectangle
108
- Azure::CognitiveServices::ComputerVision::V1_0::Models::FaceRectangle
106
+ def text_operation_result
107
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::TextOperationResult
109
108
  end
110
109
  def ocr_word
111
- Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrWord
110
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrWord
112
111
  end
113
- def category_detail
114
- Azure::CognitiveServices::ComputerVision::V1_0::Models::CategoryDetail
112
+ def celebrities_model
113
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::CelebritiesModel
115
114
  end
116
115
  def ocr_line
117
- Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrLine
116
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrLine
118
117
  end
119
- def adult_info
120
- Azure::CognitiveServices::ComputerVision::V1_0::Models::AdultInfo
118
+ def category_detail
119
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::CategoryDetail
121
120
  end
122
121
  def ocr_region
123
- Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrRegion
122
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrRegion
124
123
  end
125
- def image_type
126
- Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageType
124
+ def adult_info
125
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::AdultInfo
127
126
  end
128
127
  def ocr_result
129
- Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrResult
128
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrResult
130
129
  end
131
- def image_caption
132
- Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageCaption
130
+ def image_type
131
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageType
133
132
  end
134
133
  def model_description
135
- Azure::CognitiveServices::ComputerVision::V1_0::Models::ModelDescription
134
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::ModelDescription
136
135
  end
137
- def line
138
- Azure::CognitiveServices::ComputerVision::V1_0::Models::Line
136
+ def image_caption
137
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageCaption
139
138
  end
140
139
  def list_models_result
141
- Azure::CognitiveServices::ComputerVision::V1_0::Models::ListModelsResult
140
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::ListModelsResult
142
141
  end
143
- def celebrities_model
144
- Azure::CognitiveServices::ComputerVision::V1_0::Models::CelebritiesModel
142
+ def word
143
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::Word
145
144
  end
146
145
  def domain_model_results
147
- Azure::CognitiveServices::ComputerVision::V1_0::Models::DomainModelResults
146
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::DomainModelResults
148
147
  end
149
- def color_info
150
- Azure::CognitiveServices::ComputerVision::V1_0::Models::ColorInfo
148
+ def face_rectangle
149
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::FaceRectangle
150
+ end
151
+ def celebrity_results
152
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::CelebrityResults
153
+ end
154
+ def category
155
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::Category
156
+ end
157
+ def landmark_results
158
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::LandmarkResults
159
+ end
160
+ def image_tag
161
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageTag
151
162
  end
152
163
  def image_description
153
- Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageDescription
164
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageDescription
154
165
  end
155
- def image_metadata
156
- Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageMetadata
166
+ def recognition_result
167
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::RecognitionResult
157
168
  end
158
169
  def tag_result
159
- Azure::CognitiveServices::ComputerVision::V1_0::Models::TagResult
170
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::TagResult
160
171
  end
161
- def category
162
- Azure::CognitiveServices::ComputerVision::V1_0::Models::Category
172
+ def color_info
173
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::ColorInfo
163
174
  end
164
175
  def computer_vision_error
165
- Azure::CognitiveServices::ComputerVision::V1_0::Models::ComputerVisionError
176
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::ComputerVisionError
166
177
  end
167
- def text_operation_result
168
- Azure::CognitiveServices::ComputerVision::V1_0::Models::TextOperationResult
178
+ def landmarks_model
179
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::LandmarksModel
169
180
  end
170
181
  def image_url
171
- Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageUrl
182
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageUrl
172
183
  end
173
- def image_tag
174
- Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageTag
184
+ def image_description_details
185
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageDescriptionDetails
175
186
  end
176
187
  def text_operation_status_codes
177
- Azure::CognitiveServices::ComputerVision::V1_0::Models::TextOperationStatusCodes
188
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::TextOperationStatusCodes
189
+ end
190
+ def gender
191
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::Gender
178
192
  end
179
193
  def computer_vision_error_codes
180
- Azure::CognitiveServices::ComputerVision::V1_0::Models::ComputerVisionErrorCodes
194
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::ComputerVisionErrorCodes
181
195
  end
182
196
  def visual_feature_types
183
- Azure::CognitiveServices::ComputerVision::V1_0::Models::VisualFeatureTypes
197
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::VisualFeatureTypes
184
198
  end
185
199
  def ocr_languages
186
- Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrLanguages
200
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrLanguages
187
201
  end
188
- def azure_regions
189
- Azure::CognitiveServices::ComputerVision::V1_0::Models::AzureRegions
202
+ def text_recognition_mode
203
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::TextRecognitionMode
190
204
  end
191
205
  def details
192
- Azure::CognitiveServices::ComputerVision::V1_0::Models::Details
193
- end
194
- def language1
195
- Azure::CognitiveServices::ComputerVision::V1_0::Models::Language1
196
- end
197
- def domain_models
198
- Azure::CognitiveServices::ComputerVision::V1_0::Models::DomainModels
206
+ Azure::CognitiveServices::ComputerVision::V2_0::Models::Details
199
207
  end
200
208
  end
201
209
  end
@@ -3,5 +3,5 @@
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
5
  module Azure::CognitiveServices::ComputerVision
6
- VERSION = '0.16.0'
6
+ VERSION = '0.17.0'
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_cognitiveservices_computervision
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-12 00:00:00.000000000 Z
11
+ date: 2018-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.10.0
75
+ version: 0.11.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.10.0
82
+ version: 0.11.0
83
83
  description: Microsoft Azure Cognitive Services Computer Vision Client Library for
84
84
  Ruby
85
85
  email: azrubyteam@microsoft.com
@@ -95,14 +95,15 @@ files:
95
95
  - lib/1.0/generated/azure_cognitiveservices_computervision/models/category.rb
96
96
  - lib/1.0/generated/azure_cognitiveservices_computervision/models/category_detail.rb
97
97
  - lib/1.0/generated/azure_cognitiveservices_computervision/models/celebrities_model.rb
98
+ - lib/1.0/generated/azure_cognitiveservices_computervision/models/celebrity_results.rb
98
99
  - lib/1.0/generated/azure_cognitiveservices_computervision/models/color_info.rb
99
100
  - lib/1.0/generated/azure_cognitiveservices_computervision/models/computer_vision_error.rb
100
101
  - lib/1.0/generated/azure_cognitiveservices_computervision/models/computer_vision_error_codes.rb
101
102
  - lib/1.0/generated/azure_cognitiveservices_computervision/models/details.rb
102
103
  - lib/1.0/generated/azure_cognitiveservices_computervision/models/domain_model_results.rb
103
- - lib/1.0/generated/azure_cognitiveservices_computervision/models/domain_models.rb
104
104
  - lib/1.0/generated/azure_cognitiveservices_computervision/models/face_description.rb
105
105
  - lib/1.0/generated/azure_cognitiveservices_computervision/models/face_rectangle.rb
106
+ - lib/1.0/generated/azure_cognitiveservices_computervision/models/gender.rb
106
107
  - lib/1.0/generated/azure_cognitiveservices_computervision/models/image_analysis.rb
107
108
  - lib/1.0/generated/azure_cognitiveservices_computervision/models/image_caption.rb
108
109
  - lib/1.0/generated/azure_cognitiveservices_computervision/models/image_description.rb
@@ -111,7 +112,8 @@ files:
111
112
  - lib/1.0/generated/azure_cognitiveservices_computervision/models/image_tag.rb
112
113
  - lib/1.0/generated/azure_cognitiveservices_computervision/models/image_type.rb
113
114
  - lib/1.0/generated/azure_cognitiveservices_computervision/models/image_url.rb
114
- - lib/1.0/generated/azure_cognitiveservices_computervision/models/language1.rb
115
+ - lib/1.0/generated/azure_cognitiveservices_computervision/models/landmark_results.rb
116
+ - lib/1.0/generated/azure_cognitiveservices_computervision/models/landmark_results_landmarks_item.rb
115
117
  - lib/1.0/generated/azure_cognitiveservices_computervision/models/line.rb
116
118
  - lib/1.0/generated/azure_cognitiveservices_computervision/models/list_models_result.rb
117
119
  - lib/1.0/generated/azure_cognitiveservices_computervision/models/model_description.rb
@@ -127,6 +129,47 @@ files:
127
129
  - lib/1.0/generated/azure_cognitiveservices_computervision/models/visual_feature_types.rb
128
130
  - lib/1.0/generated/azure_cognitiveservices_computervision/models/word.rb
129
131
  - lib/1.0/generated/azure_cognitiveservices_computervision/module_definition.rb
132
+ - lib/2.0/generated/azure_cognitiveservices_computervision.rb
133
+ - lib/2.0/generated/azure_cognitiveservices_computervision/computer_vision_client.rb
134
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/adult_info.rb
135
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/category.rb
136
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/category_detail.rb
137
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/celebrities_model.rb
138
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/celebrity_results.rb
139
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/color_info.rb
140
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/computer_vision_error.rb
141
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/computer_vision_error_codes.rb
142
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/details.rb
143
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/domain_model_results.rb
144
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/face_description.rb
145
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/face_rectangle.rb
146
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/gender.rb
147
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/image_analysis.rb
148
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/image_caption.rb
149
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/image_description.rb
150
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/image_description_details.rb
151
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/image_metadata.rb
152
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/image_tag.rb
153
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/image_type.rb
154
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/image_url.rb
155
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/landmark_results.rb
156
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/landmarks_model.rb
157
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/line.rb
158
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/list_models_result.rb
159
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/model_description.rb
160
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_languages.rb
161
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_line.rb
162
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_region.rb
163
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_result.rb
164
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/ocr_word.rb
165
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/recognition_result.rb
166
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/tag_result.rb
167
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/text_operation_result.rb
168
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/text_operation_status_codes.rb
169
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/text_recognition_mode.rb
170
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/visual_feature_types.rb
171
+ - lib/2.0/generated/azure_cognitiveservices_computervision/models/word.rb
172
+ - lib/2.0/generated/azure_cognitiveservices_computervision/module_definition.rb
130
173
  - lib/azure_cognitiveservices_computervision.rb
131
174
  - lib/module_definition.rb
132
175
  - lib/profiles/latest/computervision_latest_profile_client.rb