From fa86cde7c23daa60cc539a67913c08806b9de79d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Candice=20Bent=C3=A9jac?= Date: Thu, 23 Feb 2023 18:13:18 +0100 Subject: [PATCH] [nodes] KeyframeSelection: Add debug option to skip sharpness computations Add a debug option that will, during the scores' computation, skip all the calculations regarding sharpness. A fixed sharpness score of 1.0 will be applied to all the frames. --- meshroom/nodes/aliceVision/KeyframeSelection.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/meshroom/nodes/aliceVision/KeyframeSelection.py b/meshroom/nodes/aliceVision/KeyframeSelection.py index 8c1d6aa9..399a0133 100644 --- a/meshroom/nodes/aliceVision/KeyframeSelection.py +++ b/meshroom/nodes/aliceVision/KeyframeSelection.py @@ -304,6 +304,14 @@ You can extract frames at regular interval by configuring only the min/maxFrameS ) ] ), + desc.BoolParam( + name="skipSharpnessComputation", + label="Skip Sharpness Computation", + description="Skip the sharpness score computation. A fixed score of 1.0 will be applied by default to all the frames.", + value=False, + uid=[0], + enabled=lambda node: node.debugOptions.enabled + ), desc.BoolParam( name="skipSelection", label="Skip Frame Selection",