Prevent colmap from opening (#1627)

This commit is contained in:
Matthew Tancik authored and GitHub committed 2023-03-17 11:03:13 -07:00
1 parent fac13d0bab
commit f58aa9348e
2 files changed
+1 -7

No files matched your search

-6
View File
@@ -33,12 +33,6 @@ To assist running on custom data we have a script that will process a video or f
- COLMAP can be finicky. Try your best to capture overlapping, non-blurry images.
:::
:::{admonition} Note
:class: warning
- If COLMAP opens in a new window, simply close it to resume processing.
:::
### Processing Data
```bash
+1 -1
View File
@@ -55,7 +55,7 @@ def get_colmap_version(colmap_cmd: str, default_version=3.8) -> float:
Returns:
The version of COLMAP.
"""
output = run_command(colmap_cmd, verbose=False)
output = run_command(f"{colmap_cmd} -h", verbose=False)
assert output is not None
for line in output.split("\n"):
if line.startswith("COLMAP"):