Tracking the Eyes using a Webcam ` Presented by: Kwesi Ackon Supervisor: Mr. J. Connan 1
Recap Track the eyes Move cursor on the screen using the eyes
Implementation Face detection implementation Original image Grayscale image
Move from RGB colour space to HSV colour space For grayscale image H = 0, S = 0, 0 < = v <= 100 H = 0, S = 0, V = 100 represents a white pixel.
Eliminate white background by setting a threshold of V < 90
struct Pixel { int red; int green; int blue; int mark; } If a pixel V value is less than 90 we set mark equal 1
Face Rectangle
Eye Rectangle
Locate pupil in eye rectangle by setting a threshold of
Biggest Blob Detection
Testing Tested on people with black pupil
Shortcomings Lack Accuracy Lack of Speed
?