SACReg: Scene-Agnostic Coordinate Regression for Visual Localization
Abstract
Scene coordinates regression (SCR), i.e., predicting 3D coordinates for every pixel of a given image, has recently shown promising potential. However, existing methods remain limited to small scenes memorized during training, and thus hardly scale to realistic datasets and scenarios. In this paper, we propose a generalized SCR model trained once to be deployed in new test scenes, regardless of their scale, without any finetuning. Instead of encoding the scene coordinates into the network weights, our model takes as input a database image with some sparse 2D pixel to 3D coordinate annotations, extracted from e.g. off-the-shelf Structure-from-Motion or RGB-D data, and a query image for which are predicted a dense 3D coordinate map and its confidence, based on cross-attention. At test time, we rely on existing off-the-shelf image retrieval systems and fuse the predictions from a shortlist of relevant database images w.r.t. the query. Afterwards camera pose is obtained using standard Perspective-n-Point (PnP). Starting from self-supervised CroCo pretrained weights, we train our model on diverse datasets to ensure generalizabilty across various scenarios, and significantly outperform other scene regression approaches, including scene-specific models, on multiple visual localization benchmarks. Finally, we show that the database representation of images and their 2D-3D annotations can be highly compressed with negligible loss of localization performance.
Cite
Text
Revaud et al. "SACReg: Scene-Agnostic Coordinate Regression for Visual Localization." IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, 2024. doi:10.1109/CVPRW63382.2024.00073Markdown
[Revaud et al. "SACReg: Scene-Agnostic Coordinate Regression for Visual Localization." IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, 2024.](https://mlanthology.org/cvprw/2024/revaud2024cvprw-sacreg/) doi:10.1109/CVPRW63382.2024.00073BibTeX
@inproceedings{revaud2024cvprw-sacreg,
title = {{SACReg: Scene-Agnostic Coordinate Regression for Visual Localization}},
author = {Revaud, Jérôme and Cabon, Yohann and Brégier, Romain and Lee, JongMin and Weinzaepfel, Philippe},
booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops},
year = {2024},
pages = {688-698},
doi = {10.1109/CVPRW63382.2024.00073},
url = {https://mlanthology.org/cvprw/2024/revaud2024cvprw-sacreg/}
}