mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-02 00:08:29 +02:00
[nodes] create default values from os.environ directly in nodes
This commit is contained in:
parent
c38c2d3407
commit
0bdad5a588
3 changed files with 5 additions and 5 deletions
|
@ -6,14 +6,12 @@ from .core.graph import Graph
|
|||
def photogrammetryPipeline():
|
||||
# type: () -> Graph
|
||||
graph = Graph('pipeline')
|
||||
cameraInit = graph.addNewNode('CameraInit',
|
||||
sensorDatabase=os.environ.get('ALICEVISION_SENSOR_DB', None))
|
||||
cameraInit = graph.addNewNode('CameraInit')
|
||||
featureExtraction = graph.addNewNode('FeatureExtraction',
|
||||
input=cameraInit.outputSfm)
|
||||
imageMatching = graph.addNewNode('ImageMatching',
|
||||
input=cameraInit.outputSfm,
|
||||
featuresDirectory=featureExtraction.output,
|
||||
tree=os.environ.get('ALICEVISION_VOCTREE', None),
|
||||
)
|
||||
featureMatching = graph.addNewNode('FeatureMatching',
|
||||
input=cameraInit.outputSfm,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue