Improving Feature-based Visual Localization by Geometry-Aided Matching

Hailin Yu, Youji Feng, Weicai Ye, Mingxuan Jiang, Hujun Bao +1 more
11/16/2022
cs.CV

Official code: openxrlab/xrlocalization (236 stars, Python, Apache-2.0, last commit 2025-04-08).

Abstract

Feature matching is crucial in visual localization, where 2D-3D correspondence plays a major role in determining the accuracy of camera pose. A sufficient number of well-distributed 2D-3D correspondences is essential for accurate pose estimation due to noise.

Show full abstract

However, existing 2D-3D feature matching methods rely on finding nearest neighbors in the feature space and removing outliers using hand-crafted heuristics, which may lead to potential matches being missed or the correct matches being filtered out. In this work, we propose a novel method called Geometry-Aided Matching (GAM), which incorporates both appearance information and geometric context to address this issue and to improve 2D-3D feature matching. GAM can greatly boost the recall of 2D-3D matches while maintaining high precision. We apply GAM to a new hierarchical visual localization pipeline and show that GAM can effectively improve the robustness and accuracy of localization. Extensive experiments show that GAM can find more real matches than hand-crafted heuristics and learning baselines. Our proposed localization method achieves state-of-the-art results on multiple visual localization datasets. Experiments on Cambridge Landmarks dataset show that our method outperforms the existing state-of-the-art methods and is six times faster than the top-performed method. The source code is available at https://github.com/openxrlab/xrlocalization.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

OpenXRLab Visual Localization Toolbox and Server

23630Python, C++Aug 26, 20221 years agoApache-2.0

Similar Papers

Cite this paper

@article{yu2022improving,
  title  = {Improving Feature-based Visual Localization by Geometry-Aided Matching},
  author = {Hailin Yu and Youji Feng and Weicai Ye and Mingxuan Jiang and Hujun Bao and Guofeng Zhang},
  year   = {2022},
  eprint = {2211.08712},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.08712}
}

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/2211.08712.svg)](https://codeofpaper.com/paper/2211.08712)

Discussion