aprilgrid

Crates.ioaprilgrid
lib.rsaprilgrid
version0.2.1
sourcesrc
created_at2024-11-05 02:00:18.296574
updated_at2024-11-11 01:58:01.185799
descriptionAprilgrid
homepagehttps://github.com/powei-lin/aprilgrid-rs
repositoryhttps://github.com/powei-lin/aprilgrid-rs
max_upload_size
id1435915
size7,602,613
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: 24

cargo fmt