flystem-usls/examples/yolov8-trash
Jamjamjon a0d410b46d
Dev (#1)
* Update imageproc crates

* Add top-p method for sampling

* Add SVTR for text recognition & bug fix
2024-04-06 16:16:53 +08:00
..
README.md Initial 2024-03-29 15:54:24 +08:00
demo.jpg Initial 2024-03-29 15:54:24 +08:00
main.rs Dev (#1) 2024-04-06 16:16:53 +08:00

README.md

Model for detecting plastic bag.

Quick Start

cargo run -r --example yolov8-trash

Or you can manully

1. Donwload ONNX Model

yolov8-plastic-bag-f16

2. Specify the ONNX model path in main.rs

let options = Options::default()
    .with_model("ONNX_PATH")    // <= modify this
    .with_profile(false);
let mut model = YOLO::new(&options)?;

3. Then, run

cargo run -r --example yolov8-trash

Results