9 unstable releases (3 breaking)

new 0.4.1 Nov 21, 2024
0.4.0 Nov 18, 2024
0.3.3 Nov 16, 2024
0.2.1 Nov 11, 2024
0.1.0 Nov 5, 2024

#211 in Math

Download history 88/week @ 2024-10-30 200/week @ 2024-11-06 440/week @ 2024-11-13

728 downloads per month
Used in camera-intrinsic

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–49MB
~1M SLoC