You're here: Home / Projects /

EyeTracking 1.0 - Tracks User's Eye with Manually Selected Template

EyeTracking 1.0 is a simple program that displays live video from a webcam and tracks user's eye. The system tracks user's eye with a given template, which was manually selected using mouse.

How it works

When the user initially clicks the eye feature, a box is drawn around the square and the subimage within this square is cropped out of the image frame. The cropped image are used as a template to find the position of the feature in subsequent frames. The system determines the position of the feature using Sum of Square Differences (SQD) method. To reduce extensive computation, the system tracks the feature in a "search window", a small area around the position of the feature in previous frame.

Screenshots:

image 1 image 1

Some features to add for the next version:

  • Automatic eye detection
  • Save the video to file
  • Head movement for User Interface

Send suggestion, bug reports or any comments about this program to me [at] nashruddin.com.

Keywords: eye tracking, eye tracker, template matching, sum of square differences, opencv

Share:  del.icio.us logo Save to del.icio.us  digg logo Digg this!

comment.gifComments

Having trouble compiling, i emailed you. (Windows)

comment.gifAdd your comment

(required, will not be published) (optional)