[][src]Struct gcp_client::google::cloud::automl::v1beta1::VideoObjectTrackingAnnotation

pub struct VideoObjectTrackingAnnotation {
    pub instance_id: String,
    pub time_offset: Option<Duration>,
    pub bounding_box: Option<BoundingPoly>,
    pub score: f32,
}

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

impl Clone for VideoObjectTrackingAnnotation[src]

impl Debug for VideoObjectTrackingAnnotation[src]

impl Default for VideoObjectTrackingAnnotation[src]

impl Message for VideoObjectTrackingAnnotation[src]

impl PartialEq<VideoObjectTrackingAnnotation> for VideoObjectTrackingAnnotation[src]

impl StructuralPartialEq for VideoObjectTrackingAnnotation[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]