azure_cognitiveservices_computervision 0.18.0 → 0.20.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +5 -5
  2. data/lib/1.0/generated/azure_cognitiveservices_computervision/computer_vision_client.rb +33 -1
  3. data/lib/2.0/generated/azure_cognitiveservices_computervision.rb +15 -11
  4. data/lib/2.0/generated/azure_cognitiveservices_computervision/computer_vision_client.rb +365 -7
  5. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/detected_brand.rb +73 -0
  6. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/image_analysis.rb +20 -0
  7. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/line.rb +6 -7
  8. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/read_operation_result.rb +69 -0
  9. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/text_operation_result.rb +5 -6
  10. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/text_operation_status_codes.rb +1 -1
  11. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/text_recognition_result.rb +114 -0
  12. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/text_recognition_result_confidence_class.rb +16 -0
  13. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/text_recognition_result_dimension_unit.rb +16 -0
  14. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/visual_feature_types.rb +1 -0
  15. data/lib/2.0/generated/azure_cognitiveservices_computervision/models/word.rb +20 -8
  16. data/lib/2.1/generated/azure_cognitiveservices_computervision.rb +74 -0
  17. data/lib/2.1/generated/azure_cognitiveservices_computervision/computer_vision_client.rb +3253 -0
  18. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/adult_info.rb +105 -0
  19. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/area_of_interest_result.rb +72 -0
  20. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/bounding_rect.rb +83 -0
  21. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/category.rb +69 -0
  22. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/category_detail.rb +77 -0
  23. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/celebrities_model.rb +70 -0
  24. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/celebrity_results.rb +79 -0
  25. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/color_info.rb +98 -0
  26. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/computer_vision_error.rb +69 -0
  27. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/description_exclude.rb +16 -0
  28. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/details.rb +16 -0
  29. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/detect_result.rb +79 -0
  30. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/detected_brand.rb +73 -0
  31. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/detected_object.rb +86 -0
  32. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/domain_model_results.rb +70 -0
  33. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/face_description.rb +72 -0
  34. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/face_rectangle.rb +83 -0
  35. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/gender.rb +16 -0
  36. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/image_analysis.rb +212 -0
  37. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/image_caption.rb +57 -0
  38. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/image_description.rb +99 -0
  39. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/image_description_details.rb +76 -0
  40. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/image_metadata.rb +68 -0
  41. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/image_tag.rb +68 -0
  42. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/image_type.rb +57 -0
  43. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/image_url.rb +47 -0
  44. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/landmark_results.rb +79 -0
  45. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/landmarks_model.rb +58 -0
  46. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/line.rb +85 -0
  47. data/lib/{2.0/generated/azure_cognitiveservices_computervision/models/recognition_result.rb → 2.1/generated/azure_cognitiveservices_computervision/models/list_models_result.rb} +13 -13
  48. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/model_description.rb +65 -0
  49. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/object_hierarchy.rb +73 -0
  50. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/ocr_languages.rb +41 -0
  51. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/ocr_line.rb +72 -0
  52. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/ocr_region.rb +72 -0
  53. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/ocr_result.rb +105 -0
  54. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/ocr_word.rb +62 -0
  55. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/read_operation_result.rb +69 -0
  56. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/tag_result.rb +79 -0
  57. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/text_operation_result.rb +61 -0
  58. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/text_operation_status_codes.rb +18 -0
  59. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/text_recognition_mode.rb +16 -0
  60. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/text_recognition_result.rb +114 -0
  61. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/text_recognition_result_confidence_class.rb +16 -0
  62. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/text_recognition_result_dimension_unit.rb +16 -0
  63. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/visual_feature_types.rb +23 -0
  64. data/lib/2.1/generated/azure_cognitiveservices_computervision/models/word.rb +78 -0
  65. data/lib/2.1/generated/azure_cognitiveservices_computervision/module_definition.rb +9 -0
  66. data/lib/azure_cognitiveservices_computervision.rb +1 -0
  67. data/lib/profiles/latest/modules/computervision_profile_module.rb +116 -96
  68. data/lib/version.rb +1 -1
  69. metadata +60 -6
