Meshroom/meshroom/nodes/aliceVision/SfmBootstraping.py
2024-09-12 10:41:55 +02:00

56 lines
1.4 KiB
Python

__version__ = "2.0"
from meshroom.core import desc
from meshroom.core.utils import DESCRIBER_TYPES, VERBOSE_LEVEL
class SfMBootStraping(desc.AVCommandLineNode):
commandLine = 'aliceVision_sfmBootstraping {allParams}'
size = desc.DynamicNodeSize('input')
category = 'Sparse Reconstruction'
documentation = '''
'''
inputs = [
desc.File(
name="input",
label="SfMData",
description="SfMData file.",
value="",
invalidate=True,
),
desc.File(
name="tracksFilename",
label="Tracks File",
description="Tracks file.",
value="",
invalidate=True,
),
desc.File(
name="pairs",
label="Pairs File",
description="Information on pairs.",
value="",
invalidate=True,
),
desc.ChoiceParam(
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
exclusive=True,
invalidate=False,
),
]
outputs = [
desc.File(
name="output",
label="SfMData",
description="Path to the output SfMData file.",
value=desc.Node.internalFolder + "sfm.json",
invalidate=False,
),
]