Home > Preparation > Preparation for Degradation Category Rating (DCR) > Configure for create_trapping_clips.py
This describes the configuration for the create_trapping_clips
script. A sample configuration file can be found in
configurations\trapping.cfg
.
The create_trapping_clips
script creates the trapping clips using a subset of videos in the original dataset.
For each video, it will use the video parts from begining and end, and add a text message in between asking participant
to select an specific answer to show their attention.
messages_line1
,messages_line2
: the message to be shown to the participant.{0}
will be replaced with a number betweenscale_min
, andscale_max
.
message_duration_in_seconds
: for how long should the message be shownscale_min
: minimum score that can be selected using the scale e.g. 1.scale_max
: maximum score that can be selected using the scale e.g. 5.
One of the following options should be used:
-
include_from_source_stimuli_in_second = 2
: use first 2 seconds from thesource
clips to generate the trapping clips. It may lead to a clip duration that is different from the rest of clips which should be rated. -
keep_original_duration = true
: As a result each generated clips will be as long as the corresponding original clip. It is the recommended setting.