| Crates.io | calib-targets-aruco |
| lib.rs | calib-targets-aruco |
| version | 0.2.2 |
| created_at | 2025-12-28 10:09:41.85123+00 |
| updated_at | 2026-01-03 17:59:44.072072+00 |
| description | Embedded ArUco/AprilTag dictionaries and fast marker decoding on rectified grids |
| homepage | https://vitalyvorobyev.github.io/calib-targets-rs/ |
| repository | https://github.com/VitalyVorobyev/calib-targets-rs |
| max_upload_size | |
| id | 2008544 |
| size | 259,950 |

Embedded ArUco/AprilTag dictionaries and marker decoding utilities.
use calib_targets_aruco::{builtins, scan_decode_markers, Matcher, ScanDecodeConfig};
use calib_targets_core::GrayImageView;
fn main() {
let dict = builtins::builtin_dictionary("DICT_4X4_50").expect("dict");
let matcher = Matcher::new(dict, 1);
let pixels = vec![0u8; 16 * 16];
let view = GrayImageView {
width: 16,
height: 16,
data: &pixels,
};
let scan_cfg = ScanDecodeConfig::default();
let markers = scan_decode_markers(&view, 4, 4, 4.0, &scan_cfg, &matcher);
println!("markers: {}", markers.len());
}
builtins::BUILTIN_DICTIONARY_NAMES.tracing: enables tracing output for decoding steps.Python bindings are provided via the workspace facade (calib_targets module).
See crates/calib-targets-py/README.md in the repo root for setup.