How to use AutoCalib

A step-by-step guide to running your first camera calibration — from image upload to downloading your results.

Click here for tips on images
Upload a set of images, mark the flat calibration area on your reference image, and let the pipeline compute your camera's intrinsic parameters.
1
Upload Images
  • Choose your lens modelSelect Pinhole for standard lenses or Fisheye for wide-angle/fisheye lenses.
  • Add imagesDrag and drop image files onto the upload area, or click it to open a file browser. You can upload between 4 and 30 images per run — around 10 well-varied shots is a good starting point for most scenes.
  • How to collect your shotsPick one roughly straight-on shot to use as the reference image (see step 2). For the rest, move around the target: vary the distance (closer and farther), shift left/right/up/down, and tilt the camera at different angles. This diversity across the set is what lets the algorithm solve for focal length and lens distortion accurately.
  • Consent checkboxesYou must confirm consent to use images for calibration and agree to the Terms of Service.
  • Start uploadClick "Start upload". Each image shows its own progress. Remove any image with the × button before starting.
2
Select a Reference Image
  • Wait for uploads to finishA warning banner appears if you try to proceed while images are still uploading. Each thumbnail shows its status: Uploading, Uploaded, or Failed.
  • Browse thumbnailsClick any thumbnail to open a full-size lightbox. Use the ← → arrows to navigate between images.
  • Pick the best imageChoose the sharpest image where the flat calibration target covers as much of the frame as possible — it doesn't need to reach the very edges, since you'll mark the exact region to use in the next step. This image must also be shot roughly straight-on, with the camera close to perpendicular to the target — it doesn't need to be exact, but a clearly tilted reference image will cause calibration to fail or produce inaccurate results.
  • Confirm selectionClick "Select as reference" inside the lightbox. The selected image gets a bold border in the thumbnail grid.
3
Mark the Calibration Area
  • Draw the areaClick on the image to place corners; AutoCalib connects them into a polygon as you go. A simple shape with just a few corners is enough — it just needs to stay inside the flat surface and cover a large part of the image.
  • Area size and placementDraw the polygon so it lies entirely inside the flat, textured region of the calibration target — it doesn't need to trace the boundary tightly or precisely, but it must not spill past the edge of the flat surface onto anything else. What matters most is that the marked area covers a large fraction of the reference image, rather than a small patch in the middle.
  • Save & startOnce you're happy with the marked area, click "Save area & start". The pipeline launches automatically.
4
Monitor Progress & Download Results
  • Watch progressThe dashboard shows live status, progress, and the calibrated Camera Intrinsics.
  • DownloadWhen status shows Finished, download the calibration as a JSON file.
  • Multiple runsUse "+ New calibration" in the sidebar to start another run at any time.

Tips & Best Practices

FLAT SURFACE
Use a flat surface with texture

The 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.

Good textured surface for camera calibration without a checkerboard
Bad surface example — too plain for calibration without a checkerboard
angled — incorrect perpendicular — correct
Reference image must be roughly straight-on

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.

Good straight-on reference image
Perpendicular to the surface
Bad angled reference image
Tilted — not straight-on
target +X −X +Y −Y YAW/PITCH ROLL
Translate, tilt, and roll freely

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.

Good example — translated/tilted
Good example — translated/tilted
Good example — translated/tilted
same focal length zoomed in — changed
Keep zoom fixed — and ideally, focus too

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.

IMAGE FRAME
Let the target drift across the whole frame

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.

hidden auto-correction
Turn off automatic lens correction, if you can

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.

Example image set
Reference image
Reference — straight-on
Other image 1 Other image 2 Other image 3
Other images — varying angle