← all repositories

charliegerard/gaze-detection

A JavaScript library that uses TensorFlow.js face landmark models to detect eye gaze direction for gaze-controlled experiences.

647 stars JavaScript Computer Vision
gaze-detection
Velocity · 7d
+0.3
★ / day
Trend
steady
star history

This library enables gaze tracking directly in the browser using TensorFlow.js. It loads pre-trained face landmark detection models to identify where the user is looking—right, left, up, or straight. The package handles camera setup and provides a simple API to get real-time gaze predictions via requestAnimationFrame, making it accessible for web developers to build accessibility or interaction tools powered by eye tracking.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.