Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

improve blink detection #12

Closed
simonarvin opened this issue Jul 13, 2020 · 2 comments
Closed

improve blink detection #12

simonarvin opened this issue Jul 13, 2020 · 2 comments
Labels
good first issue Good for newcomers

Comments

@simonarvin
Copy link
Owner

simonarvin commented Jul 13, 2020

Background

EyeLoop detects blinking by monitoring changes in the monochromatic spectrum (= changes in the mean brightness of the frame).

It turns out that blinks produce very distinct patterns in the mean value when viewed over time, which can be used to detect blinking. How to threshold this pattern depends on the species monitored (eg human, mice) and the general properties of the image (eg contrasts). Thus, we have to normalise this function to improve detection across species and footage types.

Get started

check_blink() is found in /eyeloop/engine/engine.py. For human and mice test footage, click here.

Best,
Simon

@simonarvin simonarvin added the good first issue Good for newcomers label Jul 13, 2020
simonarvin added a commit that referenced this issue Jul 14, 2020
@tosimplicity
Copy link

It would be even amazing if we can detect intentional blinks (vs involuntary eye blinks).

simonarvin added a commit that referenced this issue Jul 16, 2020
@simonarvin
Copy link
Owner Author

see #24

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants