feat: Draw bounding boxes correctly

This commit is contained in:
uttarayan21
2025-08-05 12:58:17 +05:30
parent 74c603dc37
commit bcb7c94390
4 changed files with 34 additions and 12 deletions

View File

@@ -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 {