` tracking the eyes using a webcam presented by: kwesi ackon kwesi ackon supervisor: mr. j. connan
TRANSCRIPT
`̀
Tracking the Eyes Tracking the Eyes usingusing
a Webcama WebcamPresented by: Presented by: Kwesi AckonKwesi Ackon
Supervisor: Mr. J. ConnanSupervisor: Mr. J. Connan
RecapRecap Track the eyesTrack the eyes
Move cursor on the screen using the eyesMove cursor on the screen using the eyes
ChangesChanges No edge detectionNo edge detection
Move from RGB colour space to HSV Move from RGB colour space to HSV colour spacecolour space
White backgroundWhite background
HSV (Hue, Saturation, Value) SpaceHSV (Hue, Saturation, Value) Space
--H (hue): Ranges from 0-360. Hue represents theH (hue): Ranges from 0-360. Hue represents the
colour type (e.g. blue, red etc).colour type (e.g. blue, red etc).
--S (saturation): Ranges from 0-100. It represents the purity of the S (saturation): Ranges from 0-100. It represents the purity of the colour: the higher saturation value is, the clearer the colour is. If colour: the higher saturation value is, the clearer the colour is. If saturation is low, the colour looks closer to gray.saturation is low, the colour looks closer to gray.
--V (value): This is the brightness of the colour, and it ranges from V (value): This is the brightness of the colour, and it ranges from 0-100.0-100.
HSV colour space represented as a cylinderHSV colour space represented as a cylinder
Red pixelRGB space: 255 0 0HSV space: 0˚ 100% 100%
Conversion from RGB to HSVConversion from RGB to HSV
ProgressProgress Face detection implementationFace detection implementation
Original Original image Detected skin pixelsDetected skin pixels0 < H < 50, 23 < S < 68 0 < H < 50, 23 < S < 68
Level of accuracy 96.4%
Results for different skin typesResults for different skin types
Dark skinDark skin
Light skinLight skin
Eye detection implementationEye detection implementation
yx
y1
x1
Obtaining dimensionsof eye rectangle:y = Half height of face rectanglex = Half width of face rectangley1 = 0.10 * yx1 = 0.625 * x Width of eye rectangle = x1Height of eye rectangle= 2 * y1
Results for eye detectionResults for eye detection
Tools and LanguagesTools and Languages Dev-C++ 4.9.9.2Dev-C++ 4.9.9.2 Visual C++ 6.0Visual C++ 6.0 OpenCV 1.0.0 OpenCV 1.0.0
PlanPlan Move cursor on screen using the eyesMove cursor on screen using the eyes