Switch Viacam (sViacam for short) is a free webcam based switch emulator. Using a web camera, you can configure a particular spot in which motion is detected to trigger a mouse click or a keystroke. As no particular features or shapes are detected, events can be fired using almost any part of the body or object moving in front of the camera. Currently, up to two virtual switches can be emulated.
Try GazePointer which lets you move mouse cursor using your eyes. EyeTracking via ordinary WebCam, No IR light sourceforge.net/projects/gazepointer/