apriltag-sys

Crates.io Documentation Crate License Dependency status build

This crate provides Rust bindings for AprilTag C library.

Usage

Install AprilTag library from official repository.

Import apriltag-sys dependency in your Cargo.toml

toml [dependencies] apriltag-sys = "0.1"

Specifying how to compile and link the apriltag C library.

There are currently four options to specify how apriltag-sys will compile and link the apriltag C library. These are specified by setting the APRILTAG_SYS_METHOD environment variable to one of the following values:

The location of the apriltag source is specified by the APRILTAG_SRC environment variable. If this is not set, a local git submodule checkout of the apriltag source will be used.

License

BSD-2-Clause. Please see license file.