diff --git a/src/overlay/yolo.rs b/src/overlay/yolo.rs index 1186a20..d798ff1 100644 --- a/src/overlay/yolo.rs +++ b/src/overlay/yolo.rs @@ -41,12 +41,23 @@ pub struct YoloMetadata { pub status: Option, pub total_detections: u64, pub avg_detections_per_frame: f64, + #[serde(default)] + pub auto_save_interval: Option, + #[serde(default)] + pub processing_time: Option, + #[serde(default)] + pub avg_time_per_frame: Option, + #[serde(default)] + pub last_saved_at: Option, + #[serde(default)] + pub completed_at: Option, + #[serde(default)] + pub auto_save_count: Option, } #[derive(Debug, Clone, Deserialize)] pub struct YoloData { pub metadata: YoloMetadata, - #[serde(flatten)] pub frames: HashMap, }