Controlling the Laptop mouse using only head movements. A proof of concept prototype to help realize the possibilities which will help quadriplegia patients use a Laptop.
Click the below image to view the video
For common users: Extract the iMouse_test1_windows.zip and run the iMouse.exe file. Users are advised not to use this while wearing sepctacles. A good camera is recommended for better results.
For developers:
- Download the Code folder
- Install OpenCV
- Run iMouse_test1.py
A simple haarcascade classification is done to first detect eyes of the user. The centroid of the eyes is used to move the mouse pointer after interpolation. A mean filter is applied on the centroid values for smoother results.
Developers can try and make this more dependable and reliable by using better Machine Learning techniques. Also left click, right click can be added via eye blinks. Feel free to fork!