Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::Schema::Predict::Prediction::VideoObjectTrackingPredictionResult::Frame (v0.52.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::Schema::Predict::Prediction::VideoObjectTrackingPredictionResult::Frame.

The fields xMin, xMax, yMin, and yMax refer to a bounding box, 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

#time_offset

def time_offset() -> ::Google::Protobuf::Duration
Returns
  • (::Google::Protobuf::Duration) — A time (frame) of a video in which the object has been detected. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

#time_offset=

def time_offset=(value) -> ::Google::Protobuf::Duration
Parameter
  • value (::Google::Protobuf::Duration) — A time (frame) of a video in which the object has been detected. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.
Returns
  • (::Google::Protobuf::Duration) — A time (frame) of a video in which the object has been detected. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.

#x_max

def x_max() -> ::Google::Protobuf::FloatValue
Returns

#x_max=

def x_max=(value) -> ::Google::Protobuf::FloatValue
Parameter
Returns

#x_min

def x_min() -> ::Google::Protobuf::FloatValue
Returns

#x_min=

def x_min=(value) -> ::Google::Protobuf::FloatValue
Parameter
Returns

#y_max

def y_max() -> ::Google::Protobuf::FloatValue
Returns

#y_max=

def y_max=(value) -> ::Google::Protobuf::FloatValue
Parameter
Returns

#y_min

def y_min() -> ::Google::Protobuf::FloatValue
Returns

#y_min=

def y_min=(value) -> ::Google::Protobuf::FloatValue
Parameter
Returns