This is a Python (2 and 3) library that provides a webcam-based eye tracking system. It gives you the exact position of the pupils and the gaze direction, in real time.
Install these dependencies (NumPy, OpenCV, Dlib):
Run the demo:
python eye_tracking.py