Papers › Back to the Feature: Learning Robust Camera Localization from Pixels to Pose

Back to the Feature: Learning Robust Camera Localization from Pixels to Pose

16 Mar 2021CVPR 2021 1arXiv:2103.09213archive 2025-07-28

Paul-Edouard Sarlin, Ajaykumar Unagar, Måns Larsson, Hugo Germain, Carl Toft, Viktor Larsson, Marc Pollefeys, Vincent Lepetit, Lars Hammarstrand, Fredrik Kahl, Torsten Sattler

Camera pose estimation in known scenes is a 3D geometry task recently tackled by multiple learning algorithms. Many regress precise geometric quantities, like poses or 3D points, from an input image. This either fails to generalize to new viewpoints or ties the model parameters to a specific scene. In this paper, we go Back to the Feature: we argue that deep networks should focus on learning robust and invariant visual features, while the geometric estimation should be left to principled algorithms. We introduce PixLoc, a scene-agnostic neural network that estimates an accurate 6-DoF pose from an image and a 3D model. Our approach is based on the direct alignment of multiscale deep features, casting camera localization as metric learning. PixLoc learns strong data priors by end-to-end training from pixels to pose and exhibits exceptional generalization to new scenes by separating model parameters and scene geometry. The system can localize in large environments given coarse pose priors but also improve the accuracy of sparse feature matching by jointly refining keypoints and poses with little overhead. The code will be publicly available at https://github.com/cvg/pixloc.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2103.09213")

Code

Syntology Ran 7 of 10 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 6 ran with no contract checked.

By repository: community (archive-listed): 10 samples from 1 repository, 7 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

cvg/pixloc officialmentioned in papermentioned on GitHubpytorch report
jmorlana/dran mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 7 ran; 0 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
6ran
3unverified

Licence: 10 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from jmorlana/dran. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

AdaptationBlock jmorlana/dran/dran/lib/models/two_unet_gem.py community (archive-listed) ran · metamorphic tier: deterministic GPL-3.0 (copyleft) · pointer only · dcbcf6c7c35dcc21 · report
DecoderBlock jmorlana/dran/dran/lib/models/two_unet_gem.py community (archive-listed) ran · metamorphic tier: deterministic GPL-3.0 (copyleft) · pointer only · 73ff98fe01a66ef6 · report
GeM jmorlana/dran/dran/lib/models/two_unet_gem.py community (archive-listed) ran · metamorphic tier: deterministic GPL-3.0 (copyleft) · pointer only · 79107b69f7e4f56c · report
L2N jmorlana/dran/dran/lib/models/two_unet_gem.py community (archive-listed) ran · metamorphic tier: deterministic GPL-3.0 (copyleft) · pointer only · 961971793d9e5753 · report
LocalizationHeadBlock jmorlana/dran/dran/lib/models/two_unet_gem.py community (archive-listed) ran · metamorphic tier: deterministic GPL-3.0 (copyleft) · pointer only · f753ef150fba5f85 · report
RetrievalBlock jmorlana/dran/dran/lib/models/two_unet_gem.py community (archive-listed) ran · metamorphic tier: deterministic GPL-3.0 (copyleft) · pointer only · 8f7f65670a0a34dd · report
checkpointed jmorlana/dran/dran/lib/models/two_unet_gem.py community (archive-listed) ran · our draft was wrong GPL-3.0 (copyleft) · pointer only · a75983e92b154d01 · report
BaseModel jmorlana/dran/dran/lib/models/two_unet_gem.py community (archive-listed) unverified GPL-3.0 (copyleft) · pointer only · 6428fa4387ff5c9d · report
MetaModel jmorlana/dran/dran/lib/models/two_unet_gem.py community (archive-listed) unverified GPL-3.0 (copyleft) · pointer only · 1d1ea14640fc616e · report
UNet jmorlana/dran/dran/lib/models/two_unet_gem.py community (archive-listed) unverified GPL-3.0 (copyleft) · pointer only · 484365362394040e · report

Tasks

3D geometryCamera LocalizationCamera Pose EstimationMetric LearningPose Estimation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Introduced by this paper: PixLoc

PixLoc

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections