[nodes] Use utilitary constants for most common ChoiceParams

This commit is contained in:
Candice Bentéjac 2024-02-08 16:05:33 +01:00
parent b8d14fe6be
commit 0f6ad22d11
73 changed files with 195 additions and 109 deletions

View file

@ -1,6 +1,7 @@
__version__ = "3.3"
from meshroom.core import desc
from meshroom.core.utils import DESCRIBER_TYPES, VERBOSE_LEVEL
class StructureFromMotion(desc.AVCommandLineNode):
@ -97,8 +98,8 @@ It iterates like that, adding cameras and triangulating new 2D features into 3D
name="describerTypes",
label="Describer Types",
description="Describer types used to describe an image.",
values=DESCRIBER_TYPES,
value=["dspsift"],
values=["sift", "sift_float", "sift_upright", "dspsift", "akaze", "akaze_liop", "akaze_mldb", "cctag3", "cctag4", "sift_ocv", "akaze_ocv", "tag16h5"],
exclusive=False,
uid=[0],
joinChar=",",
@ -394,8 +395,8 @@ It iterates like that, adding cameras and triangulating new 2D features into 3D
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)