AnyCalib — Full-Resolution Camera Calibration
Single-image lens calibration & distortion correction powered by AnyCalib (DINOv2 ViT-L/14 + LightDPT + ConvexTangentDecoder, ~320M params).
Full FP32 inference, no quantization, no resolution limits. Automatically uses GPU when available.
Upload any image and get the corrected (undistorted) image at original resolution, plus camera intrinsics, FOV, distortion parameters, and timing.
How it works
- Upload any image (phone photo, action cam, drone, dashcam, etc.)
- The model predicts per-pixel ray directions using a DINOv2 ViT-L/14 backbone
- RANSAC + Gauss-Newton calibrator fits camera intrinsics
[f, cx, cy, k1]from the rays - Image is undistorted at full resolution via differentiable grid_sample
- All parameters and raw JSON output are displayed
Links
- Raw weights: SebRincon/anycalib (safetensors)
- ONNX models: SebRincon/anycalib-onnx (FP32/FP16/INT8)
- WASM demo: SebRincon/anycalib-wasm (browser-only)
- Source: github.com/javrtg/AnyCalib