mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-20 04:26:28 +02:00
45 lines
1.2 KiB
Python
45 lines
1.2 KiB
Python
import sys
|
|
import os
|
|
from meshroom.core import desc
|
|
|
|
|
|
class SfMAlignment(desc.CommandLineNode):
|
|
internalFolder = '{cache}/{nodeType}/{uid0}/'
|
|
commandLine = 'aliceVision_utils_sfmAlignment {allParams}'
|
|
size = desc.DynamicNodeSize('input')
|
|
|
|
inputs = [
|
|
desc.File(
|
|
name='input',
|
|
label='Input',
|
|
description='''SfMData file .''',
|
|
value='',
|
|
uid=[0],
|
|
),
|
|
desc.File(
|
|
name='reference',
|
|
label='Reference',
|
|
description='''Path to the scene used as the reference coordinate system.''',
|
|
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='output',
|
|
label='Output',
|
|
description='''Aligned SfMData file .''',
|
|
value='{cache}/{nodeType}/{uid0}/alignedSfM.abc',
|
|
uid=[],
|
|
),
|
|
]
|