Reloc3r: Large-Scale Training of Relative Camera Pose Regression for Generalizable, Fast, and Accurate Visual Localization

Siyan Dong, Shuzhe Wang, Shaohui Liu, Lulu Cai, Qingnan Fan +2 more
2/9/2026

No official code found. Best implementation: ffrivera0/reloc3r (316 stars, last commit 2026-03-25).

Abstract

Visual localization aims to determine the camera pose of a query image relative to a database of posed images. In recent years, deep neural networks that directly regress camera poses have gained popularity due to their fast inference capabilities. However, existing methods struggle to either generalize well to new scenes or provide accurate camera pose estimates. To address these issues, we present Reloc3r, a simple yet effective visual localization framework. It consists of an elegantly designed relative pose regression network, and a minimalist motion averaging module for absolute pose estimation. Trained on approximately eight million posed image pairs, Reloc3r achieves surprisingly good performance and generalization ability. We conduct extensive experiments on six public datasets, consistently demonstrating the effectiveness and efficiency of the proposed method. It provides high-quality camera pose estimates in real time and generalizes to novel scenes. Code: https://github.com/ffrivera0/reloc3r.

View on arXivView PDF

Code Implementations(1)

ffrivera0/reloc3rCommunity100%

[CVPR 2025] Relative camera pose estimation and visual localization with Reloc3r

31628Shell, PythonDec 11, 20247 months agoNOASSERTION

Similar Papers

Cite this paper

@article{dong2026relocr,
  title  = {Reloc3r: Large-Scale Training of Relative Camera Pose Regression for Generalizable, Fast, and Accurate Visual Localization},
  author = {Siyan Dong and Shuzhe Wang and Shaohui Liu and Lulu Cai and Qingnan Fan and Juho Kannala and Yanchao Yang},
  year   = {2026},
  eprint = {2412.08376},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2412.08376},
  journal = {CVPR 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/2412.08376.svg)](https://codeofpaper.com/paper/2412.08376)

Discussion