Vision AI V1 API - Class Google::Cloud::VisionAI::V1::VideoObjectTrackingPredictionResult::BoundingBox (v0.1.0)

Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::VideoObjectTrackingPredictionResult::BoundingBox.

Boundingbox for detected object. I.e. the rectangle over the video frame pinpointing the found AnnotationSpec. The coordinates are relative to the frame size, and the point 0,0 is in the top left of the frame.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#x_max

def x_max() -> ::Float
Returns
  • (::Float) — The rightmost coordinate of the bounding box.

#x_max=

def x_max=(value) -> ::Float
Parameter
  • value (::Float) — The rightmost coordinate of the bounding box.
Returns
  • (::Float) — The rightmost coordinate of the bounding box.

#x_min

def x_min() -> ::Float
Returns
  • (::Float) — The leftmost coordinate of the bounding box.

#x_min=

def x_min=(value) -> ::Float
Parameter
  • value (::Float) — The leftmost coordinate of the bounding box.
Returns
  • (::Float) — The leftmost coordinate of the bounding box.

#y_max

def y_max() -> ::Float
Returns
  • (::Float) — The bottommost coordinate of the bounding box.

#y_max=

def y_max=(value) -> ::Float
Parameter
  • value (::Float) — The bottommost coordinate of the bounding box.
Returns
  • (::Float) — The bottommost coordinate of the bounding box.

#y_min

def y_min() -> ::Float
Returns
  • (::Float) — The topmost coordinate of the bounding box.

#y_min=

def y_min=(value) -> ::Float
Parameter
  • value (::Float) — The topmost coordinate of the bounding box.
Returns
  • (::Float) — The topmost coordinate of the bounding box.