We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0f1f89 commit 77f75eeCopy full SHA for 77f75ee
hloc/reconstruction.py
@@ -84,7 +84,6 @@ def run_reconstruction(
84
return None
85
logger.info(f"Reconstructed {len(reconstructions)} model(s).")
86
87
- # Find the largest reconstruction by examining model folders #422
88
largest_folder = None
89
largest_num_images = 0
90
for model_dir in models_path.iterdir():
@@ -107,7 +106,7 @@ def run_reconstruction(
107
106
if (sfm_dir / filename).exists():
108
(sfm_dir / filename).unlink()
109
shutil.move(str(largest_folder / filename), str(sfm_dir))
110
-
+
111
return pycolmap.Reconstruction(sfm_dir)
112
113
0 commit comments