Struct googapis::google::cloud::aiplatform::v1::schema::predict::prediction::video_object_tracking_prediction_result::Frame [−][src]
pub struct Frame {
pub time_offset: Option<Duration>,
pub x_min: Option<f32>,
pub x_max: Option<f32>,
pub y_min: Option<f32>,
pub y_max: Option<f32>,
}
Expand description
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.
Fields
time_offset: Option<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_min: Option<f32>
The leftmost coordinate of the bounding box.
x_max: Option<f32>
The rightmost coordinate of the bounding box.
y_min: Option<f32>
The topmost coordinate of the bounding box.
y_max: Option<f32>
The bottommost coordinate of the bounding box.
Trait Implementations
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
Auto Trait Implementations
impl RefUnwindSafe for Frame
impl UnwindSafe for Frame
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more