pupil-labs / pupil

Open source eye tracking
https://pupil-labs.com
GNU Lesser General Public License v3.0
1.46k stars 674 forks source link

Blink Detector State instead of / in addition to Events #1285

Open schtiefel opened 6 years ago

schtiefel commented 6 years ago

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):

For 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.

papr commented 5 years ago

@fneitzel generously offered his help with this issue. I will assign myself as placeholder since I cannot assign him directly.