It would be nice to have the Blink Detector plugin maintaining an internal "current blink state" (bool) instead of / in addition to only detecting the blink-related events (onsets, offsets):
switch to true on (already implemented) blink onset events and
switch back to false on (already impl.) saccade offset events
For cases in which the offset event was not detected (confidence increase not fast enough) other means are required to switch back, e.g.
confidence value exceeds a fixed fallback confidence threshold
confidence value increases by a fixed amount since onset (regardless of how fast)
fixed amount of time has passed since onset, based on human physiological heuristics, i.e. average maximal blink duration
It would then be possible to "publish" onset and offset events in pairs.
It would be nice to have the Blink Detector plugin maintaining an internal "current blink
state
" (bool) instead of / in addition to only detecting the blink-related events (onsets, offsets):true
on (already implemented) blink onset events andfalse
on (already impl.) saccade offset eventsFor cases in which the offset event was not detected (confidence increase not fast enough) other means are required to switch back, e.g.
It would then be possible to "publish" onset and offset events in pairs.