Struct google_api_proto::google::cloud::automl::v1beta1::VideoObjectTrackingAnnotation
source · pub struct VideoObjectTrackingAnnotation {
pub instance_id: String,
pub time_offset: Option<Duration>,
pub bounding_box: Option<BoundingPoly>,
pub score: f32,
}
Expand description
Annotation details for video object tracking.
Fields§
§instance_id: String
Optional. The instance of the object, expressed as a positive integer. Used to tell apart objects of the same type (i.e. AnnotationSpec) when multiple are present on a single example. NOTE: Instance ID prediction quality is not a part of model evaluation and is done as best effort. Especially in cases when an entity goes off-screen for a longer time (minutes), when it comes back it may be given a new instance ID.
time_offset: Option<Duration>
Required. A time (frame) of a video to which this annotation pertains. Represented as the duration since the video’s start.
bounding_box: Option<BoundingPoly>
Required. The rectangle representing the object location on the frame (i.e. at the time_offset of the video).
score: f32
Output only. The confidence that this annotation is positive for the video at the time_offset, value in [0, 1], higher means higher positivity confidence. For annotations created by the user the score is 1. When user approves an annotation, the original float score is kept (and not changed to 1).
Trait Implementations§
source§impl Clone for VideoObjectTrackingAnnotation
impl Clone for VideoObjectTrackingAnnotation
source§fn clone(&self) -> VideoObjectTrackingAnnotation
fn clone(&self) -> VideoObjectTrackingAnnotation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for VideoObjectTrackingAnnotation
impl Message for VideoObjectTrackingAnnotation
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for VideoObjectTrackingAnnotation
impl PartialEq for VideoObjectTrackingAnnotation
source§fn eq(&self, other: &VideoObjectTrackingAnnotation) -> bool
fn eq(&self, other: &VideoObjectTrackingAnnotation) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VideoObjectTrackingAnnotation
Auto Trait Implementations§
impl Freeze for VideoObjectTrackingAnnotation
impl RefUnwindSafe for VideoObjectTrackingAnnotation
impl Send for VideoObjectTrackingAnnotation
impl Sync for VideoObjectTrackingAnnotation
impl Unpin for VideoObjectTrackingAnnotation
impl UnwindSafe for VideoObjectTrackingAnnotation
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request