Skip to content

Commit

Permalink
[Node] colorCheckerDetection: Add options to launch detection process…
Browse files Browse the repository at this point in the history
… only on images with a name matching a filter.
  • Loading branch information
demoulinv committed Sep 9, 2023
1 parent 8affa35 commit 976ec9a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions meshroom/nodes/aliceVision/ColorCheckerDetection.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,22 @@ class ColorCheckerDetection(desc.AVCommandLineNode):
value=False,
uid=[0],
),
desc.BoolParam(
name="processAllImages",
label="Process All Images",
description="If checked, detection will be launched on all images.\n"
"If unchecked, only images with a name fitting a regular expression are considered.",
value=True,
uid=[0],
),
desc.File(
name="filter",
label="Filter",
description="Regex to filter images on which he detection will be launched.",
value="*_macbeth.*",
uid=[0],
enabled=lambda node: not node.processAllImages.value
),
desc.ChoiceParam(
name="verboseLevel",
label="Verbose Level",
Expand Down

0 comments on commit 976ec9a

Please sign in to comment.