Repository navigation
Conversation
sarlinpe
force-pushed
the
refresh/6-slim-localizer
branch
from
November 22, 2026 14:05
515fc6b to
2cd05f2
Compare
sarlinpe
changed the base branch from
refresh/5-pycolmap-pairing
to
refresh/4-guided-geometric-verification
November 22, 2026 14:17
sarlinpe
force-pushed
the
refresh/6-slim-localizer
branch
from
November 22, 2026 14:17
2cd05f2 to
f69880d
Compare
sarlinpe
force-pushed
the
refresh/6-slim-localizer
branch
from
November 22, 2026 14:27
f69880d to
f6a0145
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Slim and modernize
hloc/localize_sfm.pyandhloc/localize_inloc.pyon top ofpycolmap >= 4.2.1(PR 5 of 6 in Stack #525, stacked on #520).Changes
hloc/localize_sfm.py:QueryLocalizerconfig keys eagerly and constructpycolmap.AbsolutePoseEstimationOptionsandpycolmap.AbsolutePoseRefinementOptionsupfront.image.point2D(int(m))directly andget_observation_points2D()indo_covisibility_clustering.ransac_threshwithout mutating caller-suppliedconfig; guard emptydb_ids.hloc/localize_inloc.py:pycolmap.Camera, use HDF5withcontext managers, and guard empty/None retrieval results cleanly.hloc/matchers/__init__.py:get_matcherhelper.Verification
tests/test_triangulation_and_localization.pyandtests/test_extractors_and_sacre_coeur_e2e.py(with and without covisibility clustering, OOB index failure, emptydb_ids, andlocalize_inlocempty DB).