feat: Draw bounding boxes correctly
This commit is contained in:
@@ -43,8 +43,7 @@ pub fn main() -> Result<()> {
|
||||
.cast()
|
||||
.ok_or(errors::Error)
|
||||
.attach_printable("Failed to cast f32 to usize")?;
|
||||
array.draw(bbox, color::palette::css::GREEN_YELLOW.to_rgba8(), 20);
|
||||
break;
|
||||
array.draw(bbox, color::palette::css::GREEN_YELLOW.to_rgba8(), 10);
|
||||
}
|
||||
let v = array.view();
|
||||
if let Some(output) = detect.output {
|
||||
|
||||
Reference in New Issue
Block a user