Skip to content

Calibration Targets and How to Record a Calibration Sequence

A camera calibration or a camera–IMU 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 page covers both: which target to use, what its detector asks of the print, how to make the board, and how to move during the recording.

Current public rigs make this harder than it used to be. Stereo is the baseline, and the newest head rigs carry more cameras with very wide lenses. RoboCap (Ali et al., 2026), a six-camera hat, lists fisheye stereo optics of “216° diag.” and lateral optics of “179° diag.”. Ego-1K (Lee et al., 2026) uses a head rig with “12 global-shutter RGB fisheye cameras” with “190° diagonal FOV” lenses around a Quest 3. With lenses like these, a board covers a small part of the image unless it is close, and the image edges, where distortion is strongest, are the hardest place to get observations.

The Kalibr file formats for targets (target.yaml, tagSize, tagSpacing and the rest) are defined field by field in the Kalibr file reference, and the end-to-end order of work is in the Kalibr workflow. This page does not repeat them.

A planar calibration target is a flat board printed with a pattern whose geometry is known exactly. Zhang (2000) showed that this is enough: “The technique only requires the camera to observe a planar pattern shown at a few (at least two) different orientations. Either the camera or the planar pattern can be freely moved. The motion need not be known.”

Targets differ in what the detector finds. A checkerboard corner is a saddle point, where two black and two white squares meet. A fiducial marker is a small square binary code with its own ID and orientation, such as an AprilTag (Olson, 2011) or an ArUco marker.

Target What is detected Partial views usable? Pose can flip? Where it appears publicly
Checkerboard interior saddle-point corners no: OpenCV says the pattern “has to be completely visible and occlusions are not permitted” yes, on a symmetric board OpenCV; Kalibr checkerboard; Furgale et al. (2013) used one in their Kalibr experiments
ChArUco checkerboard corners, located with ArUco markers in the white squares yes no OpenCV; HOT3D calibrated the Quest 3’s cameras with one
Aprilgrid the four outer corners of each AprilTag yes no Kalibr (recommended target); TUM VI; RoboCap factory calibration
Circle grid circle centres no yes, on a symmetric grid OpenCV; Kalibr circlegrid
Multi-board (BabelCalib’s Corner and Cube) chessboards with AprilTags, on three or four boards yes no BabelCalib’s own fisheye captures

Sources for the table: the OpenCV ChArUco tutorial, Kalibr’s calibration-target page and camera–IMU guide, Furgale et al. (2013), HOT3D, TUM VI, RoboCap and BabelCalib.

The checkerboard is the classic target, and its corners are very precise. The OpenCV ChArUco tutorial explains why: “the corners of chessboard patterns can be refined more accurately since each corner is surrounded by two black squares.” Its weakness is that no square knows which square it is. The detector must see the whole grid to number the corners, so a board cut off by the image edge gives nothing.

A symmetric board also has an ambiguous pose. Kalibr’s camera–IMU guide warns that with “a calibration target with symmetries (checkerboard, circlegrid), movements which could lead to flips in the target pose estimates have to be avoided.” A board with an even number of inner corners in one direction and an odd number in the other has no 180° symmetry: rotated half a turn, its black and white squares swap.

A ChArUco board puts an ArUco marker in each white square of a checkerboard. The OpenCV tutorial describes the trade: “The ArUco part is used to interpolate the position of the chessboard corners, so that it has the versatility of marker boards, since it allows occlusions or partial views. Moreover, since the interpolated corners belong to a chessboard, they are very accurate in terms of subpixel accuracy.”

Public egocentric work uses them. HOT3D (Banerjee et al.) calibrated the Quest 3’s cameras “with a ChArUco board”; the headset and the board both carried motion-capture markers, “which allowed to estimate camera-to-headset transformations.” RoboCap uses one to check stereo depth, with ground truth “from the board pose, independent of the stereo extrinsics”.

An Aprilgrid is a grid of AprilTags separated by a fixed gap. Each tag gives four corners and is decoded on its own. Richardson, Strom and Olson (2013) explain the practical benefit: “we can detect and recognize individual tags without observing the entire target. This makes it possible to add constraints in the corners of images, even for highly distorted lenses. In the multi-camera case, this allows calibration of cameras with adjacent, but non-overlapping, fields of view.”

