mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-03 08:48:40 +02:00
Merge pull request #1974 from alicevision/dev/splitReconstructed
Node to split reconstructed and not reconstructed cameras
This commit is contained in:
commit
24fc217ec6
1 changed files with 51 additions and 0 deletions
51
meshroom/nodes/aliceVision/SfMSplitReconstructed.py
Normal file
51
meshroom/nodes/aliceVision/SfMSplitReconstructed.py
Normal file
|
@ -0,0 +1,51 @@
|
|||
__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 and split it in two
|
||||
- One sfmData with the reconstructed views
|
||||
- One sfmData with the non reconstructed views
|
||||
'''
|
||||
|
||||
inputs = [
|
||||
desc.File(
|
||||
name='input',
|
||||
label='Input',
|
||||
description='''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 with reconstructed cameras',
|
||||
value=desc.Node.internalFolder + 'sfmReconstructed.abc',
|
||||
uid=[],
|
||||
),
|
||||
desc.File(
|
||||
name='notReconstructedOutput',
|
||||
label='Not Reconstructed SfMData File',
|
||||
description='SfMData file with non reconstructed cameras',
|
||||
value=desc.Node.internalFolder + 'sfmNonReconstructed.abc',
|
||||
uid=[],
|
||||
)
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue