class Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1NormalizedVertex
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.
Attributes
x[RW]
X coordinate. Corresponds to the JSON property `x` @return [Float]
y[RW]
Y coordinate. Corresponds to the JSON property `y` @return [Float]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/videointelligence_v1p2beta1/classes.rb, line 4145 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 4150 def update!(**args) @x = args[:x] if args.key?(:x) @y = args[:y] if args.key?(:y) end