SPVLoc: Semantic Panoramic Viewport Matching for 6D Camera Localization in Unseen Environments

N. Gard, A. Hilsmann, P. Eisert
2/14/2026

No official code found. Best implementation: fraunhoferhhi/spvloc (44 stars, last commit 2026-03-04).

Abstract

In this paper, we present SPVLoc, a global indoor localization method that accurately determines the six-dimensional (6D) camera pose of a query image and requires minimal scene-specific prior knowledge and no scene-specific training. Our approach employs a novel matching procedure to localize the perspective camera's viewport, given as an RGB image, within a set of panoramic semantic layout representations of the indoor environment. The panoramas are rendered from an untextured 3D reference model, which only comprises approximate structural information about room shapes, along with door and window annotations. We demonstrate that a straightforward convolutional network structure can successfully achieve image-to-panorama and ultimately image-to-model matching. Through a viewport classification score, we rank reference panoramas and select the best match for the query image. Then, a 6D relative pose is estimated between the chosen panorama and query image. Our experiments demonstrate that this approach not only efficiently bridges the domain gap but also generalizes well to previously unseen scenes that are not part of the training data. Moreover, it achieves superior localization accuracy compared to the state of the art methods and also estimates more degrees of freedom of the camera pose. Our source code is publicly available at https://fraunhoferhhi.github.io/spvloc .

View on arXivView PDF

Code Implementations(1)

[ECCV'24 Oral] SPVLoc estimates 6D camera pose by matching images to semantic 3D models of indoor scenes, without scene-specific training.

442GLSL, ShellApr 2, 20247 months agoNOASSERTION
3d-localization6d-pose-estimation6dof-posebuilding-information-modellingcomputer-vision+11 more

Similar Papers

Cite this paper

@article{gard2026spvloc,
  title  = {SPVLoc: Semantic Panoramic Viewport Matching for 6D Camera Localization in Unseen Environments},
  author = {N. Gard and A. Hilsmann and P. Eisert},
  year   = {2026},
  eprint = {2404.10527},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2404.10527},
  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/2404.10527.svg)](https://codeofpaper.com/paper/2404.10527)

Discussion