Moving The Mouse Pointer Using Eye Gazing Student: Ibraheem Frieslaar Supervisor: Mehrdad Ghaziasgar
Feb 23, 2016
Moving The Mouse Pointer Using Eye Gazing
Student: Ibraheem Frieslaar
Supervisor: Mehrdad Ghaziasgar
OVERVIEWINTRODUCTION
USER INTERFACE SPECIFICATION
HIGH LEVEL DESIGN
LOW LEVEL DESIGN
DEMO
REFERENCES
QUESTIONS & ANSWERS
INTRODUCTION Eye ball tracker
Using the webcam to determine eye gaze
location
Moving the mouse to that location
USER INTERFACE SPECIFICATION
Runs in the Background
It’s a Daemon
High Level Design
InputWebcam
Move Mouse Pointer
ImageProcessing
Low Level Design
InputWebcam
Move Mouse Pointer
ImageProcessing
Haar Detectio
nLocate
Iris SVMLocate Eyes
Determine left Eye
Low Level DesignInput
Webcam
• Acquire Image
• cvQueryFrame( capture )
Low Level Design
Haar Detectio
n
cvHaarDetectObjects
• Haar like features
• Detects Eyes
Low Level Design
Locate Eyes
• Set Haar Detection as Region of Intrest
cvSetImageROI
cvSetImageROI/2
• Half the image for left eyeDetermin
e left Eye
Low Level Design
• circles = cvHoughCircles
• DarkPixels = DarkPixels + (255-s.val[0])
• MaxDarkPixels = DarkPixels
• cvCircle
Locate Iris
• Hough Circles
• Determine Darkest Pixels
• Display Circle
Low Level Design
SVM
• Eye Redrawn
system("svm-predict.exe Test trainer.model result")
• Values sent to Support Vector Machine (SVM)
1 1:255 2:255 3:255 4:0 5:0 6:0 7:255 8:255
Right Eye
• Pixel values saved
• SVM Prediction
Low Level Design
Move Mouse Pointer
SetCursorPos(x,y);
Demo
REFERENCESOpenCVWiki. lOpenCVWiki. [Online]. http://
opencv.willowgarage.com/wiki/FullOpenCVWiki
Heiko Drewes, "Eye Gaze Tracking for Human Computer Interaction," Ludwig-Maximilians-Universität, Munich, 2010.
QUESTIONS AND ANSWERS
Thank You!