Close

Problems Detecting Pupil Movement Through Javascript

A project log for BlinkToText

BlinkToText is an open source, free, and easy to use software program that converts eye blinks to text.

swaleh-owaisSwaleh Owais 10/05/2017 at 03:590 Comments

I have been trying to develop an accurate eye tracker in with Clmtrackr for a week now. Unfortunately, I cannot precisely detect eye movement to the degree that I require. At most, I am able to detect if the pupil is on the left side or right side of the eye. Even this small feat requires basic environment variables, such as lighting, to be constrained.

I researched other software example that use Clmtrackr to detect eye movement. They seem to suffer from similar problems. This example eye tracker shares the same issues that my program has.

https://webgazer.cs.brown.edu/demo.html?

I feel like Clmtrackr is not meant for the eye tracking that I require.

Additionally, many of my acquaintances that have tried out the software felt eye strain after extended usage. I definitely do not want to make any patients that use the software uncomfortable. I get the feeling that using pupil movements to communicate long messages might cause some uncomfortable eye strain.

From now on, I plan on using eye blinks as a means of communication, instead of pupil movement. There is already a long history of people sending long Morse Code messages through eye blinks.

I have been testing python algorithms that detect eye blinks. My prototype programs have provided encouraging results. It seems like I can accurately detect if a person in blinking in a variety of environments. I am going to move away from Clmtrackr to OpenCV for my eye detection.

Eventually, I believe I can host my python program in a Django website.

Discussions