changed id type

This commit is contained in:
Nickiel12 2024-09-09 00:39:03 +00:00
parent 6ac8f0c9a9
commit 01495ff1d8

View file

@ -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,