AnyCalib: On-Manifold Learning for Model-Agnostic Single-View Camera Calibration

Javier Tirado-Garín, Javier Civera
3/1/2025
29 citations

Official code: javrtg/AnyCalib (248 stars, Apache-2.0, last commit 2026-09-04).

Abstract

We present AnyCalib, a method for calibrating the intrinsic parameters of a camera from a single in-the-wild image, that is agnostic to the camera model. Current methods are predominantly tailored to specific camera models and/or require extrinsic cues, such as the direction of gravity, to be visible in the image.

Show full abstract

In contrast, we argue that the perspective and distortion cues inherent in images are sufficient for model-agnostic camera calibration. To demonstrate this, we frame the calibration process as the regression of the rays corresponding to each pixel. We show, for the first time, that this intermediate representation allows for a closed-form recovery of the intrinsics for a wide range of camera models, including but not limited to: pinhole, Brown-Conrady and KannalaBrandt. Our approach also applies to edited-cropped and stretched-images. Experimentally, we demonstrate that AnyCalib consistently outperforms alternative methods, including 3D foundation models, despite being trained on orders of magnitude less data. Code is available at https://github.com/javrtg/AnyCalib.

View on arXivView PDF

Code Implementations(1)

javrtg/AnyCalibOfficial73%
Apache-2.0

AnyCalib: On-Manifold Learning for Model-Agnostic Single-View Camera Calibration (ICCV 2025)

24815Mar 17, 20252 months agoApache-2.0

Similar Papers

Cite this paper

@article{tiradogarn2025anycalib,
  title  = {AnyCalib: On-Manifold Learning for Model-Agnostic Single-View Camera Calibration},
  author = {Javier Tirado-Garín and Javier Civera},
  year   = {2025},
  eprint = {2503.12701},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2503.12701},
  journal = {IEEE International Conference on Computer Vision}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.12701.svg)](https://codeofpaper.com/paper/2503.12701)

Discussion