Add an option to adjust the line width for Bbox edges (#22)

* feat: add bbox thickness option

* feat: add thickness threshold and side option

* fix: clippy

* Minor adjustments

---------

Co-authored-by: jamjamjon <xxyydzml@outlook.com>
This commit is contained in:
oatiz
2024-06-26 00:00:36 +08:00
committed by GitHub
parent 6c72374ff6
commit 5f6b814090
6 changed files with 38 additions and 71 deletions

View File

@@ -31,6 +31,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
// build annotate
let annotator = Annotator::default()
.with_skeletons(&coco::SKELETONS_16)
.with_bboxes_thickness(7)
.with_saveout("YOLOv8");
// run & annotate