Skip to content

Commit

Permalink
Use a single set of camera intrinsics for rigs
Browse files Browse the repository at this point in the history
  • Loading branch information
ameuleman authored Nov 18, 2024
1 parent acfa93e commit 85777b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions preprocess/generate_colmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def setup_dirs(project_dir):
colmap_exe, "feature_extractor",
"--database_path", f"{args.project_dir}/camera_calibration/unrectified/database.db",
"--image_path", f"{args.images_dir}",
"--ImageReader.single_camera_per_folder", "1",
"--ImageReader.single_camera", "1",
"--ImageReader.default_focal_length_factor", "0.5",
"--ImageReader.camera_model", "OPENCV",
]
Expand Down Expand Up @@ -208,4 +208,4 @@ def setup_dirs(project_dir):
sys.exit(1)

end_time = time.time()
print(f"Preprocessing done in {(end_time - start_time)/60.0} minutes.")
print(f"Preprocessing done in {(end_time - start_time)/60.0} minutes.")

0 comments on commit 85777b1

Please sign in to comment.