# Visual Localization via Few-Shot Scene Region Classification

Source: [Visual Localization via Few-Shot Scene Region Classification](<https://www.sota2.com/research/paper/68fa6d3b1e209131cea38a04>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2025-10-26T00:29:35.891Z

Authors: Siyan Dong, Shuzhe Wang, Yixin Zhuang, Juho Kannala, Marc Pollefeys, Baoquan Chen

Published: 2022-08-14T22:39:02.000Z

## Abstract

Visual (re)localization addresses the problem of estimating the 6-DoF (Degree of Freedom) camera pose of a query image captured in a known scene, which is a key building block of many computer vision and robotics applications. Recent advances in structure-based localization solve this problem by memorizing the mapping from image pixels to scene coordinates with neural networks to build 2D-3D correspondences for camera pose optimization. However, such memorization requires training by amounts of posed images in each scene, which is heavy and inefficient. On the contrary, few-shot images are usually sufficient to cover the main regions of a scene for a human operator to perform visual localization. In this paper, we propose a scene region classification approach to achieve fast and effective scene memorization with few-shot images. Our insight is leveraging a) pre-learned feature extractor, b) scene region classifier, and c) meta-learning strategy to accelerate training while mitigating overfitting. We evaluate our method on both indoor and outdoor benchmarks. The experiments validate the effectiveness of our method in the few-shot setting, and the training time is significantly reduced to only a few minutes. Code available at: \\url{https://github.com/siyandong/SRC}

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Indoor Relocalization on 7Scenes SfM poses](<https://www.sota2.com/research/sota/indoor-relocalization-on-7scenes-sfm-poses.md>): Indoor Relocalization; 7Scenes SfM poses; Success Rate (5cm, 5°): 81.1.

- [Visual Relocalization on Cambridge Landmarks](<https://www.sota2.com/research/sota/visual-relocalization-on-cambridge-landmarks.md>): Visual Relocalization; Cambridge Landmarks; Position Error (King's, cm): 39.

- [Indoor Relocalization on 7Scenes D-SLAM poses](<https://www.sota2.com/research/sota/indoor-relocalization-on-7scenes-d-slam-poses.md>): Indoor Relocalization; 7Scenes D-SLAM poses; Success Rate (5cm/5deg): 55.2.

- [Visual Localization on Cambridge Landmarks](<https://www.sota2.com/research/sota/visual-localization-on-cambridge-landmarks.md>): Visual Localization; Cambridge Landmarks; King's Positional Error (cm): 39.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2208.06933>)

[PDF](<https://arxiv.org/pdf/2208.06933.pdf>)
