[bin] rename meshroom_photogrammetry as meshroom_batch

This commit is contained in:
Fabien Castan 2021-02-24 22:26:49 +01:00
parent 7b3523d44c
commit 37ffd7f990
3 changed files with 3 additions and 3 deletions

View file

@ -90,7 +90,7 @@ You may need to adjust the folder `/usr/lib/nvidia-340` with the correct driver
```bash ```bash
# Windows: set PYTHONPATH=%CD% && # Windows: set PYTHONPATH=%CD% &&
# Linux/macOS: PYTHONPATH=$PWD # Linux/macOS: PYTHONPATH=$PWD
python bin/meshroom_photogrammetry --input INPUT_IMAGES_FOLDER --output OUTPUT_FOLDER python bin/meshroom_batch --input INPUT_IMAGES_FOLDER --output OUTPUT_FOLDER
``` ```

2
bin/meshroom_photogrammetry → bin/meshroom_batch Executable file → Normal file
View file

@ -74,7 +74,7 @@ def getOnlyNodeOfType(g, nodeType):
""" Helper function to get a node of 'nodeType' in the graph 'g' and raise if no or multiple candidates. """ """ Helper function to get a node of 'nodeType' in the graph 'g' and raise if no or multiple candidates. """
nodes = g.nodesOfType(nodeType) nodes = g.nodesOfType(nodeType)
if len(nodes) != 1: if len(nodes) != 1:
raise RuntimeError("meshroom_photogrammetry requires a pipeline graph with exactly one '{}' node, {} found." raise RuntimeError("meshroom_batch requires a pipeline graph with exactly one '{}' node, {} found."
.format(nodeType, len(nodes))) .format(nodeType, len(nodes)))
return nodes[0] return nodes[0]

View file

@ -119,7 +119,7 @@ meshroomExe = PlatformExecutable(
) )
meshroomPhotog = PlatformExecutable( meshroomPhotog = PlatformExecutable(
"bin/meshroom_photogrammetry" "bin/meshroom_batch"
) )
meshroomCompute = PlatformExecutable( meshroomCompute = PlatformExecutable(