GeoCalib: Learning Single-image Calibration with Geometric Optimization

Alexander Veicht, Paul-Edouard Sarlin, Philipp Lindenberger, Marc Pollefeys
2/14/2026

No official code found. Best implementation: cvg/GeoCalib (937 stars, Apache-2.0, last commit 2026-03-13). 1 more below.

Abstract

From a single image, visual cues can help deduce intrinsic and extrinsic camera parameters like the focal length and the gravity direction. This single-image calibration can benefit various downstream applications like image editing and 3D mapping. Current approaches to this problem are based on either classical geometry with lines and vanishing points or on deep neural networks trained end-to-end. The learned approaches are more robust but struggle to generalize to new environments and are less accurate than their classical counterparts. We hypothesize that they lack the constraints that 3D geometry provides. In this work, we introduce GeoCalib, a deep neural network that leverages universal rules of 3D geometry through an optimization process. GeoCalib is trained end-to-end to estimate camera parameters and learns to find useful visual cues from the data. Experiments on various benchmarks show that GeoCalib is more robust and more accurate than existing classical and learned approaches. Its internal optimization estimates uncertainties, which help flag failure cases and benefit downstream applications like visual localization. The code and trained models are publicly available at https://github.com/cvg/GeoCalib.

View on arXivView PDF

Code Implementations(2)

cvg/GeoCalibCommunity100%
Apache-2.0

GeoCalib: Learning Single-image Calibration with Geometric Optimization (ECCV 2024)

93768PythonSep 5, 20247 months agoApache-2.0
camera-calibrationdeep-learningoptimization
Apache-2.0

GeoCalib: Learning Single-image Calibration with Geometric Optimization (ECCV 2024)

00PythonJan 21, 202612 months agoApache-2.0

Similar Papers

Cite this paper

@article{veicht2026geocalib,
  title  = {GeoCalib: Learning Single-image Calibration with Geometric Optimization},
  author = {Alexander Veicht and Paul-Edouard Sarlin and Philipp Lindenberger and Marc Pollefeys},
  year   = {2026},
  eprint = {2409.06704},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2409.06704},
  journal = {ECCV 2024 2024}
}

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/2409.06704.svg)](https://codeofpaper.com/paper/2409.06704)

Discussion