[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.
This commit is contained in:
Candice Bentéjac 2023-02-23 18:13:18 +01:00
parent 808509fd7b
commit fa86cde7c2

View file

@ -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( desc.BoolParam(
name="skipSelection", name="skipSelection",
label="Skip Frame Selection", label="Skip Frame Selection",