NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Visual Localization using Imperfect 3D Models from the Internet

Vojtech Panek, Zuzana Kukelova, Torsten Sattler

Abstract

Traditional visual localization pipelines rely on high-fidelity scene models generated through expensive and computationally intensive Structure-from-Motion (SfM) processes. This paper investigates an alternative approach: leveraging the vast repository of existing, albeit imperfect, 3D models available on the Internet (e.g., Sketchfab, 3D Warehouse). We introduce the cadloc benchmark, comprising 31 diverse models across 6 iconic scenes. Our evaluation demonstrates that modern feature matching algorithms, such as LoFTR, can effectively bridge the domain gap between real-world images and non-photorealistic renderings, achieving localization accuracy comparable to SfM-based methods despite significant geometric and textural distortions.

Introduction

Visual localization—the task of estimating a camera's precise pose relative to a known environment—is fundamental to augmented reality, robotics, and autonomous navigation. The standard prerequisite for this task is a dense 3D representation of the scene, typically built from thousands of crowdsourced or expertly captured images. However, the SfM process required to create these models is a significant bottleneck due to its high data, storage, and computational requirements.

This research explores whether we can bypass SfM by using "found" 3D models. These models, created by hobbyists or for architectural visualization, often suffer from various artifacts: simplified geometry, non-realistic "painterly" textures, or incorrect global scaling. This study quantifies how these imperfections impact localization performance and identifies which model characteristics are most critical for success.

The cadloc Benchmark

To facilitate this study, the authors developed the cadloc benchmark. It includes six iconic locations: Notre Dame, the Pantheon, the Reichstag, St. Peter’s Square, St. Vitus Cathedral, and Aachen. For each scene, multiple 3D models were collected, ranging from high-quality Multi-View Stereo (MVS) reconstructions to extremely simplified CAD models and untextured meshes.

Figure 2: Comparison of the diverse 3D models included in the cadloc benchmark, ranging from high-fidelity MVS to simplified CAD representations.

Methodology

The researchers employed the MeshLoc pipeline, which localizes query images by matching them against renderings of the 3D models. Because Internet models often lack a true-to-life scale, standard metric error (meters) is inapplicable. Instead, the study utilizes Dense Correspondence Re-Projection Error (DCRE), a scale-invariant metric that measures the alignment between the model's geometry and the image plane.

Key matchers evaluated include LoFTR, SuperGlue, and Patch2Pix. These modern algorithms were tested for their ability to establish correspondences between real-world photographs and the often abstract or "blocky" renderings produced by the Internet models.

Key Results and Insights

The experiments yielded several surprising insights into the nature of cross-modal localization:

  1. Texture vs. Geometry: High-quality textures are often more important than geometric precision. Models with realistic textures but simplified shapes frequently outperformed untextured models with perfect geometry.
  2. Matcher Robustness: Modern matchers like LoFTR exhibit a remarkable "accidental" cross-modality. Despite being trained on real photos, they effectively match features in non-photorealistic renderings or even raw grayscale meshes.
  3. The Scaling Bottleneck: While matchers are robust to appearance, the underlying pose solvers are sensitive to geometric distortion. Non-uniform scaling (e.g., a model stretched along one axis) remains a primary cause of localization failure.
Figure 6: Success rates across different scenes and models using various matching algorithms (LoFTR, SuperGlue, Patch2Pix).

As shown in the performance curves, LoFTR generally provides the most robust results across different model types. For high-performing models like Notre Dame A, the success rates at low DCRE thresholds are competitive with traditional SfM-based localization.

Conclusion

This work proves that "imperfect" Internet models are a viable resource for visual localization. By leveraging modern, robust feature matchers, it is possible to achieve accurate pose estimation without the need for bespoke SfM reconstructions. Future work will focus on developing non-rigid solvers to handle geometric stretching and improving automated alignment techniques to better integrate these "found" models into real-world coordinate systems.

Summary updated

BibTeX
@inproceedings{panek2023visual,
  author = {Vojtech Panek and Zuzana Kukelova and Torsten Sattler},
  title = {{Visual Localization using Imperfect 3D Models from the Internet}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
}
Figure