Rust crate for the nanodet object detection model, based on ncnn neural network framework.
Deprecated in favor of nanodet-rs, which supports multiple neural network backends in addition to ncnn
Can be used as library by including in Cargo.toml
:
ncnn-nanodet-rs = { git = "https://github.com/chemicstry/ncnn-nanodet-rs" }
For rust-flavored usage see examples/image.rs, or if you like opencv check examples/opencv.rs
Run pretrained COCO model on an image with rust image pipeline:
cargo run --example image --release --features image -- data/coco_test.jpg
Run pretrained COCO model on an image with opencv image pipeline:
cargo run --example opencv --release --features opencv -- data/coco_test.jpg