Skip to main content

box_css_percent

Function box_css_percent 

Source
pub fn box_css_percent(det: &Detection) -> (f32, f32, f32, f32)
Expand description

Convert a detection box to CSS percentages (left, top, width, height) in 0…100.