@@ -0,0 +1,61 @@
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_1
7
+ module Models
8
+ #
9
+ # Result of recognition text operation.
10
+ #
11
+ class TextOperationResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [TextOperationStatusCodes] Status of the text operation.
16
+ # Possible values include: 'NotStarted', 'Running', 'Failed', 'Succeeded'
17
+ attr_accessor :status
18
+
19
+ # @return [TextRecognitionResult] Text recognition result of the text
20
+ # operation.
21
+ attr_accessor :recognition_result
22
+
23
+
24
+ #
25
+ # Mapper for TextOperationResult class as Ruby Hash.
26
+ # This will be used for serialization/deserialization.
27
+ #
28
+ def self.mapper()
29
+ {
30
+ client_side_validation: true,
31
+ required: false,
32
+ serialized_name: 'TextOperationResult',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'TextOperationResult',
36
+ model_properties: {
37
+ status: {
38
+ client_side_validation: true,
39
+ required: false,
40
+ serialized_name: 'status',
41
+ type: {
42
+ name: 'Enum',
43
+ module: 'TextOperationStatusCodes'
44
+ }
45
+ },
46
+ recognition_result: {
47
+ client_side_validation: true,
48
+ required: false,
49
+ serialized_name: 'recognitionResult',
50
+ type: {
51
+ name: 'Composite',
52
+ class_name: 'TextRecognitionResult'
53
+ }
54
+ }
55
+ }
56
+ }
57
+ }
58
+ end
59
+ end
60
+ end
61
+ end
@@ -0,0 +1,18 @@
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_1
7
+ module Models
8
+ #
9
+ # Defines values for TextOperationStatusCodes
10
+ #
11
+ module TextOperationStatusCodes
12
+ NotStarted = "NotStarted"
13
+ Running = "Running"
14
+ Failed = "Failed"
15
+ Succeeded = "Succeeded"
16
+ end
17
+ end
18
+ end
@@ -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_1
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,114 @@
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_1
7
+ module Models
8
+ #
9
+ # An object representing a recognized text region
10
+ #
11
+ class TextRecognitionResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Integer] The 1-based page number of the recognition result.
16
+ attr_accessor :page
17
+
18
+ # @return [Float] The orientation of the image in degrees in the
19
+ # clockwise direction. Range between [0, 360).
20
+ attr_accessor :clockwise_orientation
21
+
22
+ # @return [Float] The width of the image in pixels or the PDF in inches.
23
+ attr_accessor :width
24
+
25
+ # @return [Float] The height of the image in pixels or the PDF in inches.
26
+ attr_accessor :height
27
+
28
+ # @return [TextRecognitionResultDimensionUnit] The unit used in the
29
+ # Width, Height and BoundingBox. For images, the unit is 'pixel'. For
30
+ # PDF, the unit is 'inch'. Possible values include: 'pixel', 'inch'
31
+ attr_accessor :unit
32
+
33
+ # @return [Array<Line>] A list of recognized text lines.
34
+ attr_accessor :lines
35
+
36
+
37
+ #
38
+ # Mapper for TextRecognitionResult class as Ruby Hash.
39
+ # This will be used for serialization/deserialization.
40
+ #
41
+ def self.mapper()
42
+ {
43
+ client_side_validation: true,
44
+ required: false,
45
+ serialized_name: 'TextRecognitionResult',
46
+ type: {
47
+ name: 'Composite',
48
+ class_name: 'TextRecognitionResult',
49
+ model_properties: {
50
+ page: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ serialized_name: 'page',
54
+ type: {
55
+ name: 'Number'
56
+ }
57
+ },
58
+ clockwise_orientation: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ serialized_name: 'clockwiseOrientation',
62
+ type: {
63
+ name: 'Double'
64
+ }
65
+ },
66
+ width: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ serialized_name: 'width',
70
+ type: {
71
+ name: 'Double'
72
+ }
73
+ },
74
+ height: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ serialized_name: 'height',
78
+ type: {
79
+ name: 'Double'
80
+ }
81
+ },
82
+ unit: {
83
+ client_side_validation: true,
84
+ required: false,
85
+ serialized_name: 'unit',
86
+ type: {
87
+ name: 'Enum',
88
+ module: 'TextRecognitionResultDimensionUnit'
89
+ }
90
+ },
91
+ lines: {
92
+ client_side_validation: true,
93
+ required: true,
94
+ serialized_name: 'lines',
95
+ type: {
96
+ name: 'Sequence',
97
+ element: {
98
+ client_side_validation: true,
99
+ required: false,
100
+ serialized_name: 'LineElementType',
101
+ type: {
102
+ name: 'Composite',
103
+ class_name: 'Line'
104
+ }
105
+ }
106
+ }
107
+ }
108
+ }
109
+ }
110
+ }
111
+ end
112
+ end
113
+ end
114
+ end
@@ -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_1
7
+ module Models
8
+ #
9
+ # Defines values for TextRecognitionResultConfidenceClass
10
+ #
11
+ module TextRecognitionResultConfidenceClass
12
+ High = "High"
13
+ Low = "Low"
14
+ end
15
+ end
16
+ end
@@ -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_1
7
+ module Models
8
+ #
9
+ # Defines values for TextRecognitionResultDimensionUnit
10
+ #
11
+ module TextRecognitionResultDimensionUnit
12
+ Pixel = "pixel"
13
+ Inch = "inch"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,23 @@
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_1
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
+ Objects = "Objects"
20
+ Brands = "Brands"
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,78 @@
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_1
7
+ module Models
8
+ #
9
+ # An object representing a recognized word.
10
+ #
11
+ class Word
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<Float>] Bounding box of a recognized word.
16
+ attr_accessor :bounding_box
17
+
18
+ # @return [String] The text content of the word.
19
+ attr_accessor :text
20
+
21
+ # @return [TextRecognitionResultConfidenceClass] Qualitative confidence
22
+ # measure. Possible values include: 'High', 'Low'
23
+ attr_accessor :confidence
24
+
25
+
26
+ #
27
+ # Mapper for Word class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ client_side_validation: true,
33
+ required: false,
34
+ serialized_name: 'Word',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'Word',
38
+ model_properties: {
39
+ bounding_box: {
40
+ client_side_validation: true,
41
+ required: true,
42
+ serialized_name: 'boundingBox',
43
+ type: {
44
+ name: 'Sequence',
45
+ element: {
46
+ client_side_validation: true,
47
+ required: false,
48
+ serialized_name: 'FloatElementType',
49
+ type: {
50
+ name: 'Double'
51
+ }
52
+ }
53
+ }
54
+ },
55
+ text: {
56
+ client_side_validation: true,
57
+ required: true,
58
+ serialized_name: 'text',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ },
63
+ confidence: {
64
+ client_side_validation: true,
65
+ required: false,
66
+ serialized_name: 'confidence',
67
+ type: {
68
+ name: 'Enum',
69
+ module: 'TextRecognitionResultConfidenceClass'
70
+ }
71
+ }
72
+ }
73
+ }
74
+ }
75
+ end
76
+ end
77
+ end
78
+ 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_1 end
@@ -3,5 +3,6 @@
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.1/generated/azure_cognitiveservices_computervision'
6
7
  require '2.0/generated/azure_cognitiveservices_computervision'
