class Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1DetectedLandmark
A generic detected landmark represented by name in string format and a 2D location.
Attributes
confidence[RW]
The confidence score of the detected landmark. Range [0, 1]. Corresponds to the JSON property `confidence` @return [Float]
name[RW]
The name of this landmark, for example, left_hand, right_shoulder. Corresponds to the JSON property `name` @return [String]
point[RW]
A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1. Corresponds to the JSON property `point` @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1NormalizedVertex]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/videointelligence_v1p2beta1/classes.rb, line 121 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/videointelligence_v1p2beta1/classes.rb, line 126 def update!(**args) @confidence = args[:confidence] if args.key?(:confidence) @name = args[:name] if args.key?(:name) @point = args[:point] if args.key?(:point) end