diff --git a/src/boxes.rs b/src/boxes.rs index b424b42..976f511 100644 --- a/src/boxes.rs +++ b/src/boxes.rs @@ -3,7 +3,7 @@ use serde::{Serialize, Deserialize}; #[derive(Debug, Clone, Copy)] pub struct BoxCoords { - pub id: u32, + pub id: u16, pub x1: u32, pub y1: u32, pub x2: u32, @@ -23,7 +23,7 @@ impl Display for BoxCoords { #[derive(Serialize, Deserialize, Debug, Clone, Copy)] pub struct NormalizedBoxCoords { - pub id: u32, + pub id: u16, pub x1: f32, pub y1: f32, pub x2: f32,