pub struct ObjectTrack {
pub id: u64,
pub bbox: BoundingBox2,
pub class_id: i64,
pub score: f32,
pub age: u32,
pub hits: u32,
pub missed: u32,
pub state: TrackState,
}Expand description
One deterministic detection track.
Fields§
§id: u64Monotonic track identifier.
bbox: BoundingBox2Most recent bounding box.
class_id: i64Model-defined class identifier.
score: f32Most recent detection score.
age: u32Frames since track creation.
hits: u32Total successful associations.
missed: u32Consecutive frames without an association.
state: TrackStateTentative/confirmed state.
Trait Implementations§
Source§impl Clone for ObjectTrack
impl Clone for ObjectTrack
Source§fn clone(&self) -> ObjectTrack
fn clone(&self) -> ObjectTrack
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ObjectTrack
impl Debug for ObjectTrack
Source§impl PartialEq for ObjectTrack
impl PartialEq for ObjectTrack
Source§fn eq(&self, other: &ObjectTrack) -> bool
fn eq(&self, other: &ObjectTrack) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ObjectTrack
impl StructuralPartialEq for ObjectTrack
Auto Trait Implementations§
impl Freeze for ObjectTrack
impl RefUnwindSafe for ObjectTrack
impl Send for ObjectTrack
impl Sync for ObjectTrack
impl Unpin for ObjectTrack
impl UnsafeUnpin for ObjectTrack
impl UnwindSafe for ObjectTrack
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more