Ask Your Question

Revision history [back]

Eye blink detection in C# or Python

I have a friend who had a stroke last year and now has locked-in-syndrome (he has limited eye movement and can blink). This is Richard https://youtu.be/F7dxInIzcEE

I wrote some software for him to help him to communicate by blinking, but now I want to enable him to control it himself rather than depending on someone else to operate the software for him.

I need an OpenCV example of how to reliably detect if his eyes are open or closed. I tried DLib but it was too slow, so I am looking for an OpenCV solution. I'd prefer a C# example, but if I have no other options then Python looks intuitive enough for me to attempt a translation.

If anyone can help me I would appreciate it very much, and so would Richard.

Thanks

Pete

PS: From the video you might ascertain the fact that Richard cannot wink :D

Eye blink detection in C# or Python

I have a friend who had a stroke last year and now has locked-in-syndrome (he has limited eye movement and can blink). This is Richard https://youtu.be/F7dxInIzcEE

I wrote some software for him to help him to communicate by blinking, but now I want to enable him to control it himself rather than depending on someone else to operate the software for him.

I need an OpenCV example of how to reliably detect if his eyes are open or closed. I tried DLib but it was too slow, so I am looking for an OpenCV solution. I'd prefer a C# example, but if I have no other options then Python looks intuitive enough for me to attempt a translation.

If anyone can help me I would appreciate it very much, and so would Richard.

Thanks

Pete

PS: From the video you might ascertain the fact that Richard cannot wink :D