mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-21 04:56:28 +02:00
Do not evaluate variables of string parameters in the nodes' description
Set the value of the string parameters in the nodes' description as the unevaluated variable instead of the evaluated variable. The evaluation will be made later, when the nodes with such parameters will be computed.
This commit is contained in:
parent
708eb85c9c
commit
7ec65d828c
7 changed files with 8 additions and 8 deletions
|
@ -159,7 +159,7 @@ The metadata needed are:
|
||||||
name='sensorDatabase',
|
name='sensorDatabase',
|
||||||
label='Sensor Database',
|
label='Sensor Database',
|
||||||
description='''Camera sensor width database path.''',
|
description='''Camera sensor width database path.''',
|
||||||
value=os.environ.get('ALICEVISION_SENSOR_DB', ''),
|
value='${ALICEVISION_SENSOR_DB}',
|
||||||
uid=[],
|
uid=[],
|
||||||
),
|
),
|
||||||
desc.FloatParam(
|
desc.FloatParam(
|
||||||
|
|
|
@ -125,7 +125,7 @@ class CameraLocalization(desc.CommandLineNode):
|
||||||
name='voctree',
|
name='voctree',
|
||||||
label='Voctree',
|
label='Voctree',
|
||||||
description='''[voctree] Filename for the vocabulary tree''',
|
description='''[voctree] Filename for the vocabulary tree''',
|
||||||
value=os.environ.get('ALICEVISION_VOCTREE', ''),
|
value='${ALICEVISION_VOCTREE}',
|
||||||
uid=[0],
|
uid=[0],
|
||||||
),
|
),
|
||||||
desc.File(
|
desc.File(
|
||||||
|
|
|
@ -109,7 +109,7 @@ class CameraRigCalibration(desc.CommandLineNode):
|
||||||
name='voctree',
|
name='voctree',
|
||||||
label='Voctree',
|
label='Voctree',
|
||||||
description='''[voctree] Filename for the vocabulary tree''',
|
description='''[voctree] Filename for the vocabulary tree''',
|
||||||
value=os.environ.get('ALICEVISION_VOCTREE', ''),
|
value='${ALICEVISION_VOCTREE}',
|
||||||
uid=[0],
|
uid=[0],
|
||||||
),
|
),
|
||||||
desc.File(
|
desc.File(
|
||||||
|
|
|
@ -116,7 +116,7 @@ class CameraRigLocalization(desc.CommandLineNode):
|
||||||
name='voctree',
|
name='voctree',
|
||||||
label='Voctree',
|
label='Voctree',
|
||||||
description='''[voctree] Filename for the vocabulary tree''',
|
description='''[voctree] Filename for the vocabulary tree''',
|
||||||
value=os.environ.get('ALICEVISION_VOCTREE', ''),
|
value='${ALICEVISION_VOCTREE}',
|
||||||
uid=[0],
|
uid=[0],
|
||||||
),
|
),
|
||||||
desc.File(
|
desc.File(
|
||||||
|
|
|
@ -74,7 +74,7 @@ If images have known poses, use frustum intersection else use VocabularuTree.
|
||||||
name='tree',
|
name='tree',
|
||||||
label='Voc Tree: Tree',
|
label='Voc Tree: Tree',
|
||||||
description='Input name for the vocabulary tree file.',
|
description='Input name for the vocabulary tree file.',
|
||||||
value=os.environ.get('ALICEVISION_VOCTREE', ''),
|
value='${ALICEVISION_VOCTREE}',
|
||||||
uid=[],
|
uid=[],
|
||||||
enabled=lambda node: 'VocabularyTree' in node.method.value,
|
enabled=lambda node: 'VocabularyTree' in node.method.value,
|
||||||
),
|
),
|
||||||
|
|
|
@ -65,7 +65,7 @@ Thanks to this node, the FeatureMatching node will only compute the matches betw
|
||||||
name='tree',
|
name='tree',
|
||||||
label='Voc Tree: Tree',
|
label='Voc Tree: Tree',
|
||||||
description='Input name for the vocabulary tree file.',
|
description='Input name for the vocabulary tree file.',
|
||||||
value=os.environ.get('ALICEVISION_VOCTREE', ''),
|
value='${ALICEVISION_VOCTREE}',
|
||||||
uid=[],
|
uid=[],
|
||||||
enabled=lambda node: 'VocabularyTree' in node.method.value,
|
enabled=lambda node: 'VocabularyTree' in node.method.value,
|
||||||
),
|
),
|
||||||
|
|
|
@ -95,14 +95,14 @@ You can extract frames at regular interval by configuring only the min/maxFrameS
|
||||||
name='sensorDbPath',
|
name='sensorDbPath',
|
||||||
label='Sensor Db Path',
|
label='Sensor Db Path',
|
||||||
description='''Camera sensor width database path.''',
|
description='''Camera sensor width database path.''',
|
||||||
value=os.environ.get('ALICEVISION_SENSOR_DB', ''),
|
value='${ALICEVISION_SENSOR_DB}',
|
||||||
uid=[0],
|
uid=[0],
|
||||||
),
|
),
|
||||||
desc.File(
|
desc.File(
|
||||||
name='voctreePath',
|
name='voctreePath',
|
||||||
label='Voctree Path',
|
label='Voctree Path',
|
||||||
description='''Vocabulary tree path.''',
|
description='''Vocabulary tree path.''',
|
||||||
value=os.environ.get('ALICEVISION_VOCTREE', ''),
|
value='${ALICEVISION_VOCTREE}',
|
||||||
uid=[0],
|
uid=[0],
|
||||||
),
|
),
|
||||||
desc.BoolParam(
|
desc.BoolParam(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue