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
- (::Google::Protobuf::FloatValue) — The rightmost coordinate of the bounding box.
#x_max=
def x_max=(value) -> ::Google::Protobuf::FloatValue Parameter
- value (::Google::Protobuf::FloatValue) — The rightmost coordinate of the bounding box.
Returns
- (::Google::Protobuf::FloatValue) — The rightmost coordinate of the bounding box.
#x_min
def x_min() -> ::Google::Protobuf::FloatValue Returns
- (::Google::Protobuf::FloatValue) — The leftmost coordinate of the bounding box.
#x_min=
def x_min=(value) -> ::Google::Protobuf::FloatValue Parameter
- value (::Google::Protobuf::FloatValue) — The leftmost coordinate of the bounding box.
Returns
- (::Google::Protobuf::FloatValue) — The leftmost coordinate of the bounding box.
#y_max
def y_max() -> ::Google::Protobuf::FloatValue Returns
- (::Google::Protobuf::FloatValue) — The bottommost coordinate of the bounding box.
#y_max=
def y_max=(value) -> ::Google::Protobuf::FloatValue Parameter
- value (::Google::Protobuf::FloatValue) — The bottommost coordinate of the bounding box.
Returns
- (::Google::Protobuf::FloatValue) — The bottommost coordinate of the bounding box.
#y_min
def y_min() -> ::Google::Protobuf::FloatValue Returns
- (::Google::Protobuf::FloatValue) — The topmost coordinate of the bounding box.
#y_min=
def y_min=(value) -> ::Google::Protobuf::FloatValue Parameter
- value (::Google::Protobuf::FloatValue) — The topmost coordinate of the bounding box.
Returns
- (::Google::Protobuf::FloatValue) — The topmost coordinate of the bounding box.