Skip to main content

box_pixel_bounds

Function box_pixel_bounds 

Source
pub fn box_pixel_bounds(det: &Detection, w: u32, h: u32) -> (u32, u32, u32, u32)
Expand description

Pixel bounds (inclusive min, exclusive max) for a detection on an image of size w×h.