130 likes | 252 Views
Tracking the Eyes using a Webcam. `. Presented by: Kwesi Ackon. Supervisor: Mr. J. Connan. 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
E N D
Tracking the Eyes usinga Webcam ` Presented by: Kwesi Ackon Supervisor: Mr. J. Connan
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.
struct Pixel { int red; int green; int blue; int mark; } If a pixel V value is less than 90 we set mark equal 1
Locate pupil in eye rectangle by setting a threshold of H > 75
Testing • Tested on people with black pupil
Shortcomings • Lack Accuracy • Lack of Speed