C201 Lesson 2: Targets and Recording a Calibration Sequence
A calibration can only be as good as two things: the physical target the cameras look at, and the set of views recorded of it. This lesson covers both for a fisheye stereo pair. The full treatment, with every source, is on Calibration Targets and Calibration Sequences.
Current public rigs calibrate against fiducial targets. RoboCap (Ali et al., 2026) describes its per-unit calibration this way: “An operator sweeps the device through a calibration motion sequence against a stationary AprilGrid target”. TUM VI, a benchmark with 195° fisheye stereo cameras, recorded its calibration in front of “A grid of AprilTags”.
Terms used in this lesson
Section titled “Terms used in this lesson”See also the glossary’s calibration section.
| Term | Meaning |
|---|---|
| Planar calibration target | A flat board printed with a pattern whose geometry is known exactly |
| Checkerboard corner | A saddle point where two black and two white squares meet |
| Fiducial marker | A small square binary code with its own ID and orientation, such as an AprilTag |
| Aprilgrid | A grid of AprilTags separated by a fixed gap; Kalibr’s recommended target |
| ChArUco board | A checkerboard with an ArUco marker in each white square |
| Coverage | How much of each image, corners included, the target’s detected corners reached |
| Shared view | A frame in which both cameras see the target at the same instant |
Choosing a target: it depends on the tool
Section titled “Choosing a target: it depends on the tool”| Target | Partial views usable? | Pose can flip? | Fits |
|---|---|---|---|
| Aprilgrid | yes | no | Kalibr’s recommended target |
| ChArUco | yes | no | OpenCV |
| Checkerboard | no: the whole grid must be visible | yes, on a symmetric board | OpenCV; Kalibr checkerboard; mrcal with its mrgingham detector |
| Circle grid | no | yes, on a symmetric grid | the mrcal choreography study advises against it |
The table condenses the target comparison in the field guide.
For a fisheye rig, partial views matter. A corner of a fisheye image can only be reached with a board that runs off the edge, so a target whose corners each know their identity pays off there. Kalibr’s calibration-target page recommends the Aprilgrid because “partially visible calibration boards can be used” and the “pose of the target is fully resolved (no flips)”.
mrcal takes a different line. Its how-to-calibrate guide says “Currently the recommended method is to use a classical chessboard target, and to employ the mrgingham detector”, and warns that mrgingham reports only complete boards: “a small motion that pushes one chessboard corner barely out of bounds causes the whole observation to be discarded”. If you plan to use mrcal, print a chessboard and expect to work harder at the edges; the same guide says it is “very helpful to be able to see a live feed of the camera” while capturing.
Making the target
Section titled “Making the target”Four rules, all from the Kalibr wiki and mrcal docs as quoted on the targets page:
- Flat and rigid. Kalibr: “Make sure the calibration target is as flat as possible. Best is to glue it to a rigid plate such as aluminum or acrylic glass.” Kalibr and OpenCV assume a perfectly flat board; mrcal fits a small bend of the board, because large boards are rarely as flat as they look.
- Measured, not assumed. Kalibr: “Most printers will scale the target during the printing process. Make sure to remeasure the important sizes and adjust the target configuration accordingly.” The target is the only thing that sets metric scale, so a size error passes straight into the baseline.
- A white border at least one grid element wide, or detection can fail in some lighting. The detector finds each tag by the contrast between its black border and the white around it (How fiducial detection shapes the board).
- No other tags in view. Kalibr: “Make sure to hide all external Apriltags while collecting the calibration dataset.” A second board or a stray tag can carry the same IDs as the grid’s own tags, and its corners would be matched to the wrong points on the grid.
For an Aprilgrid, measure one tag’s outer black edge for tagSize, measure the gap between tags, and set tagSpacing to gap ÷ tagSize. tagSpacing is a ratio, not a length (Measuring a printed target).
Recording the camera sequence
Section titled “Recording the camera sequence”For a camera calibration, the rig stays still and the target moves. Kalibr’s multiple-camera guide says “The camera system is fixed and the calibration target is moved in front of the cameras”, and recommends lowering the camera rate “to around 4 Hz while capturing the calibration data”. Its reason: “This reduces redundant information in the dataset and thus lowering the runtime of the calibration.” Neighbouring frames of a slowly moved board add almost nothing new. Moving the target rather than the rig is Kalibr’s convention for this tool; for the cameras’ own parameters only the board’s pose relative to the cameras matters, so either can move (Recording the camera sequence).
What the views must contain comes from mrcal’s choreography study, a synthetic study summarised on the targets page:
- Close-ups. The effect of distance is dramatic: “we want closeups. Anything else is a waste of time.”
- Tilt. “The head-on views (tilt = 0) produce quite poor results”, with diminishing returns at about 45 degrees. The study gives the reason for both close-ups and tilt: “a tilted close-up view is the best-possible view for the solver to disambiguate focal length effects from the effects of chessboard range”. Head-on, a board that looks smaller could be further away or seen through a shorter focal length; tilt makes its near and far edges differ, which separates the two.
- Enough frames. “more observations is always better, but we reach the point of diminishing returns at ~ 100 frames”.
- Not too close. Extreme close-ups can show non-central lens behaviour, which mrcal’s formulation notes say to avoid “by keeping the chessboard far-enough out to make the central model work well.”
The authors add that these results come from one synthetic lens, and that “For a specific lens and geometry, rerun these studies for your use cases.”
Coverage is the other requirement: the target has to reach every part of every image, the corners above all. Without guidance, people miss them. In the AprilCal user study, novices who followed written instructions got a mean test error of 0.728 px but an average maximum of 38.6 px, and the authors put it down to coverage: “the sorts of images that novice users capture, even when attempting to follow the ROS instructions, don’t constrain the whole lens well” (Richardson, Strom and Olson, 2013).
Shared views: what links the two cameras
Section titled “Shared views: what links the two cameras”The extrinsics come only from frames in which both cameras see the target at the same instant. Kalibr requires “that neighbouring cameras have overlapping fields of view”, and stops if the cameras are not connected through mutual observations (Calibrating a Stereo or Multi-Camera Rig).
mrcal’s guide explains the tension between close-ups and shared views: “it is impossible to place a calibration object at a location where it’s seen by all the cameras and where it’s a close-up for all the cameras. So you should get close-ups for each camera individually, and also get observations common to multiple cameras, that aren’t necessarily close-ups” (how-to-calibrate).
Shared views only mean something if the two images were taken together. If the board moves between the two exposures, the solver reads that motion as part of the transform between the cameras (Shared views: how cameras get linked). mrcal states that “the images must be synchronized across all the cameras”, and notes that a software trigger “is usually too loose to produce usable results”. Kalibr pairs images by timestamp within a tolerance, --approx-sync, 0.02 s by default (Kalibr File Reference).
Sharp corners
Section titled “Sharp corners”Move slowly enough that the corners are not blurred, and use a short exposure in good light (Kalibr workflow, step 1). mrcal’s guide adds that “Motion blur or exposure issues will all cause bias in the resulting calibration.”
Why bright light helps: a short exposure keeps the corners sharp, but it gathers little light. In dim light the camera has to make that up with more gain, which adds noise, or with a longer exposure, which brings the blur back. Both scatter the detected corners. In one study, Kalibr placed an IMU to within 3.64 mm in good light, but in poor light only 1 of 21 runs finished and its error was 119.96 mm. Bright is not enough on its own: the light should be even, with no glare on the target and no clipped white squares. The full reasoning, with sources, is in Lighting: why calibration wants bright, even light.
Self-check
Section titled “Self-check”- You will calibrate with Kalibr and your fisheye images need corners at the very edge. Which target, and why?
- Your printer was set to 100% and the tags should be 80 mm. What do you put in
target.yaml? - A colleague records 300 frames, all head-on, at arm’s length, in the middle of the image. What is wrong with this recording?
- Kalibr stops with an error that the cameras are not connected through mutual observations. Name two likely causes.
- Why do the extrinsics need shared views that need not be close-ups, while the intrinsics need close-ups?
Answers
Section titled “Answers”- An Aprilgrid. Each tag is decoded on its own, so a board cut off by the image edge still gives corners, and its pose cannot flip.
- The measured values, not the intended ones. Printers scale targets; measure the tag edge and the gap, and set
tagSpacingto the gap divided bytagSize. - No tilt, no close-ups and no coverage of the image corners. Head-on views produce poor results, close-ups matter most, and a model fitted only in the middle is wrong at the edges.
- Too few frames with the target in both cameras at once, or cameras that are not synchronised (Kalibr’s message suggests checking the sync tolerance).
- No single board position can be a close-up for both cameras and seen by both. Close-ups for each camera pin down its intrinsics; joint views, even from further out, fix the transform between the cameras.
Sources
Section titled “Sources”- Lee, Hanley and Bretl, 2022: multi-IMU calibration study, Table IX.
- Field guide: Calibration Targets and Calibration Sequences, Calibrating a Stereo or Multi-Camera Rig, Kalibr Workflow, Kalibr File Reference, glossary.
- Kalibr wiki, ETH Zurich ASL: calibration targets and multiple-camera calibration.
- Kogan, D. mrcal: how to calibrate, optimal choreography and formulation.
- Richardson, A., Strom, J. and Olson, E. (2013). AprilCal: Assisted and repeatable camera calibration. IEEE/RSJ IROS.
- Ali, Q. et al. (2026). RoboCap: A new platform for egocentric robot learning. arXiv:2610.07217.
- Schubert, D. et al. (2018). The TUM VI benchmark for evaluating visual-inertial odometry. IEEE/RSJ IROS.