11 unstable releases (3 breaking)

new 0.4.3 Dec 20, 2024
0.4.2 Dec 17, 2024
0.4.1 Nov 21, 2024
0.3.3 Nov 16, 2024
0.1.0 Nov 5, 2024

#446 in Math

Download history 103/week @ 2024-10-31 265/week @ 2024-11-07 335/week @ 2024-11-14 206/week @ 2024-11-21 30/week @ 2024-11-28 76/week @ 2024-12-05 129/week @ 2024-12-12

463 downloads per month
Used in 2 crates

MIT/Apache

7.5MB
2.5K SLoC

Rust 1.5K SLoC // 0.0% comments Python 1K SLoC // 0.1% comments

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

Dependencies

~24–48MB
~1M SLoC