mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-04 14:58:55 +08:00
Prevent colmap from opening (#1627)
This commit is contained in:
1 parent
fac13d0bab
commit
f58aa9348e
2 files changed
+1
-7
No files matched your search
@@ -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.
|
- 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
|
### Processing Data
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ def get_colmap_version(colmap_cmd: str, default_version=3.8) -> float:
|
|||||||
Returns:
|
Returns:
|
||||||
The version of COLMAP.
|
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
|
assert output is not None
|
||||||
for line in output.split("\n"):
|
for line in output.split("\n"):
|
||||||
if line.startswith("COLMAP"):
|
if line.startswith("COLMAP"):
|
||||||
|
|||||||
Reference in new issue
Block a user