[Paper Review] UprightNet: Geometry-Aware Camera Orientation Estimation from Single Images
UprightNet proposes a geometry-aware deep learning framework for estimating 2D camera orientation (pitch and roll) from single RGB images by predicting surface geometry in both local camera and global upright coordinate systems, then solving for the optimal rotation via differentiable least squares. It achieves state-of-the-art accuracy and generalization on synthetic and real-world indoor datasets by explicitly modeling geometric consistency between local and global surface frames.
We introduce UprightNet, a learning-based approach for estimating 2DoF camera orientation from a single RGB image of an indoor scene. Unlike recent methods that leverage deep learning to perform black-box regression from image to orientation parameters, we propose an end-to-end framework that incorporates explicit geometric reasoning. In particular, we design a network that predicts two representations of scene geometry, in both the local camera and global reference coordinate systems, and solves for the camera orientation as the rotation that best aligns these two predictions via a differentiable least squares module. This network can be trained end-to-end, and can be supervised with both ground truth camera poses and intermediate representations of surface geometry. We evaluate UprightNet on the single-image camera orientation task on synthetic and real datasets, and show significant improvements over prior state-of-the-art approaches.
Motivation & Objective
- To improve 2D camera orientation estimation from single RGB images by incorporating explicit geometric reasoning rather than relying on black-box regression.
- To address the limitation of prior learning-based methods that lack geometric inductive bias, leading to poor generalization and reduced interpretability.
- To develop a framework that jointly predicts surface geometry in both local (camera) and global (upright) coordinate systems to enable geometric alignment for pose estimation.
- To enable end-to-end training with supervision on both intermediate geometric representations and final orientation outputs, improving robustness and performance.
Proposed method
- The network predicts three geometric representations: surface normals, tangent vectors, and binormal vectors in both local camera and global upright coordinate systems.
- It formulates camera orientation estimation as a differentiable least squares problem that finds the rotation aligning the predicted local surface frames with the global ones.
- The method uses predicted weight maps to suppress unreliable geometry predictions, improving robustness to noisy or ambiguous regions.
- The network is trained with multi-task supervision: both on the final orientation error and on intermediate geometric representations (e.g., surface normals and tangent planes).
- The framework is end-to-end differentiable, allowing backpropagation through the geometric alignment module.
- It leverages surface frames as an intermediate representation that encodes geometric priors such as verticality of walls and uprightness of floors.
Experimental results
Research questions
- RQ1Can explicit geometric reasoning improve the accuracy and generalization of deep learning models for single-image camera orientation estimation?
- RQ2How does incorporating both local and global geometric representations enhance pose estimation compared to learning from raw pixels alone?
- RQ3To what extent does using a differentiable geometric alignment module improve performance over direct regression baselines?
- RQ4Can intermediate supervision on surface geometry representations lead to better generalization to unseen indoor scenes?
- RQ5Does the use of structured geometric features (e.g., normals and tangent planes) improve robustness in challenging scenes with limited structure?
Key findings
- UprightNet achieves an angular error of 1.17° (mean) and 0.52° (median) on the InteriorNet test set, significantly outperforming prior state-of-the-art methods.
- On the SUN360 dataset, UprightNet generalizes well, achieving 7.81° mean angular error, outperforming CNN regression (10.43°) and DeepHorizon (9.53°).
- Ablation studies show that removing either the local or global geometry supervision increases error, confirming the importance of dual-frame geometry prediction.
- The full model with both F^c and F^u supervision and weight maps reduces angular error by 40% compared to the ablation without geometric supervision.
- The method demonstrates strong generalization, with a 25% relative improvement in mean angular error over the next best method when tested on unseen SUN360 data.
- Failure cases occur in scenes lacking structural cues (e.g., flat walls or uniform floors), indicating a need for additional geometric priors like vanishing points or known intrinsics.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.