Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 1.11 KB

README.md

File metadata and controls

32 lines (21 loc) · 1.11 KB

ncnn-nanodet-rs

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

Usage

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

Cargo Features

  • image for image based utility functions.
  • opencv for opencv based utility functions.

Running examples

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