mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-29 10:17:27 +02:00
51 lines
1.6 KiB
Python
51 lines
1.6 KiB
Python
__version__ = "1.0"
|
|
|
|
from meshroom.core import desc
|
|
|
|
|
|
class SfMSplitReconstructed(desc.AVCommandLineNode):
|
|
commandLine = 'aliceVision_sfmSplitReconstructed {allParams}'
|
|
size = desc.DynamicNodeSize('input')
|
|
|
|
category = 'Utils'
|
|
documentation = '''
|
|
This nodes takes a SfMData file as an input and splits it in two output SfMData files:
|
|
- One SfMData containing the reconstructed views
|
|
- One SfMData containing the non-reconstructed views
|
|
'''
|
|
|
|
inputs = [
|
|
desc.File(
|
|
name="input",
|
|
label="Input SfMData",
|
|
description="Input SfMData file.",
|
|
value="",
|
|
uid=[0],
|
|
),
|
|
desc.ChoiceParam(
|
|
name="verboseLevel",
|
|
label="Verbose Level",
|
|
description="Verbosity level (fatal, error, warning, info, debug, trace).",
|
|
value="info",
|
|
values=["fatal", "error", "warning", "info", "debug", "trace"],
|
|
exclusive=True,
|
|
uid=[],
|
|
),
|
|
]
|
|
|
|
outputs = [
|
|
desc.File(
|
|
name="reconstructedOutput",
|
|
label="Reconstructed SfMData File",
|
|
description="SfMData file containing the reconstructed cameras.",
|
|
value=desc.Node.internalFolder + "sfmReconstructed.abc",
|
|
uid=[],
|
|
),
|
|
desc.File(
|
|
name="notReconstructedOutput",
|
|
label="Not Reconstructed SfMData File",
|
|
description="SfMData file containing the non-reconstructed cameras.",
|
|
value=desc.Node.internalFolder + "sfmNonReconstructed.abc",
|
|
uid=[],
|
|
)
|
|
]
|