Learning Camera Localization via Dense Scene Matching

Shitao Tang, Chengzhou Tang, Rui Huang, Siyu Zhu, Ping Tan
3/31/2021
cs.CV

Official code: Tangshitao/Dense-Scene-Matching (86 stars, Python, last commit 2023-04-04).

Abstract

Camera localization aims to estimate 6 DoF camera poses from RGB images. Traditional methods detect and match interest points between a query image and a pre-built 3D model.

Show full abstract

Recent learning-based approaches encode scene structures into a specific convolutional neural network (CNN) and thus are able to predict dense coordinates from RGB images. However, most of them require re-training or re-adaption for a new scene and have difficulties in handling large-scale scenes due to limited network capacity. We present a new method for scene agnostic camera localization using dense scene matching (DSM), where a cost volume is constructed between a query image and a scene. The cost volume and the corresponding coordinates are processed by a CNN to predict dense coordinates. Camera poses can then be solved by PnP algorithms. In addition, our method can be extended to temporal domain, which leads to extra performance boost during testing time. Our scene-agnostic approach achieves comparable accuracy as the existing scene-specific approaches, such as KFNet, on the 7scenes and Cambridge benchmark. This approach also remarkably outperforms state-of-the-art scene-agnostic dense coordinate regression network SANet. The Code is available at https://github.com/Tangshitao/Dense-Scene-Matching.

View on arXivView PDF

Code Implementations(1)

Learning Camera Localization via Dense Scene Matching, CVPR2021

8611Python, C++Mar 8, 20213 years ago

Similar Papers

Cite this paper

@article{tang2021learning,
  title  = {Learning Camera Localization via Dense Scene Matching},
  author = {Shitao Tang and Chengzhou Tang and Rui Huang and Siyu Zhu and Ping Tan},
  year   = {2021},
  eprint = {2103.16792},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.16792}
}

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

Discussion