mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-18 03:26:30 +02:00
[nodes] Use utilitary constants for most common ChoiceParams
This commit is contained in:
parent
b8d14fe6be
commit
0f6ad22d11
73 changed files with 195 additions and 109 deletions
|
@ -2,6 +2,7 @@ __version__ = "1.0"
|
|||
|
||||
import os
|
||||
from meshroom.core import desc
|
||||
from meshroom.core.utils import DESCRIBER_TYPES, VERBOSE_LEVEL
|
||||
|
||||
|
||||
class CameraRigLocalization(desc.AVCommandLineNode):
|
||||
|
@ -51,8 +52,8 @@ class CameraRigLocalization(desc.AVCommandLineNode):
|
|||
name="matchDescTypes",
|
||||
label="Match Describer Types",
|
||||
description="The describer types to use for the matching.",
|
||||
values=DESCRIBER_TYPES,
|
||||
value=["dspsift"],
|
||||
values=["sift", "sift_float", "sift_upright", "dspsift", "akaze", "akaze_liop", "akaze_mldb", "cctag3", "cctag4", "sift_ocv", "akaze_ocv"],
|
||||
exclusive=False,
|
||||
uid=[0],
|
||||
joinChar=",",
|
||||
|
@ -176,8 +177,8 @@ class CameraRigLocalization(desc.AVCommandLineNode):
|
|||
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=[],
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue