VS-Net: Voting with Segmentation for Visual Localization

Zhaoyang Huang, Han Zhou, Yijin Li, Bangbang Yang, Yan Xu +4 more
5/23/2021
cs.CV

Official code: zju3dv/VS-Net (88 stars, Python, Apache-2.0, last commit 2022-06-09).

Abstract

Visual localization is of great importance in robotics and computer vision. Recently, scene coordinate regression based methods have shown good performance in visual localization in small static scenes.

Show full abstract

However, it still estimates camera poses from many inferior scene coordinates. To address this problem, we propose a novel visual localization framework that establishes 2D-to-3D correspondences between the query image and the 3D map with a series of learnable scene-specific landmarks. In the landmark generation stage, the 3D surfaces of the target scene are over-segmented into mosaic patches whose centers are regarded as the scene-specific landmarks. To robustly and accurately recover the scene-specific landmarks, we propose the Voting with Segmentation Network (VS-Net) to segment the pixels into different landmark patches with a segmentation branch and estimate the landmark locations within each patch with a landmark location voting branch. Since the number of landmarks in a scene may reach up to 5000, training a segmentation network with such a large number of classes is both computation and memory costly for the commonly used cross-entropy loss. We propose a novel prototype-based triplet loss with hard negative mining, which is able to train semantic segmentation networks with a large number of labels efficiently. Our proposed VS-Net is extensively tested on multiple public benchmarks and can outperform state-of-the-art visual localization methods. Code and models are available at \href{https://github.com/zju3dv/VS-Net}{https://github.com/zju3dv/VS-Net}.

View on arXivView PDF

Code Implementations(1)

zju3dv/VS-NetOfficial100%
Apache-2.0

VS-Net: Voting with Segmentation for Visual Localization

8816Python, CudaMar 29, 20214 years agoApache-2.0

Similar Papers

Cite this paper

@article{huang2021vsnet,
  title  = {VS-Net: Voting with Segmentation for Visual Localization},
  author = {Zhaoyang Huang and Han Zhou and Yijin Li and Bangbang Yang and Yan Xu and Xiaowei Zhou and Hujun Bao and Guofeng Zhang and Hongsheng Li},
  year   = {2021},
  eprint = {2105.10886},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.10886}
}

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

Discussion