class Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageType
An object providing possible image types and matching confidence levels.
Attributes
clip_art_type[RW]
@return [Float] Confidence level that the image is a clip art.
line_drawing_type[RW]
@return [Float] Confidence level that the image is a line drawing.
Public Class Methods
mapper()
click to toggle source
Mapper for ImageType
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/1.0/generated/azure_cognitiveservices_computervision/models/image_type.rb, line 26 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ImageType', type: { name: 'Composite', class_name: 'ImageType', model_properties: { clip_art_type: { client_side_validation: true, required: false, serialized_name: 'clipArtType', type: { name: 'Double' } }, line_drawing_type: { client_side_validation: true, required: false, serialized_name: 'lineDrawingType', type: { name: 'Double' } } } } } end