This Pupil plugin allows the export of frames during a running recording. On the extracted frames, the 2D detector is applied for getting a rough preview of the detection quality. After the recording, a build-in viewer is able to visualize the gained previews.
- Drop the
preview.py
into the plugin directory - Activate both the Frame Publisher and the Preview plugin
- (Start a recording - the frames are exported.)
Beside the configuration through the GUI, the parameters utilized by the pupil detector may be specified in a file called user_settings_preview.json
stored in the settings directory (i.e. pupil_capture_settings
). Such a file may look like this:
{
"pupil_size_min": 40,
"pupil_size_max": 200,
"coarse_detection": false
}