Vanishing Point Estimation in Uncalibrated Images with Prior Gravity Direction

Rémi Pautrat, Shaohui Liu, Petr Hrubý, M. Pollefeys, Dániel Baráth
2/14/2026

No official code found. Best implementation: cvg/VP-Estimation-with-Prior-Gravity (112 stars, MIT, last commit 2024-11-06).

Abstract

We tackle the problem of estimating a Manhattan frame, i.e. three orthogonal vanishing points, and the unknown focal length of the camera, leveraging a prior vertical direction. The direction can come from an Inertial Measurement Unit that is a standard component of recent consumer devices, e.g., smartphones. We provide an exhaustive analysis of minimal line configurations and derive two new 2-line solvers, one of which does not suffer from singularities affecting existing solvers. Additionally, we design a new non-minimal method, running on an arbitrary number of lines, to boost the performance in local optimization. Combining all solvers in a hybrid robust estimator, our method achieves increased accuracy even with a rough prior. Experiments on synthetic and real-world datasets demonstrate the superior accuracy of our method compared to the state of the art, while having comparable runtimes. We further demonstrate the applicability of our solvers for relative rotation estimation. The code is available at https://github.com/cvg/VP-Estimation-with-Prior-Gravity.

View on arXivView PDF

Code Implementations(1)

MIT

Vanishing Point Estimation in Uncalibrated Images with Prior Gravity Direction (ICCV 2023)

11211C, C++Aug 14, 20231 years agoMIT

Similar Papers

Cite this paper

@article{pautrat2026vanishing,
  title  = {Vanishing Point Estimation in Uncalibrated Images with Prior Gravity Direction},
  author = {Rémi Pautrat and Shaohui Liu and Petr Hrubý and M. Pollefeys and Dániel Baráth},
  year   = {2026},
  eprint = {2308.10694},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2308.10694},
  journal = {ICCV 2023 2023}
}

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

Discussion