Rigid checkerboard target tilted on a ball-joint stand in front of a calibration camera.

What you need

Use a rigid calibration board, fixed focus and a saved image folder. Record the true target dimensions and image resolution.

Illustrative point reprojection residuals. Point 1: 0.2 pixels; Point 2: 0.4 pixels; Point 3: 0.6 pixels.
Illustrative point reprojection residuals. Original Academy diagram using illustrative values; not a measured hardware result.
Read the diagram as a data table
Values used in the illustration
Condition or componentpixels
Point 10.2
Point 20.4
Point 30.6

The calculation

RMS = √[Σ||p_observed − p_projected||² / N]

N is the number of evaluated points. RMS is in pixels and measures reprojection consistency, not direct robot positioning accuracy.

Worked example

Illustrative numbers. Replace them with your measured inputs.

For illustrative residual magnitudes 0.2, 0.4 and 0.6 pixels, RMS is √[(0.04+0.16+0.36)/3] = 0.432 pixels. A low training residual alone can coexist with poor predictions near image corners.

Try it step by step

  1. Check target flatness and printed dimensions; a flexible or scaled print changes the geometry you are claiming to observe.
  2. Capture varied orientations and positions covering the image, avoiding motion blur, saturation and tiny target views.
  3. Fit camera intrinsics and a suitable distortion model, then inspect per-view errors rather than only the global score.
  4. Evaluate held-out images and save calibration together with camera identity, lens, focus, resolution and target dimensions.

How to check the result

Undistorted held-out target lines should behave plausibly across the frame, and independent physical measurements should meet the task’s tolerance.

Common mistake to avoid

Adding complex distortion parameters can overfit a weak image set. Changing focus or image scaling without updating calibration invalidates assumptions.

Reference reading

Primary references for the underlying models, APIs or application context. The worked numbers and plots above are educational calculations, not results reported by these sources.

Read our methods, limitations and safety notes.