flystem-usls/examples/yolov8-trash/README.md

573 B

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