This package tries to be generally compatible with libapriltag.
This package isn't (yet) on crates.io, but you can use it yourself with a git reference in Cargo.toml
:
[dependencies]
apriltag_rs = { git = "https://github.com/mailmindlin/apriltag-rs" }
Compile with cargo
:
cargo build --release
Generates C FFI interface that should be compatible with libapriltag.
Python bindings and library
Genarate java bindings. Java library must be compiled separately.
Allow generating debug files (this is also still behind a runtime setting).
Generate PostScript debug files (may have a large performance hit, even more than debug
)
Allows image preprocessing on with OpenCL (this feature also requires a runtime setting).
Allows image preprocessing and unionfind on with WGPU (this feature also requires a runtime setting).
I haven't seen huge speedups from GPU acceleration (in my very limited testing), but it does help to reduce CPU usage.
Derive approximate equality traits
Compare output to native libapriltag.
This is mostly for debugging/validation, as it runs every step of the Apriltag detection process twice (one in Rust, and one in libapriltag) and compares the two.