class Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox
Normalized bounding box. The normalized vertex coordinates are relative to the original image. Range: [0, 1].
Attributes
bottom[RW]
Bottom Y coordinate. Corresponds to the JSON property `bottom` @return [Float]
left[RW]
Left X coordinate. Corresponds to the JSON property `left` @return [Float]
right[RW]
Right X coordinate. Corresponds to the JSON property `right` @return [Float]
top[RW]
Top Y coordinate. Corresponds to the JSON property `top` @return [Float]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/videointelligence_v1p1beta1/classes.rb, line 1626 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_v1p1beta1/classes.rb, line 1631 def update!(**args) @bottom = args[:bottom] if args.key?(:bottom) @left = args[:left] if args.key?(:left) @right = args[:right] if args.key?(:right) @top = args[:top] if args.key?(:top) end