7
8
  require 'profiles/latest/computervision_latest_profile_client'
@@ -7,48 +7,53 @@ require 'azure_cognitiveservices_computervision'
7
7
  module Azure::ComputerVision::Profiles::Latest
8
8
 
9
9
  module Models
10
- DetectResult = Azure::CognitiveServices::ComputerVision::V2_0::Models::DetectResult
11
- FaceRectangle = Azure::CognitiveServices::ComputerVision::V2_0::Models::FaceRectangle
12
- ModelDescription = Azure::CognitiveServices::ComputerVision::V2_0::Models::ModelDescription
13
- LandmarksModel = Azure::CognitiveServices::ComputerVision::V2_0::Models::LandmarksModel
14
- ListModelsResult = Azure::CognitiveServices::ComputerVision::V2_0::Models::ListModelsResult
15
- Category = Azure::CognitiveServices::ComputerVision::V2_0::Models::Category
16
- DomainModelResults = Azure::CognitiveServices::ComputerVision::V2_0::Models::DomainModelResults
17
- ColorInfo = Azure::CognitiveServices::ComputerVision::V2_0::Models::ColorInfo
18
- OcrWord = Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrWord
19
- ImageTag = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageTag
20
- OcrLine = Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrLine
21
- ImageDescriptionDetails = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageDescriptionDetails
22
- OcrRegion = Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrRegion
23
- BoundingRect = Azure::CognitiveServices::ComputerVision::V2_0::Models::BoundingRect
24
- OcrResult = Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrResult
25
- DetectedObject = Azure::CognitiveServices::ComputerVision::V2_0::Models::DetectedObject
26
- TagResult = Azure::CognitiveServices::ComputerVision::V2_0::Models::TagResult
27
- ImageAnalysis = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageAnalysis
28
- AreaOfInterestResult = Azure::CognitiveServices::ComputerVision::V2_0::Models::AreaOfInterestResult
29
- CelebritiesModel = Azure::CognitiveServices::ComputerVision::V2_0::Models::CelebritiesModel
30
- ImageUrl = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageUrl
31
- AdultInfo = Azure::CognitiveServices::ComputerVision::V2_0::Models::AdultInfo
32
- ComputerVisionError = Azure::CognitiveServices::ComputerVision::V2_0::Models::ComputerVisionError
33
- ImageCaption = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageCaption
34
- LandmarkResults = Azure::CognitiveServices::ComputerVision::V2_0::Models::LandmarkResults
35
- ObjectHierarchy = Azure::CognitiveServices::ComputerVision::V2_0::Models::ObjectHierarchy
36
- CelebrityResults = Azure::CognitiveServices::ComputerVision::V2_0::Models::CelebrityResults
37
- ImageDescription = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageDescription
38
- Word = Azure::CognitiveServices::ComputerVision::V2_0::Models::Word
39
- ImageType = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageType
40
- Line = Azure::CognitiveServices::ComputerVision::V2_0::Models::Line
41
- ImageMetadata = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageMetadata
42
- RecognitionResult = Azure::CognitiveServices::ComputerVision::V2_0::Models::RecognitionResult
43
- FaceDescription = Azure::CognitiveServices::ComputerVision::V2_0::Models::FaceDescription
44
- TextOperationResult = Azure::CognitiveServices::ComputerVision::V2_0::Models::TextOperationResult
45
- CategoryDetail = Azure::CognitiveServices::ComputerVision::V2_0::Models::CategoryDetail
46
- Gender = Azure::CognitiveServices::ComputerVision::V2_0::Models::Gender
47
- TextOperationStatusCodes = Azure::CognitiveServices::ComputerVision::V2_0::Models::TextOperationStatusCodes
48
- OcrLanguages = Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrLanguages
49
- VisualFeatureTypes = Azure::CognitiveServices::ComputerVision::V2_0::Models::VisualFeatureTypes
50
- TextRecognitionMode = Azure::CognitiveServices::ComputerVision::V2_0::Models::TextRecognitionMode
51
- Details = Azure::CognitiveServices::ComputerVision::V2_0::Models::Details
10
+ DetectResult = Azure::CognitiveServices::ComputerVision::V2_1::Models::DetectResult
11
+ FaceRectangle = Azure::CognitiveServices::ComputerVision::V2_1::Models::FaceRectangle
12
+ ModelDescription = Azure::CognitiveServices::ComputerVision::V2_1::Models::ModelDescription
13
+ LandmarksModel = Azure::CognitiveServices::ComputerVision::V2_1::Models::LandmarksModel
14
+ ListModelsResult = Azure::CognitiveServices::ComputerVision::V2_1::Models::ListModelsResult
15
+ Category = Azure::CognitiveServices::ComputerVision::V2_1::Models::Category
16
+ DomainModelResults = Azure::CognitiveServices::ComputerVision::V2_1::Models::DomainModelResults
17
+ ColorInfo = Azure::CognitiveServices::ComputerVision::V2_1::Models::ColorInfo
18
+ OcrWord = Azure::CognitiveServices::ComputerVision::V2_1::Models::OcrWord
19
+ ImageTag = Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageTag
20
+ OcrLine = Azure::CognitiveServices::ComputerVision::V2_1::Models::OcrLine
21
+ ImageDescriptionDetails = Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageDescriptionDetails
22
+ OcrRegion = Azure::CognitiveServices::ComputerVision::V2_1::Models::OcrRegion
23
+ BoundingRect = Azure::CognitiveServices::ComputerVision::V2_1::Models::BoundingRect
24
+ OcrResult = Azure::CognitiveServices::ComputerVision::V2_1::Models::OcrResult
25
+ DetectedObject = Azure::CognitiveServices::ComputerVision::V2_1::Models::DetectedObject
26
+ TagResult = Azure::CognitiveServices::ComputerVision::V2_1::Models::TagResult
27
+ ImageMetadata = Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageMetadata
28
+ AreaOfInterestResult = Azure::CognitiveServices::ComputerVision::V2_1::Models::AreaOfInterestResult
29
+ ImageDescription = Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageDescription
30
+ ImageUrl = Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageUrl
31
+ CategoryDetail = Azure::CognitiveServices::ComputerVision::V2_1::Models::CategoryDetail
32
+ ComputerVisionError = Azure::CognitiveServices::ComputerVision::V2_1::Models::ComputerVisionError
33
+ ImageType = Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageType
34
+ LandmarkResults = Azure::CognitiveServices::ComputerVision::V2_1::Models::LandmarkResults
35
+ FaceDescription = Azure::CognitiveServices::ComputerVision::V2_1::Models::FaceDescription
36
+ CelebrityResults = Azure::CognitiveServices::ComputerVision::V2_1::Models::CelebrityResults
37
+ DetectedBrand = Azure::CognitiveServices::ComputerVision::V2_1::Models::DetectedBrand
38
+ Word = Azure::CognitiveServices::ComputerVision::V2_1::Models::Word
39
+ CelebritiesModel = Azure::CognitiveServices::ComputerVision::V2_1::Models::CelebritiesModel
40
+ Line = Azure::CognitiveServices::ComputerVision::V2_1::Models::Line
41
+ ImageCaption = Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageCaption
42
+ TextRecognitionResult = Azure::CognitiveServices::ComputerVision::V2_1::Models::TextRecognitionResult
43
+ ImageAnalysis = Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageAnalysis
44
+ TextOperationResult = Azure::CognitiveServices::ComputerVision::V2_1::Models::TextOperationResult
45
+ ObjectHierarchy = Azure::CognitiveServices::ComputerVision::V2_1::Models::ObjectHierarchy
46
+ ReadOperationResult = Azure::CognitiveServices::ComputerVision::V2_1::Models::ReadOperationResult
47
+ AdultInfo = Azure::CognitiveServices::ComputerVision::V2_1::Models::AdultInfo
48
+ Gender = Azure::CognitiveServices::ComputerVision::V2_1::Models::Gender
49
+ TextOperationStatusCodes = Azure::CognitiveServices::ComputerVision::V2_1::Models::TextOperationStatusCodes
50
+ TextRecognitionResultDimensionUnit = Azure::CognitiveServices::ComputerVision::V2_1::Models::TextRecognitionResultDimensionUnit
51
+ TextRecognitionResultConfidenceClass = Azure::CognitiveServices::ComputerVision::V2_1::Models::TextRecognitionResultConfidenceClass
52
+ DescriptionExclude = Azure::CognitiveServices::ComputerVision::V2_1::Models::DescriptionExclude
53
+ OcrLanguages = Azure::CognitiveServices::ComputerVision::V2_1::Models::OcrLanguages
54
+ VisualFeatureTypes = Azure::CognitiveServices::ComputerVision::V2_1::Models::VisualFeatureTypes
55
+ TextRecognitionMode = Azure::CognitiveServices::ComputerVision::V2_1::Models::TextRecognitionMode
56
+ Details = Azure::CognitiveServices::ComputerVision::V2_1::Models::Details
52
57
  end