What tagSize and tagSpacing measure on a Kalibr Aprilgrid Two neighbouring AprilTags from a Kalibr Aprilgrid, with small black corner squares in the gaps between them. tagSize is the width of one tag, measured edge to edge across its black border, in metres. The gap between two tags is the spacing in metres. tagSpacing in the YAML file is not that gap: it is the gap divided by tagSize, a ratio with no unit. The example from the Kalibr wiki: a 2 m tag with a 0.5 m gap gives tagSpacing 0.25. tagSize, edge to edge [m] gap [m] tagSpacing = gap / tagSize example: 0.5 m / 2 m = 0.25 (no unit)
On an Aprilgrid, tagSize is the width of one tag across its black border, in metres. tagSpacing is not a length: it is the gap between tags divided by tagSize. The small black squares fill the gaps at the tag corners.

Kalibr’s calibration-target page recommends it: “Partially visible Aprilgrid targets can be detected without problems. This greatly simplifies the data collection and makes this grid the recommended choice.” Public uses:

  • TUM VI (Schubert et al., 2018), a visual-inertial benchmark with 195° fisheye stereo cameras, recorded its calibration sequences in front of “A grid of AprilTags”.
  • RoboCap (Ali et al., 2026): “An operator sweeps the device through a calibration motion sequence against a stationary AprilGrid target” (6 × 6 tags, 55 mm) “simultaneously covering all camera groups and both IMUs.”

Circle grids are supported by OpenCV and Kalibr, but the mrcal choreography study concludes that “a calibration object that contains a grid of circles will work badly”, because “A circle viewed from a tilted closeup will appear lopsided, so we have a choice of suffering a bias from imprecise circle detections or getting poor uncertainties from insufficient tilt.”

BabelCalib (Lochman et al., 2021) calibrated sixteen OmniVision cameras with lenses from 88° to 187° using three AprilTag targets, Plane, Corner and Cube, made of one, three and four chessboards. Several boards at different angles let one view cover more of a fisheye image.

How the detector works explains the rules for the print. AprilTag 2 (Wang and Olson, 2016) thresholds the image locally: it splits it into tiles of 4 × 4 pixels, finds the extremes over each 3 × 3 block of tiles, and marks each pixel black or white against their midpoint, dropping regions with too little contrast. It then fits quadrilaterals to the boundaries between black and white regions. Inside each one, the original detector (Olson, 2011) reads the bits against a “spatially-varying model of the intensity” learned from the tag’s border, which copes with a board lit more on one side. The corners come from intersecting fitted lines, so “these corner estimates are accurate to a small fraction of a pixel.”

What follows for the target:

  • Keep the white margin. The detector needs the contrast between each tag’s black border and the white around it. Kalibr’s rule: “Keep a white border around the calibration target of min. the size of one grid element (or the detection might be unsuccessful in certain lighting conditions)”.
  • Hide other tags. Kalibr: “Make sure to hide all external Apriltags while collecting the calibration dataset.” A second board in view adds tags with the same IDs.
  • Avoid glare. To the best of our knowledge, a matte print is safer than gloss or lamination: a highlight across a tag’s border lowers its local contrast, and low-contrast regions are dropped before decoding.
  • False detections are rare. On 421,049 LabelMe images with no tags, using the 36h11 family (the one Kalibr uses) with up to 2 bit errors corrected, AprilTag 2 produced 6 false detections out of 13,623,725 candidate quads, 0.000044%.

Corner detectors struggle where wide lenses bend lines hardest. BabelCalib’s authors note that “corner extraction can fail due to the detector’s inability to localize highly-distorted saddle points” and that “The grid search can also fail at the extents of a fisheye image because of highly-distorted neighborhoods.” The solvers can fail too: on fisheye lenses and catadioptric rigs, “Kalibr and OpenCV have both a 24% failure rate for the Kannala-Brandt model, and Kalibr has a 34% failure rate for FOV and 51% failure rate for EUCM. In contrast, BabelCalib has no calibration failures.” The lens projections page explains the models.

Planar calibration assumes the board is a plane. Kalibr’s rule: “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.” The AprilCal authors report that “rigid mounting at an office supply store is inexpensive and yields a target durable enough for many uses.”

Large boards are rarely as flat as they look. The mrcal documentation is direct: “large calibration boards used for calibration of wide lenses are never flat: temperature and humidity effects deform the board strongly-enough to affect the calibration.” mrcal therefore estimates a simple two-parameter bend of the board along with the calibration, and reports that this gives “better-fitting solves, and less systematic error”. Kalibr and OpenCV assume a perfectly flat board, so with them, flatness has to come from the mount.

“Most printers will scale the target during the printing process. Make sure to remeasure the important sizes and adjust the target configuration accordingly” (Kalibr). The target is the only thing that sets metric scale in a camera calibration, so a size error passes straight into every translation, stereo baselines included. The Kalibr file reference gives the measuring method and the tagSpacing arithmetic.

