Skip to content

Commit

Permalink
formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
B1ueber2y committed Oct 19, 2024
1 parent f01c23f commit 3b27f5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions scripts/aachen_undistort.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@ def process(image_list, cameras):
assert camera_undistorted.K[0, 0] == camera_undistorted.K[1, 1]
fx = camera_undistorted.K[0, 0]
cx, cy = camera_undistorted.K[0, 2], camera_undistorted.K[1, 2]
f.write(
f"{imname_undist} SIMPLE_PINHOLE {w} {h} {fx} {cx} {cy}\n"
)
f.write(f"{imname_undist} SIMPLE_PINHOLE {w} {h} {fx} {cx} {cy}\n")


if __name__ == "__main__":
Expand Down
4 changes: 1 addition & 3 deletions scripts/tnt_colmap_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@
os.makedirs(dense_folder)
database_path = os.path.join(output_folder, "database.db")

cmd = (
f"colmap feature_extractor --database_path {database_path} --image_path {input_folder}"
)
cmd = f"colmap feature_extractor --database_path {database_path} --image_path {input_folder}"
print(cmd)
os.system(cmd)
cmd = f"colmap exhaustive_matcher --database_path {database_path}"
Expand Down

0 comments on commit 3b27f5c

Please sign in to comment.