A step-by-step guide to running your first camera calibration — from image upload to downloading your results.
Click here for tips on imagesThe calibration target must be a flat, rigid surface with clear, visible texture. Avoid shiny, reflective, or featureless surfaces — the algorithm needs distinct visual features to track.
✓
✗
Shoot the reference image with the camera's optical axis roughly perpendicular to the target plane — it doesn't need to be exact, just close, no need to fuss over it with a level or tripod. This is still a real requirement, not just a suggestion: calibration will fail or become inaccurate if the reference image is noticeably tilted, since it is the geometric anchor for the entire calibration. Frame it so the flat target fills as much of the image as possible — it doesn't need to reach the very edges, since you'll mark the exact region to use in a later step, but the more of the frame it covers, the better. Pick a target that's physically large enough to fill the frame at a comfortable distance, rather than getting there by shooting a close-up: the reference shot is typically also the one you focus on, and since focus should stay fixed for the whole set, locking it at a close distance can leave your other images — taken from farther away — outside the depth of field and blurry.
✓
✗
Other images may shift the camera left/right (X) or up/down (Y), move closer to or farther from the target (Z), tilt — rotating around the vertical axis (yaw) or horizontal axis (pitch) — or even roll around the optical axis. Any combination of these motions is fine, and varying the distance across your image set is just as valuable as varying the angle: it helps the algorithm separate focal length from lens distortion. Unlike the reference image, these other shots don't need to fill most of the frame — the target occupying only part of the image is expected, and is exactly what happens naturally when you shoot from farther away.
✓
✓
✓
Every image in a run — including the reference image — must be shot at the exact same focal length. Do not zoom in or out (optically or digitally) between shots; move the camera itself instead. Changing the zoom mid-set changes the very intrinsics AutoCalib is trying to measure, and calibration will be inaccurate or fail outright. Refocusing is a milder version of the same problem — it shifts internal lens elements too, which can subtly change the focal length and distortion ("focus breathing"). Where possible, lock focus manually and use a smaller aperture (higher f-number) for a deeper depth of field, so your target stays acceptably sharp across your range of shooting distances without needing to refocus.
Lens distortion is strongest near the edges and corners of the image, not the center. Across your set of shots, let the calibration target fall in different parts of the frame — near the top, bottom, left, and right edges, not only centered every time — so the algorithm has data to measure distortion across the entire image, not just the middle.
Many smartphones and some digital cameras automatically straighten out lens distortion in software before saving the photo, using their own internal camera model. This bakes an unknown, camera-specific correction into every image — one that competes with the distortion AutoCalib is trying to measure, and can be applied slightly differently shot to shot. If your camera exposes a setting for lens or distortion correction, turn it off — most phones do not. The more reliable alternative is to shoot in RAW (DNG) format and disable lens-profile corrections in your RAW-processing software before exporting to JPEG/PNG.