mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-07-17 08:37:17 +02:00
[nodes] KeyframeSelection: add debug parameters
- "computeScores" computes the scores for sharpness and motion on the input frames at full resolution - "computeRescaled" computes the scores for sharpness and motion on the rescaled input frames - "exportSharpness" exports the computed sharpness scores into a CSV file - "exportFlow" exports the computed optical flow scores into a CSV file - "noSelection" stops the execution once the scores have been computed (and exported, if enabled); the keyframe selection will not be performed
This commit is contained in:
parent
a02adfbc28
commit
77bc977b68
1 changed files with 47 additions and 0 deletions
|
@ -104,6 +104,53 @@ You can extract frames at regular interval by configuring only the min/maxFrameS
|
|||
exclusive=True,
|
||||
uid=[],
|
||||
),
|
||||
|
||||
desc.GroupAttribute(
|
||||
name="debug",
|
||||
label="Debug Parameters",
|
||||
description="Debugging options for Keyframe Selection",
|
||||
group=None,
|
||||
groupDesc=[
|
||||
desc.BoolParam(
|
||||
name='computeScores',
|
||||
label='Compute Sharpness And Optical Flow Scores',
|
||||
description='Compute sharpness and optical flow scores on all the input frames, at full resolution.',
|
||||
value=False,
|
||||
uid=[0],
|
||||
),
|
||||
desc.BoolParam(
|
||||
name='computeRescaled',
|
||||
label='Compute Scores Of Rescaled Inputs',
|
||||
description='Compute, in additon to the sharpness and optical flow scores on full resolution images, the same scores on rescaled images.',
|
||||
value=True,
|
||||
enabled=lambda node: node.debug.computeScores.value,
|
||||
uid=[],
|
||||
),
|
||||
desc.BoolParam(
|
||||
name='exportSharpness',
|
||||
label='Export Sharpness Scores',
|
||||
description='Export the sharpness score of each frame into a CSV file.',
|
||||
value=True,
|
||||
enabled=lambda node: node.debug.computeScores.value,
|
||||
uid=[],
|
||||
),
|
||||
desc.BoolParam(
|
||||
name='exportFlow',
|
||||
label='Export Optical Flow Scores',
|
||||
description='Export the optical flow score of each frame into a CSV file.',
|
||||
value=True,
|
||||
enabled=lambda node: node.debug.computeScores.value,
|
||||
uid=[],
|
||||
),
|
||||
desc.BoolParam(
|
||||
name='noSelection',
|
||||
label='Cancel Keyframe Selection',
|
||||
description='Do not perform the keyframe selection after the score computations.',
|
||||
value=True,
|
||||
enabled=lambda node: node.debug.computeScores.value,
|
||||
uid=[],
|
||||
)
|
||||
]),
|
||||
]
|
||||
|
||||
outputs = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue