Basic pupil tracking with Gradients in Python (based on Fabian Timm's Algorithm).
Make sure you have OpenCV
installed. Then just install scipy
and you should be all set! Provide an image of an eye called eye.jpg
in the same directory and run python main.py
.