esdalmaijer / PyGaze

an open-source, cross-platform toolbox for minimal-effort programming of eye tracking experiments
www.pygaze.org
GNU General Public License v3.0
670 stars 211 forks source link

Working example for Mac using webcam #167

Open don-charlie-pc opened 2 years ago

don-charlie-pc commented 2 years ago

Hi, I would like to know if there is a working example for MacOS which does not require any tracker but just the webcam. I have tried the examples but they either require a tracker, or fail to run. What I want is to run something which can give an eye position (x, y) similar to what the tracker.sample() function does, but I want it using the webcam.

parkseobin commented 1 year ago

Hi Don,

I was wondering if you managed to make PyGaze work on Mac webcam.

Thank you!

don-charlie-pc commented 1 year ago

Hey @parkseobin I wasn't able to do so...I actually moved to use Python's dlib instead, and dlib works fully on mac. https://towardsdatascience.com/real-time-eye-tracking-using-opencv-and-dlib-b504ca724ac6