aprilgrid

Crates.ioaprilgrid
lib.rsaprilgrid
version0.4.1
sourcesrc
created_at2024-11-05 02:00:18.296574
updated_at2024-11-21 02:25:55.314778
descriptionAprilgrid
homepagehttps://github.com/powei-lin/aprilgrid-rs
repositoryhttps://github.com/powei-lin/aprilgrid-rs
max_upload_size
id1435915
size7,619,279
Powei Lin (powei-lin)

documentation

README

aprilgrid-rs

crate

Pure Rust version of aprilgrid

example detection

Install from cargo

cargo add aprilgrid

Usage

See examples/demo.rs

// load image
let img = ImageReader::open(path.unwrap())?.decode()?;

// create detector
let detector = aprilgrid::detector::TagDetector::new(&aprilgrid::TagFamily::T36H11, None);

// detect tags
let tags = detector.detect(&img);

Example

cargo run --example demo -r

Run tests

cargo test -r

TODO

  • Robustness.
  • Unit tests.

Reference

Commit count: 31

cargo fmt