yscv_track/types.rs
1use yscv_detect::{BoundingBox, Detection};
2
3#[derive(Debug, Clone, Copy, PartialEq)]
4pub struct Track {
5 pub id: u64,
6 pub bbox: BoundingBox,
7 pub score: f32,
8 pub class_id: usize,
9 pub age: u64,
10 pub hits: u64,
11 pub missed_frames: u32,
12}
13
14#[derive(Debug, Clone, Copy, PartialEq)]
15pub struct TrackedDetection {
16 pub track_id: u64,
17 pub detection: Detection,
18}