Struct candle_transformers::object_detection::Bbox
source · pub struct Bbox<D> {
pub xmin: f32,
pub ymin: f32,
pub xmax: f32,
pub ymax: f32,
pub confidence: f32,
pub data: D,
}
Expand description
A bounding box around an object.
Fields§
§xmin: f32
§ymin: f32
§xmax: f32
§ymax: f32
§confidence: f32
§data: D
Trait Implementations§
Auto Trait Implementations§
impl<D> Freeze for Bbox<D>where
D: Freeze,
impl<D> RefUnwindSafe for Bbox<D>where
D: RefUnwindSafe,
impl<D> Send for Bbox<D>where
D: Send,
impl<D> Sync for Bbox<D>where
D: Sync,
impl<D> Unpin for Bbox<D>where
D: Unpin,
impl<D> UnwindSafe for Bbox<D>where
D: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more