Every Kalibr calibration run requires a physical target that the camera can observe from multiple poses. The target gives the calibration solver a set of known 3D points to match against image detections. Kalibr supports two target types: the AprilGrid and the classic checkerboard. Both are configured through a small YAML file passed to calibration commands via theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/ethz-asl/kalibr/llms.txt
Use this file to discover all available pages before exploring further.
--target flag.
Target types
AprilGrid
A grid of AprilTag fiducial markers with spacing between them. Each tag carries a unique ID, so the detector never confuses one tag for another and can work with partial occlusion.
Checkerboard
A standard black-and-white checkerboard pattern. Corner detection is well-understood and works with many existing tools, but the entire board must be visible in each frame.
Comparison
| AprilGrid | Checkerboard | |
|---|---|---|
| Each feature is uniquely identified | Yes — every tag has an ID | No — corners are interchangeable |
| Works with partial occlusion | Yes | No — full board must be visible |
| Detection robustness | High | Moderate |
| Recommended for Kalibr | Yes | Acceptable fallback |
YAML configuration
Both target types share the sametarget_type key. Pass the YAML file to any Kalibr command with --target <file>:
Printing targets
Calibration accuracy depends directly on the physical accuracy of the printed target. Follow these guidelines for both target types:Generate the PDF
Use
kalibr_create_target_pdf to produce a correctly proportioned PDF. Specify the exact dimensions you intend to use — the YAML configuration must match the physical measurements of the printed target. See kalibr_create_target_pdf for all options.Print at 100% scale
Disable any page scaling or fit-to-page options in your printer dialog. Print at exactly 100% so the dimensions in the PDF correspond to real-world measurements.
Mount on a rigid flat surface
Glue or tape the printout to a rigid, flat backing such as a sheet of aluminum composite, foam board, or thick cardboard. Any warping or bending in the target will introduce systematic errors in the calibration.