mrcal’s choreography study ran synthetic tests on board size and density. At the same range, “a bigger chessboard is better”, and “More chessboard corners is good, as long as the detector can find them reliably”. When the board grew but was moved back so it looked the same size, the results were similar: “we care about the size of the chessboard relative to its distance from the camera”. For a public example of a board used on a wide-lens rig, RoboCap uses a 6 × 6 Aprilgrid with 55 mm tags.

For a camera calibration, 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 show almost the same view, so the point is diversity of views, not their number.

Moving the target rather than the rig is Kalibr’s convention for this tool, not a requirement of the maths. Zhang’s method, quoted above, says “Either the camera or the planar pattern can be freely moved”, because the solver estimates the board’s pose in every view and only the pose of the board relative to the cameras enters the equations. What matters is that the relative motion is slow enough for sharp corners and varied enough to reach every part of every image. The camera–IMU recording is different, and there the rig must move (see below).

The mrcal choreography study measured, on a synthetic lens, how each choice changes the uncertainty of the result:

Choice mrcal’s finding
Number of frames “more observations is always better, but we reach the point of diminishing returns at ~ 100 frames”
Distance “This effect 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”
Why tilt and closeness help “a tilted close-up view is the best-possible view for the solver to disambiguate focal length effects from the effects of chessboard range”

The authors add a caveat: these results come from “a particular scenario using a LENSMODEL_OPENCV8 lens”, and “For a specific lens and geometry, rerun these studies for your use cases.” There is also a limit to closeness. mrcal’s formulation notes say that extreme close-ups can show non-central lens behaviour, “So it is recommended to avoid the non-central regime by keeping the chessboard far-enough out to make the central model work well.”

The other requirement is coverage: the target has to reach every part of every image, the corners above all. This is where a target that tolerates partial views pays off, because a corner of a fisheye image can only be reached with a board that runs off the edge.

What happens without guidance: the AprilCal study

Section titled “What happens without guidance: the AprilCal study”

Richardson, Strom and Olson (2013) measured how well novices calibrate. Sixteen undergraduates (“Only 3 of the 16 subjects reported any previous experience with camera calibration”) each calibrated the same camera, a 648 × 482 sensor with a 2.8 mm Tamron lens of “only 93° horizontal FOV”, with two methods:

  • OpenCV with a checkerboard, following the ROS monocular calibration instructions (board on the left, right, top and bottom of the view, close, far, and tilted), taking 10 to 16 images per trial.
  • AprilCal with an Aprilgrid. AprilCal suggests the next target pose from the current calibration’s uncertainty, and stops when its Max ERE (maximum expected reprojection error) shows the requested accuracy, “typically 6-8 images to achieve a < 1 pixel confidence.”

Both were scored on a separate test set of 60+ images covering the whole field of view.

Method and model Mean test error (px) Max test error (px) Focal length std. dev. (px)
OpenCV, radial, 3 distortion terms 0.728 38.646 9.0
AprilCal, radial, 3 distortion terms 0.229 1.651 1.2
AprilCal, angular, 4 distortion terms 0.203 1.444 –

The errors are averages over all trials. The OpenCV max error averaged 38 pixels, about 6% of the image width, and the AprilCal focal-length spread was 7.5 times smaller. 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.” The study used a moderate lens and a target type per method, so it shows how much view choice matters, not a precise gap for a fisheye rig.

How to tell whether a recording covered the image, and what numbers to distrust, is the subject of Judging a calibration.

Kalibr’s multi-camera tool requires “that neighbouring cameras have overlapping fields of view”, and the shared views, with the target seen by two cameras at once, are what fix the transform between them. RoboCap covers all its camera groups with a single sweep of a stationary Aprilgrid. Capturing and checking those shared views, and what to do when overlap is small, is covered on the stereo and multi-camera calibration page.

Lighting: why calibration wants bright, even light

Section titled “Lighting: why calibration wants bright, even light”

A calibration is only as good as the corner positions it is given, and the light on the target decides how precisely those can be found. The reasoning runs in three steps.

  1. Sharp corners need a short exposure. While the shutter is open, any motion smears the image. The blur in pixels is roughly the angular rate times the exposure time times the pixels per degree, so a camera turning at 100°/s with 11.6 px per degree smears a corner across 5.8 px in a 5 ms exposure (Lens Effects That Break a Calibration). Kalibr’s camera–IMU guide asks to “keep the motion blur low” with “low shutter times” and “good illumination”.
  2. A short exposure collects less light. The light a pixel gathers is proportional to how brightly the target is lit times how long the shutter is open. In dim light a camera can only make up for a short exposure by amplifying the signal, and amplification brings noise: Project Aria, for example, “uses analog gain to compensate image brightness in low light scenario resulting in strong photon shot noise” (Photoreal Scene Reconstruction from an Egocentric Device). The alternative, a longer exposure, brings the blur back. Either way the edges of the target lose contrast against the noise, and the detected corner positions scatter (vignetting and relative illumination).
  3. The effect is measurable. In one study of multi-IMU calibration, Kalibr placed an IMU to within 3.64 mm RMSE in good light; in poor light only 1 of 21 runs completed, and its error was 119.96 mm (Lee, Hanley and Bretl, 2022, Table IX).

Brightness alone is not the goal. Kalibr’s camera–IMU guide asks for both: “It is important to ensure good and even illumination of the calibration target”. The light has to be even and must not clip:

  • No clipping. Turning the exposure up until everything is bright can saturate the white squares. A clipped edge loses the brightness gradient that sub-pixel corner refinement relies on, so expose for the darker edges of the image without clipping the centre (Lens Effects That Break a Calibration).
  • No glare. A highlight across a tag’s border lowers its contrast; see the matte-print advice under How fiducial detection shapes the board.
  • Same light as the recording, where it matters. Infrared and visible light focus differently, so a camera used under infrared illumination is calibrated under it (IR-cut filters and infrared illumination).

For a camera–IMU calibration the roles swap: the target stays still and the rig moves, because only a moving rig excites the IMU. Kalibr’s recipe (excite all axes, avoid shocks, low shutter times, good light, one clock) is quoted in full in the Kalibr workflow.

TUM VI recorded two kinds of calibration sequence, described in its paper:

  • “calib-cam: for calibration of camera intrinsics and stereo extrinsics. A grid of AprilTags has been recorded at low frame rate with changing viewpoints and small camera motion.”
  • “calib-imu: for cam-imu calibration to find the relative pose between cameras and IMU. Includes rapid motions in front of the April grid exciting all 6 degrees of freedom. A small exposure has been chosen to avoid motion blur.”

The two pull in opposite directions: slow motion for sharp corners and wide coverage, fast motion for IMU excitation. RoboCap instead does it in one recording: one operator sweep “simultaneously covering all camera groups and both IMUs”, solved by continuous-time batch optimisation. Its cameras run per-camera auto-exposure “bounded ≤ 10 ms”.

Camera sequence Camera–IMU sequence
What moves the target (Kalibr multi-camera guide) the rig, in front of a fixed target (Kalibr camera–IMU guide)
Motion slow, “small camera motion” (TUM VI calib-cam) “rapid motions … exciting all 6 degrees of freedom” (TUM VI calib-imu)
Camera rate “around 4 Hz” (Kalibr) “Good results have been obtained by using a camera rate of 20 Hz and an IMU rate of 200 Hz” (Kalibr)
Length about 100 frames before returns diminish (mrcal, synthetic study) “typically 1–2 minutes”; about 90 s per dataset in the experiments (Furgale et al., 2013)
Exposure short enough for sharp corners “A small exposure has been chosen to avoid motion blur” (TUM VI)

Furgale, Rehder and Siegwart (2013), the method behind Kalibr’s camera–IMU tool, used a lab sensor head, not a wearable: “multiple Aptina MT9V034 global shutter image sensors and a tactical grade IMU (Analog Devices ADIS16488)”, timestamped through an FPGA, and a checkerboard. Their protocol is a useful reference for how much motion is enough: “For each of four fixed exposure times, we collected ten datasets by moving the sensor in front of the calibration pattern for about 90 seconds per dataset”, “maintaining an average absolute angular velocity of about 55° s−1 and an average absolute acceleration of 1.1m/s2 over all datasets.”

Two results matter for recording. First, estimating time and space together beat doing it in separate steps: measured against the expected line, “The RMS errors are 0.054ms, 0.344ms, 0.165ms and 0.572ms” for the joint calibration, a separate time-delay estimate, gyroscope-only and accelerometer-only. Second, because their images were stamped at the start of exposure, the estimated offset grew by half the exposure time (fitted slope 0.498). So a camera whose exposure changes during the recording also changes its effective timestamp, unless frames are stamped at mid-exposure. RoboCap states that “Frames are timestamped at exposure completion on the device clock”; TUM VI locked both stereo cameras to the same exposure. The camera–IMU time offset page and why sync matters cover this in depth.

Write a Python script with OpenCV (cv2.aruco) that audits a folder of calibration images
before I calibrate. For each camera: detect the Aprilgrid or ChArUco corners in every image,
plot all detected corners on one image-sized canvas, report the fraction of a 5 x 5 grid of
image cells with no corners at all, and estimate each view's board tilt from its homography.
Flag recordings with no corners in the image corners, or with almost only head-on views.