Controling cursor through eye movement
I am doing a project in which I have to control the computer mouse through eye movement. In my project, I will have the co-ordinates from the images of the eye position taken through a camera which are to be used to control the mouse movement. Other mouse operations like clicking and double clicking are to be controlled through blinking, which can be modelled as some time period for which the image obtained is a white screen from the camera. I want to know the modification necessary in the program given above for implementing the cotrol I desire.