Skip to content

fix problem in selecting the largest model if multiple models are reconstructed - #504

Open
soeroesg wants to merge 2 commits into
cvg:masterfrom
soeroesg:fix-largest-model-selection
Open

soeroesg wants to merge 2 commits into
cvg:masterfrom
soeroesg:fix-largest-model-selection

Conversation

@soeroesg

@soeroesg soeroesg commented Sep 8, 2026

Copy link
Copy Markdown

The reconstructions returned by incremental_mapping() are keyed by creation order, while COLMAP writes them into sub-directories ranked by number of 3D points, so the two do not correspond.
We therefore write the selected model instead of moving files from subdirs.

Fixes #422

@soeroesg

soeroesg commented Sep 8, 2026

Copy link
Copy Markdown
Author

please squash all commits when accepted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reconstruction - Since hloc v1.3, largest model data is sometimes not selected

1 participant