Meshroom/meshroom/nodes/aliceVision/ExportMatches.py
Candice Bentéjac fce6ba107c [nodes] Update labels and versions for nodes
Update the versions for all the nodes that have been updated to
support meshes as inputs and fix the case for some labels.

Co-authored-by: Candice Bentéjac <candice.bentejac@gmail.com>
2025-01-17 17:09:09 +01:00

81 lines
2.4 KiB
Python

__version__ = "2.0"
from meshroom.core import desc
from meshroom.core.utils import DESCRIBER_TYPES, VERBOSE_LEVEL
class ExportMatches(desc.AVCommandLineNode):
commandLine = 'aliceVision_exportMatches {allParams}'
size = desc.DynamicNodeSize('input')
category = 'Export'
documentation = '''
'''
inputs = [
desc.File(
name="input",
label="Input",
description="SfMData file.",
value="",
),
desc.ChoiceParam(
name="describerTypes",
label="Describer Types",
description="Describer types used to describe an image.",
values=DESCRIBER_TYPES,
value=["dspsift"],
exclusive=False,
joinChar=",",
),
desc.ListAttribute(
elementDesc=desc.File(
name="featuresFolder",
label="Features Folder",
description="Folder containing some extracted features and descriptors.",
value="",
),
name="featuresFolders",
label="Features Folders",
description="Folder(s) containing the extracted features and descriptors.",
),
desc.ListAttribute(
elementDesc=desc.File(
name="matchesFolder",
label="Matches Folder",
description="Folder containing some computed matches.",
value="",
),
name="matchesFolders",
label="Matches Folders",
description="Folder(s) in which computed matches are stored.",
),
desc.File(
name="filterA",
label="Filter A",
description="One item of the pair must match this.",
value="",
),
desc.File(
name="filterB",
label="Filter B",
description="One item of the pair must match this.",
value="",
),
desc.ChoiceParam(
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
),
]
outputs = [
desc.File(
name="output",
label="Folder",
description="Output path for the features and descriptors files (*.feat, *.desc).",
value=desc.Node.internalFolder,
),
]