class Azure::CognitiveServices::ComputerVision::V2_1::Models::LandmarksModel
A landmark recognized in the image.
Attributes
confidence[RW]
@return [Float] Confidence level for the landmark recognition as a value ranging from 0 to 1.
name[RW]
@return [String] Name of the landmark.
Private Class Methods
mapper()
click to toggle source
Mapper for LandmarksModel
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2.1/generated/azure_cognitiveservices_computervision/models/landmarks_model.rb, line 27 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'LandmarksModel', type: { name: 'Composite', class_name: 'LandmarksModel', model_properties: { name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, confidence: { client_side_validation: true, required: false, serialized_name: 'confidence', type: { name: 'Double' } } } } } end