class Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1DetectedLandmark

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::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1NormalizedVertex]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/videointelligence_v1beta2/classes.rb, line 5256
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_v1beta2/classes.rb, line 5261
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