53
58
 
54
59
  #
@@ -70,7 +75,7 @@ module Azure::ComputerVision::Profiles::Latest
70
75
  @base_url = options[:base_url].nil? ? nil:options[:base_url]
71
76
  @options = options[:options].nil? ? nil:options[:options]
72
77
 
73
- @client_0 = Azure::CognitiveServices::ComputerVision::V2_0::ComputerVisionClient.new(configurable.credentials, options)
78
+ @client_0 = Azure::CognitiveServices::ComputerVision::V2_1::ComputerVisionClient.new(configurable.credentials, options)
74
79
  if(@client_0.respond_to?(:subscription_id))
75
80
  @client_0.subscription_id = configurable.subscription_id
76
81
  end
@@ -96,130 +101,145 @@ module Azure::ComputerVision::Profiles::Latest
96
101
 
97
102
  class ModelClasses
98
103
  def detect_result
99
- Azure::CognitiveServices::ComputerVision::V2_0::Models::DetectResult
104
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::DetectResult
100
105
  end
101
106
  def face_rectangle
102
- Azure::CognitiveServices::ComputerVision::V2_0::Models::FaceRectangle
107
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::FaceRectangle
103
108
  end
104
109
  def model_description
105
- Azure::CognitiveServices::ComputerVision::V2_0::Models::ModelDescription
110
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::ModelDescription
106
111
  end
107
112
  def landmarks_model
108
- Azure::CognitiveServices::ComputerVision::V2_0::Models::LandmarksModel
113
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::LandmarksModel
109
114
  end
110
115
  def list_models_result
111
- Azure::CognitiveServices::ComputerVision::V2_0::Models::ListModelsResult
116
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::ListModelsResult
112
117
  end
113
118
  def category
114
- Azure::CognitiveServices::ComputerVision::V2_0::Models::Category
119
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::Category
115
120
  end
116
121
  def domain_model_results
117
- Azure::CognitiveServices::ComputerVision::V2_0::Models::DomainModelResults
122
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::DomainModelResults
118
123
  end
119
124
  def color_info
120
- Azure::CognitiveServices::ComputerVision::V2_0::Models::ColorInfo
125
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::ColorInfo
121
126
  end
122
127
  def ocr_word
123
- Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrWord
128
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::OcrWord
124
129
  end
125
130
  def image_tag
126
- Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageTag
131
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageTag
127
132
  end
128
133
  def ocr_line
129
- Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrLine
134
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::OcrLine
130
135
  end
131
136
  def image_description_details
132
- Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageDescriptionDetails
137
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageDescriptionDetails
133
138
  end
134
139
  def ocr_region
135
- Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrRegion
140
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::OcrRegion
136
141
  end
