{"repo":"antoinelame/GazeTracking","free":true,"listed":false,"github":"https://github.com/antoinelame/GazeTracking","clone":"git clone https://github.com/antoinelame/GazeTracking.git","description":"👀 Eye Tracking library easily implementable to your projects","language":"Python","stars":2618,"topics":["eye-tracking","gaze-tracking","opencv","python"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Gaze Tracking This is a Python library (3.10+) that provides a webcam-based eye tracking system . It gives you the exact position of the pupils and the gaze direction, in real time. Installation Clone the project: Requires Python 3.10+ . Pick one of the four options below. Option 1 — pip The standard way. Works everywhere. Option 2 — uv A faster alternative to pip. Install uv first. Option 3 — Anaconda If you already use conda. Option 4 — Docker Runs in an isolated container. Linux only (uses your webcam and display). Trouble installing dlib? The wheel usually installs fine. If pip tries to compile it from source, install CMake first: brew install cmake (macOS) or sudo apt install cmake build-essential (Ubuntu). Run the demo Simple Demo Documentation In the following examples, gaze refers to an instance of the GazeTracking class. Refresh the frame Pass the frame to analyze (numpy.ndarray). If you want to work with a video stream, you need to put this instruction in a loop, like the example above. Position of the left pupil Returns the coordinates (x,y) of the left pupil. Position of the right pupil Returns the coordinates (x,y) of the right pupil. Looking to the left Returns True if the user is looking to the left. Looking to the right Returns True if the user is looking to the right. Looking at the center Returns True if the user is looking at the center. Horizontal direction of the gaze Returns a number between 0.0 and 1.0 that indicates the horizontal direction of the gaze","default_branch":null,"files":null,"tree":[],"storefront":"/r/antoinelame","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/antoinelame/GazeTracking/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}