mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-10 23:56:54 +02:00
40 lines
966 B
Python
40 lines
966 B
Python
__version__ = "1.0"
|
|
|
|
from meshroom.core import desc
|
|
|
|
|
|
class ImportKnownPoses(desc.AVCommandLineNode):
|
|
commandLine = 'aliceVision_importKnownPoses {allParams}'
|
|
size = desc.DynamicNodeSize('sfmData')
|
|
|
|
documentation = '''
|
|
Import known poses from various file formats like xmp or json.
|
|
'''
|
|
|
|
inputs = [
|
|
desc.File(
|
|
name='sfmData',
|
|
label='SfmData',
|
|
description='SfMData file.',
|
|
value='',
|
|
uid=[0],
|
|
),
|
|
desc.File(
|
|
name='knownPosesData',
|
|
label='KnownPosesData',
|
|
description='KnownPoses data in the json or xmp format',
|
|
value='',
|
|
uid=[0],
|
|
),
|
|
]
|
|
|
|
outputs = [
|
|
desc.File(
|
|
name='output',
|
|
label='Output',
|
|
description='Path to the output smfData file.',
|
|
value=desc.Node.internalFolder + "/sfmData.abc",
|
|
uid=[],
|
|
),
|
|
]
|
|
|