azure_cognitiveservices_computervision 0.20.0 → 0.20.1
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 +5 -5
- data/lib/1.0/generated/azure_cognitiveservices_computervision/computer_vision_client.rb +1 -1
- data/lib/2.0/generated/azure_cognitiveservices_computervision/computer_vision_client.rb +1 -1
- data/lib/2.1/generated/azure_cognitiveservices_computervision.rb +74 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/computer_vision_client.rb +3253 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/adult_info.rb +105 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/area_of_interest_result.rb +72 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/bounding_rect.rb +83 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/category.rb +69 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/category_detail.rb +77 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/celebrities_model.rb +70 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/celebrity_results.rb +79 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/color_info.rb +98 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/computer_vision_error.rb +69 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/description_exclude.rb +16 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/details.rb +16 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/detect_result.rb +79 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/detected_brand.rb +73 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/detected_object.rb +86 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/domain_model_results.rb +70 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/face_description.rb +72 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/face_rectangle.rb +83 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/gender.rb +16 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/image_analysis.rb +212 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/image_caption.rb +57 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/image_description.rb +99 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/image_description_details.rb +76 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/image_metadata.rb +68 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/image_tag.rb +68 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/image_type.rb +57 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/image_url.rb +47 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/landmark_results.rb +79 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/landmarks_model.rb +58 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/line.rb +85 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/list_models_result.rb +56 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/model_description.rb +65 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/object_hierarchy.rb +73 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/ocr_languages.rb +41 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/ocr_line.rb +72 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/ocr_region.rb +72 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/ocr_result.rb +105 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/ocr_word.rb +62 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/read_operation_result.rb +69 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/tag_result.rb +79 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/text_operation_result.rb +61 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/text_operation_status_codes.rb +18 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/text_recognition_mode.rb +16 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/text_recognition_result.rb +114 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/text_recognition_result_confidence_class.rb +16 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/text_recognition_result_dimension_unit.rb +16 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/visual_feature_types.rb +23 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/models/word.rb +78 -0
- data/lib/2.1/generated/azure_cognitiveservices_computervision/module_definition.rb +9 -0
- data/lib/azure_cognitiveservices_computervision.rb +1 -0
- data/lib/profiles/latest/modules/computervision_profile_module.rb +97 -93
- data/lib/version.rb +1 -1
- metadata +53 -3
@@ -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
|
data/lib/2.1/generated/azure_cognitiveservices_computervision/models/text_operation_status_codes.rb
ADDED
@@ -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
|
data/lib/2.1/generated/azure_cognitiveservices_computervision/models/text_recognition_result.rb
ADDED
@@ -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,52 +7,53 @@ require 'azure_cognitiveservices_computervision'
|
|
7
7
|
module Azure::ComputerVision::Profiles::Latest
|
8
8
|
|
9
9
|
module Models
|
10
|
-
DetectResult = Azure::CognitiveServices::ComputerVision::
|
11
|
-
FaceRectangle = Azure::CognitiveServices::ComputerVision::
|
12
|
-
ModelDescription = Azure::CognitiveServices::ComputerVision::
|
13
|
-
LandmarksModel = Azure::CognitiveServices::ComputerVision::
|
14
|
-
ListModelsResult = Azure::CognitiveServices::ComputerVision::
|
15
|
-
Category = Azure::CognitiveServices::ComputerVision::
|
16
|
-
DomainModelResults = Azure::CognitiveServices::ComputerVision::
|
17
|
-
ColorInfo = Azure::CognitiveServices::ComputerVision::
|
18
|
-
OcrWord = Azure::CognitiveServices::ComputerVision::
|
19
|
-
ImageTag = Azure::CognitiveServices::ComputerVision::
|
20
|
-
OcrLine = Azure::CognitiveServices::ComputerVision::
|
21
|
-
ImageDescriptionDetails = Azure::CognitiveServices::ComputerVision::
|
22
|
-
OcrRegion = Azure::CognitiveServices::ComputerVision::
|
23
|
-
BoundingRect = Azure::CognitiveServices::ComputerVision::
|
24
|
-
OcrResult = Azure::CognitiveServices::ComputerVision::
|
25
|
-
DetectedObject = Azure::CognitiveServices::ComputerVision::
|
26
|
-
TagResult = Azure::CognitiveServices::ComputerVision::
|
27
|
-
ImageMetadata = Azure::CognitiveServices::ComputerVision::
|
28
|
-
AreaOfInterestResult = Azure::CognitiveServices::ComputerVision::
|
29
|
-
ImageDescription = Azure::CognitiveServices::ComputerVision::
|
30
|
-
ImageUrl = Azure::CognitiveServices::ComputerVision::
|
31
|
-
CategoryDetail = Azure::CognitiveServices::ComputerVision::
|
32
|
-
ComputerVisionError = Azure::CognitiveServices::ComputerVision::
|
33
|
-
ImageType = Azure::CognitiveServices::ComputerVision::
|
34
|
-
LandmarkResults = Azure::CognitiveServices::ComputerVision::
|
35
|
-
FaceDescription = Azure::CognitiveServices::ComputerVision::
|
36
|
-
CelebrityResults = Azure::CognitiveServices::ComputerVision::
|
37
|
-
DetectedBrand = Azure::CognitiveServices::ComputerVision::
|
38
|
-
Word = Azure::CognitiveServices::ComputerVision::
|
39
|
-
CelebritiesModel = Azure::CognitiveServices::ComputerVision::
|
40
|
-
Line = Azure::CognitiveServices::ComputerVision::
|
41
|
-
ImageCaption = Azure::CognitiveServices::ComputerVision::
|
42
|
-
TextRecognitionResult = Azure::CognitiveServices::ComputerVision::
|
43
|
-
ImageAnalysis = Azure::CognitiveServices::ComputerVision::
|
44
|
-
TextOperationResult = Azure::CognitiveServices::ComputerVision::
|
45
|
-
ObjectHierarchy = Azure::CognitiveServices::ComputerVision::
|
46
|
-
ReadOperationResult = Azure::CognitiveServices::ComputerVision::
|
47
|
-
AdultInfo = Azure::CognitiveServices::ComputerVision::
|
48
|
-
Gender = Azure::CognitiveServices::ComputerVision::
|
49
|
-
TextOperationStatusCodes = Azure::CognitiveServices::ComputerVision::
|
50
|
-
TextRecognitionResultDimensionUnit = Azure::CognitiveServices::ComputerVision::
|
51
|
-
TextRecognitionResultConfidenceClass = Azure::CognitiveServices::ComputerVision::
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
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
|
56
57
|
end
|
57
58
|
|
58
59
|
#
|
@@ -74,7 +75,7 @@ module Azure::ComputerVision::Profiles::Latest
|
|
74
75
|
@base_url = options[:base_url].nil? ? nil:options[:base_url]
|
75
76
|
@options = options[:options].nil? ? nil:options[:options]
|
76
77
|
|
77
|
-
@client_0 = Azure::CognitiveServices::ComputerVision::
|
78
|
+
@client_0 = Azure::CognitiveServices::ComputerVision::V2_1::ComputerVisionClient.new(configurable.credentials, options)
|
78
79
|
if(@client_0.respond_to?(:subscription_id))
|
79
80
|
@client_0.subscription_id = configurable.subscription_id
|
80
81
|
end
|
@@ -100,142 +101,145 @@ module Azure::ComputerVision::Profiles::Latest
|
|
100
101
|
|
101
102
|
class ModelClasses
|
102
103
|
def detect_result
|
103
|
-
Azure::CognitiveServices::ComputerVision::
|
104
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::DetectResult
|
104
105
|
end
|
105
106
|
def face_rectangle
|
106
|
-
Azure::CognitiveServices::ComputerVision::
|
107
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::FaceRectangle
|
107
108
|
end
|
108
109
|
def model_description
|
109
|
-
Azure::CognitiveServices::ComputerVision::
|
110
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::ModelDescription
|
110
111
|
end
|
111
112
|
def landmarks_model
|
112
|
-
Azure::CognitiveServices::ComputerVision::
|
113
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::LandmarksModel
|
113
114
|
end
|
114
115
|
def list_models_result
|
115
|
-
Azure::CognitiveServices::ComputerVision::
|
116
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::ListModelsResult
|
116
117
|
end
|
117
118
|
def category
|
118
|
-
Azure::CognitiveServices::ComputerVision::
|
119
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::Category
|
119
120
|
end
|
120
121
|
def domain_model_results
|
121
|
-
Azure::CognitiveServices::ComputerVision::
|
122
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::DomainModelResults
|
122
123
|
end
|
123
124
|
def color_info
|
124
|
-
Azure::CognitiveServices::ComputerVision::
|
125
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::ColorInfo
|
125
126
|
end
|
126
127
|
def ocr_word
|
127
|
-
Azure::CognitiveServices::ComputerVision::
|
128
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::OcrWord
|
128
129
|
end
|
129
130
|
def image_tag
|
130
|
-
Azure::CognitiveServices::ComputerVision::
|
131
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageTag
|
131
132
|
end
|
132
133
|
def ocr_line
|
133
|
-
Azure::CognitiveServices::ComputerVision::
|
134
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::OcrLine
|
134
135
|
end
|
135
136
|
def image_description_details
|
136
|
-
Azure::CognitiveServices::ComputerVision::
|
137
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageDescriptionDetails
|
137
138
|
end
|
138
139
|
def ocr_region
|
139
|
-
Azure::CognitiveServices::ComputerVision::
|
140
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::OcrRegion
|
140
141
|
end
|
141
142
|
def bounding_rect
|
142
|
-
Azure::CognitiveServices::ComputerVision::
|
143
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::BoundingRect
|
143
144
|
end
|
144
145
|
def ocr_result
|
145
|
-
Azure::CognitiveServices::ComputerVision::
|
146
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::OcrResult
|
146
147
|
end
|
147
148
|
def detected_object
|
148
|
-
Azure::CognitiveServices::ComputerVision::
|
149
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::DetectedObject
|
149
150
|
end
|
150
151
|
def tag_result
|
151
|
-
Azure::CognitiveServices::ComputerVision::
|
152
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::TagResult
|
152
153
|
end
|
153
154
|
def image_metadata
|
154
|
-
Azure::CognitiveServices::ComputerVision::
|
155
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageMetadata
|
155
156
|
end
|
156
157
|
def area_of_interest_result
|
157
|
-
Azure::CognitiveServices::ComputerVision::
|
158
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::AreaOfInterestResult
|
158
159
|
end
|
159
160
|
def image_description
|
160
|
-
Azure::CognitiveServices::ComputerVision::
|
161
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageDescription
|
161
162
|
end
|
162
163
|
def image_url
|
163
|
-
Azure::CognitiveServices::ComputerVision::
|
164
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageUrl
|
164
165
|
end
|
165
166
|
def category_detail
|
166
|
-
Azure::CognitiveServices::ComputerVision::
|
167
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::CategoryDetail
|
167
168
|
end
|
168
169
|
def computer_vision_error
|
169
|
-
Azure::CognitiveServices::ComputerVision::
|
170
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::ComputerVisionError
|
170
171
|
end
|
171
172
|
def image_type
|
172
|
-
Azure::CognitiveServices::ComputerVision::
|
173
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageType
|
173
174
|
end
|
174
175
|
def landmark_results
|
175
|
-
Azure::CognitiveServices::ComputerVision::
|
176
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::LandmarkResults
|
176
177
|
end
|
177
178
|
def face_description
|
178
|
-
Azure::CognitiveServices::ComputerVision::
|
179
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::FaceDescription
|
179
180
|
end
|
180
181
|
def celebrity_results
|
181
|
-
Azure::CognitiveServices::ComputerVision::
|
182
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::CelebrityResults
|
182
183
|
end
|
183
184
|
def detected_brand
|
184
|
-
Azure::CognitiveServices::ComputerVision::
|
185
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::DetectedBrand
|
185
186
|
end
|
186
187
|
def word
|
187
|
-
Azure::CognitiveServices::ComputerVision::
|
188
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::Word
|
188
189
|
end
|
189
190
|
def celebrities_model
|
190
|
-
Azure::CognitiveServices::ComputerVision::
|
191
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::CelebritiesModel
|
191
192
|
end
|
192
193
|
def line
|
193
|
-
Azure::CognitiveServices::ComputerVision::
|
194
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::Line
|
194
195
|
end
|
195
196
|
def image_caption
|
196
|
-
Azure::CognitiveServices::ComputerVision::
|
197
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageCaption
|
197
198
|
end
|
198
199
|
def text_recognition_result
|
199
|
-
Azure::CognitiveServices::ComputerVision::
|
200
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::TextRecognitionResult
|
200
201
|
end
|
201
202
|
def image_analysis
|
202
|
-
Azure::CognitiveServices::ComputerVision::
|
203
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageAnalysis
|
203
204
|
end
|
204
205
|
def text_operation_result
|
205
|
-
Azure::CognitiveServices::ComputerVision::
|
206
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::TextOperationResult
|
206
207
|
end
|
207
208
|
def object_hierarchy
|
208
|
-
Azure::CognitiveServices::ComputerVision::
|
209
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::ObjectHierarchy
|
209
210
|
end
|
210
211
|
def read_operation_result
|
211
|
-
Azure::CognitiveServices::ComputerVision::
|
212
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::ReadOperationResult
|
212
213
|
end
|
213
214
|
def adult_info
|
214
|
-
Azure::CognitiveServices::ComputerVision::
|
215
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::AdultInfo
|
215
216
|
end
|
216
217
|
def gender
|
217
|
-
Azure::CognitiveServices::ComputerVision::
|
218
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::Gender
|
218
219
|
end
|
219
220
|
def text_operation_status_codes
|
220
|
-
Azure::CognitiveServices::ComputerVision::
|
221
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::TextOperationStatusCodes
|
221
222
|
end
|
222
223
|
def text_recognition_result_dimension_unit
|
223
|
-
Azure::CognitiveServices::ComputerVision::
|
224
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::TextRecognitionResultDimensionUnit
|
224
225
|
end
|
225
226
|
def text_recognition_result_confidence_class
|
226
|
-
Azure::CognitiveServices::ComputerVision::
|
227
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::TextRecognitionResultConfidenceClass
|
228
|
+
end
|
229
|
+
def description_exclude
|
230
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::DescriptionExclude
|
227
231
|
end
|
228
232
|
def ocr_languages
|
229
|
-
Azure::CognitiveServices::ComputerVision::
|
233
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::OcrLanguages
|
230
234
|
end
|
231
235
|
def visual_feature_types
|
232
|
-
Azure::CognitiveServices::ComputerVision::
|
236
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::VisualFeatureTypes
|
233
237
|
end
|
234
238
|
def text_recognition_mode
|
235
|
-
Azure::CognitiveServices::ComputerVision::
|
239
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::TextRecognitionMode
|
236
240
|
end
|
237
241
|
def details
|
238
|
-
Azure::CognitiveServices::ComputerVision::
|
242
|
+
Azure::CognitiveServices::ComputerVision::V2_1::Models::Details
|
239
243
|
end
|
240
244
|
end
|
241
245
|
end
|