Skip to content

powei-lin/aprilgrid-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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