Just wondering, has anyone here used OF to write a code for tracking eyes? I did a search for eye tracking in the forum but nothing turned up.
Anyway, i found a link to a project that was featured quite some time ago called openEyes and there’s an open source C code available on the site. Maybe we could add this feature among other things like faceTracking and colorTracking, called eyeTracking??
From what I understand you want to work in infrared as it is much easier to track the pupil.
A good place to start is to use the ofxOpenCV addon to get blob contours and try and eliminate ones that don’t fit the pattern of a pupil (ie too big, too small, not in the center of the frame, etc etc)