137
142
  def bounding_rect
138
- Azure::CognitiveServices::ComputerVision::V2_0::Models::BoundingRect
143
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::BoundingRect
139
144
  end
140
145
  def ocr_result
141
- Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrResult
146
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::OcrResult
142
147
  end
143
148
  def detected_object
144
- Azure::CognitiveServices::ComputerVision::V2_0::Models::DetectedObject
149
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::DetectedObject
145
150
  end
146
151
  def tag_result
147
- Azure::CognitiveServices::ComputerVision::V2_0::Models::TagResult
152
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::TagResult
148
153
  end
149
- def image_analysis
150
- Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageAnalysis
154
+ def image_metadata
155
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageMetadata
151
156
  end
152
157
  def area_of_interest_result
153
- Azure::CognitiveServices::ComputerVision::V2_0::Models::AreaOfInterestResult
158
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::AreaOfInterestResult
154
159
  end
155
- def celebrities_model
156
- Azure::CognitiveServices::ComputerVision::V2_0::Models::CelebritiesModel
160
+ def image_description
161
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageDescription
157
162
  end
158
163
  def image_url
159
- Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageUrl
164
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageUrl
160
165
  end
161
- def adult_info
162
- Azure::CognitiveServices::ComputerVision::V2_0::Models::AdultInfo
166
+ def category_detail
167
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::CategoryDetail
163
168
  end
