Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Crates

calib-targets-rs is one Cargo workspace. Most users depend only on the facade crate calib-targets (or on the Python / WebAssembly / C bindings); the per-target crates are available when you want a narrower dependency.

CrateRoleDepends on
projective-gridStandalone, image-free grid builder: topological lattice finder, homography, validation—
calib-targets-coreShared types (Corner, LabeledCorner, TargetDetection, GrayImageView)projective-grid
calib-targets-chessboardChessboard detection from ChESS corners, rectification helperscore, projective-grid
calib-targets-arucoEmbedded ArUco / AprilTag dictionaries, decoding on rectified cellscore
calib-targets-charucoGrid-first ChArUco detector: marker anchoring + corner IDscore, chessboard, aruco
calib-targets-puzzleboardSelf-identifying chessboard: edge-dot decode + absolute corner IDscore, chessboard
calib-targets-markerCheckerboard + 3-circle marker boardcore, chessboard
calib-targets-printPrintable target generation (JSON / SVG / PNG)target crates
calib-targetsFacade: detect_* / detect_*_best helpers, re-exports, the calib-targets CLIall target crates

Bindings (built from the facade, not published to crates.io):

CrateShips as
calib-targets-pyPython package calib_targets (PyO3 / maturin); see crates/calib-targets-py/README.md
calib-targets-wasmnpm package @vitavision/calib-targets; powers the Interactive Playground
calib-targets-ffiC ABI with a generated header and a CMake package; see docs/ffi/README.md

Dependency rules: projective-grid has no workspace dependencies, core depends only on projective-grid, and there are no cycles.

Maturity

  • The detector APIs follow semver; the advanced tuning sub-structs and projective_grid::expert are explicitly outside that guarantee.
  • ArUco decoding samples cells of an already-rectified grid; there is no generic contour / quad marker detection.
  • projective-grid’s hex lattices and its square Positions / Oriented1 evidence modes have synthetic test coverage only and should be treated as experimental.

Where to start

If you are new to the codebase, read calib-targets-core and calib-targets-chessboard, then branch into the target crate you need.