130 likes | 222 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. Changes. No edge detection Move from RGB colour space to HSV colour space White background.
E N D
Tracking the Eyes usinga Webcam ` Presented by: KwesiAckon Supervisor: Mr. J. Connan
Recap Track the eyes Move cursor on the screen using the eyes
Changes No edge detection Move from RGB colour space to HSV colour space White background
HSV (Hue, Saturation, Value) Space -H (hue): Ranges from 0-360. Hue represents the colour type (e.g. blue, red etc). -S (saturation): Ranges from 0-100. It represents the purity of the colour: the higher saturation value is, the clearer the colour is. If saturation is low, the colour looks closer to gray. -V (value): This is the brightness of the colour, and it ranges from 0-100.
HSV colour space represented as a cylinder Red pixel RGB space: 255 0 0 HSV space: 0˚ 100% 100%
Progress Face detection implementation Original image Detected skin pixels 0 < H < 50, 23 < S < 68 Level of accuracy 96.4%
Results for different skin types Dark skin Light skin
Eye detection implementation Obtaining dimensions of eye rectangle: y = Half height of face rectangle x = Half width of face rectangle y1 = 0.10 * y x1 = 0.625 * x Width of eye rectangle = x1 Height of eye rectangle = 2 * y1 x y y1 x1
Tools and Languages Dev-C++ 4.9.9.2 Visual C++ 6.0 OpenCV 1.0.0
Plan Move cursor on screen using the eyes