A checkerboard target is a grid of alternating black and white squares. Kalibr detects the inner corner points — the intersections between four squares — and uses them as the observed features for calibration. Checkerboards are widely supported across computer vision tools and are straightforward to print, but they require the full board to be visible in every usable frame and cannot recover partial observations.Documentation 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.
The AprilGrid is recommended for most setups. Consider a checkerboard when you already have a printed board available, when your imaging environment makes AprilTag detection unreliable, or when you need compatibility with other tools that only support checkerboards.
YAML configuration
Create a YAML file describing the physical layout of your checkerboard. Pass it to any Kalibr command with--target checkerboard.yaml.
Field reference
| Field | Type | Description |
|---|---|---|
target_type | string | Must be 'checkerboard' |
targetCols | int | Number of internal corners along the x-axis (minimum 3) |
targetRows | int | Number of internal corners along the y-axis (minimum 3) |
rowSpacingMeters | float | Size of one square in the y direction, in meters |
colSpacingMeters | float | Size of one square in the x direction, in meters |
Generating the PDF
Usekalibr_create_target_pdf to produce a print-ready PDF:
target.pdf file in the current directory. The arguments correspond to the YAML fields:
| CLI flag | YAML field | Description |
|---|---|---|
--nx | targetCols | Internal corners horizontally |
--ny | targetRows | Internal corners vertically |
--csx | colSpacingMeters | Square size in x, in meters |
--csy | rowSpacingMeters | Square size in y, in meters |
--eps:
Printing and mounting
Print at 100% scale
Open the PDF and disable any fit-to-page or scaling option in your printer dialog. Print at exactly 100% so the square dimensions in the PDF correspond to real-world measurements.
Mount on a rigid surface
Glue or tape the printout to a flat, rigid backing — aluminum composite panel, thick foam board, or similar. Warping in the board will introduce systematic errors because the internal corners will no longer be coplanar.
Limitations compared to AprilGrid
| Checkerboard | AprilGrid | |
|---|---|---|
| Each detected feature is uniquely identified | No | Yes |
| Works with partial occlusion | No — full board required | Yes |
| Sensitive to lighting and contrast | More sensitive | Less sensitive |
| Detection fails if board rotated out of frame | Yes | Partial views accepted |