class Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox

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_v1/classes.rb, line 5617
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_v1/classes.rb, line 5622
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