changed id type
This commit is contained in:
parent
6ac8f0c9a9
commit
01495ff1d8
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ use serde::{Serialize, Deserialize};
|
||||||
|
|
||||||
#[derive(Debug, Clone, Copy)]
|
#[derive(Debug, Clone, Copy)]
|
||||||
pub struct BoxCoords {
|
pub struct BoxCoords {
|
||||||
pub id: u32,
|
pub id: u16,
|
||||||
pub x1: u32,
|
pub x1: u32,
|
||||||
pub y1: u32,
|
pub y1: u32,
|
||||||
pub x2: u32,
|
pub x2: u32,
|
||||||
|
@ -23,7 +23,7 @@ impl Display for BoxCoords {
|
||||||
|
|
||||||
#[derive(Serialize, Deserialize, Debug, Clone, Copy)]
|
#[derive(Serialize, Deserialize, Debug, Clone, Copy)]
|
||||||
pub struct NormalizedBoxCoords {
|
pub struct NormalizedBoxCoords {
|
||||||
pub id: u32,
|
pub id: u16,
|
||||||
pub x1: f32,
|
pub x1: f32,
|
||||||
pub y1: f32,
|
pub y1: f32,
|
||||||
pub x2: f32,
|
pub x2: f32,
|
||||||
|
|
Loading…
Reference in a new issue