esdalmaijer / webcam-eyetracker

Webcam-based pupil-tracker, complete with GUI to perform calibrations.
http://www.pygaze.org/2015/06/webcam-eye-tracker/
GNU General Public License v3.0
294 stars 105 forks source link

Added support for VideoCapture library #4

Closed mxgxw closed 8 years ago

mxgxw commented 8 years ago

This commit adds a small modification to support the VideCapture Library. It automatically checks if the library can be loaded and selects the apropiate method calls.

It was tested and working on Python (2.7) in Windows 10 where the camera interface included from pygame doesn't works.

Requires install VideoCapture (0.9) & PIL(1.1.7) libraries.

esdalmaijer commented 8 years ago

Thanks! Didn't realise PyGame support broke on Win10.