164
169
  def computer_vision_error
165
- Azure::CognitiveServices::ComputerVision::V2_0::Models::ComputerVisionError
170
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::ComputerVisionError
166
171
  end
167
- def image_caption
168
- Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageCaption
172
+ def image_type
173
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageType
169
174
  end
170
175
  def landmark_results
171
- Azure::CognitiveServices::ComputerVision::V2_0::Models::LandmarkResults
176
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::LandmarkResults
172
177
  end
173
- def object_hierarchy
174
- Azure::CognitiveServices::ComputerVision::V2_0::Models::ObjectHierarchy
178
+ def face_description
179
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::FaceDescription
175
180
  end
176
181
  def celebrity_results
177
- Azure::CognitiveServices::ComputerVision::V2_0::Models::CelebrityResults
182
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::CelebrityResults
178
183
  end
179
- def image_description
180
- Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageDescription
184
+ def detected_brand
185
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::DetectedBrand
181
186
  end
182
187
  def word
183
- Azure::CognitiveServices::ComputerVision::V2_0::Models::Word
188
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::Word
184
189
  end
185
- def image_type
186
- Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageType
190
+ def celebrities_model
191
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::CelebritiesModel
187
192
  end
188
193
  def line
189
- Azure::CognitiveServices::ComputerVision::V2_0::Models::Line
194
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::Line
190
195
  end
191
- def image_metadata
192
- Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageMetadata
196
+ def image_caption
197
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageCaption
193
198
  end
194
- def recognition_result
195
- Azure::CognitiveServices::ComputerVision::V2_0::Models::RecognitionResult
199
+ def text_recognition_result
200
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::TextRecognitionResult
196
201
  end
197
- def face_description
198
- Azure::CognitiveServices::ComputerVision::V2_0::Models::FaceDescription
202
+ def image_analysis
203
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageAnalysis
199
204
  end
200
205
  def text_operation_result
201
- Azure::CognitiveServices::ComputerVision::V2_0::Models::TextOperationResult
206
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::TextOperationResult
202
207
  end
203
- def category_detail
204
- Azure::CognitiveServices::ComputerVision::V2_0::Models::CategoryDetail
208
+ def object_hierarchy
209
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::ObjectHierarchy
210
+ end
211
+ def read_operation_result
212
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::ReadOperationResult
213
+ end
214
+ def adult_info
215
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::AdultInfo
205
216
  end
206
217
  def gender
207
- Azure::CognitiveServices::ComputerVision::V2_0::Models::Gender
218
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::Gender
208
219
  end
209
220
  def text_operation_status_codes
210
- Azure::CognitiveServices::ComputerVision::V2_0::Models::TextOperationStatusCodes
221
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::TextOperationStatusCodes
222
+ end
223
+ def text_recognition_result_dimension_unit
224
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::TextRecognitionResultDimensionUnit
225
+ end
226
+ def text_recognition_result_confidence_class
227
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::TextRecognitionResultConfidenceClass
228
+ end
229
+ def description_exclude
230
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::DescriptionExclude
211
231
  end
212
232
  def ocr_languages
213
- Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrLanguages
233
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::OcrLanguages
214
234
  end
215
235
  def visual_feature_types
216
- Azure::CognitiveServices::ComputerVision::V2_0::Models::VisualFeatureTypes
236
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::VisualFeatureTypes
217
237
  end
218
238
  def text_recognition_mode
219
- Azure::CognitiveServices::ComputerVision::V2_0::Models::TextRecognitionMode
239
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::TextRecognitionMode
220
240
  end
221
241
  def details
222
- Azure::CognitiveServices::ComputerVision::V2_0::Models::Details
242
+ Azure::CognitiveServices::ComputerVision::V2_1::Models::Details
223
243
  end
224
244
  end
225
245
  end