pub struct TrackObs {
pub id: i64,
pub score: f32,
pub box_px: [f32; 4],
pub mask: Vec<u8>,
pub from_detection: bool,
pub from_tracker: bool,
}Expand description
One object’s observation on one frame.
Fields§
§id: i64§score: f32§box_px: [f32; 4]xyxy in frame pixels (inclusive corners), from the mask box.
mask: Vec<u8>Binary mask at frame resolution, row-major width × height.
from_detection: booltrue when this frame’s mask came straight from the detector.
from_tracker: booltrue when the tracker propagated the object onto this frame.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TrackObs
impl RefUnwindSafe for TrackObs
impl Send for TrackObs
impl Sync for TrackObs
impl Unpin for TrackObs
impl UnsafeUnpin for TrackObs
impl UnwindSafe for TrackObs
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