charliegerard/gaze-detection
👀 Use machine learning in JavaScript to detect eye movements and build gaze-controlled experiences.
Leverages TensorFlow.js's face landmark detection model to classify gaze direction (RIGHT, LEFT, TOP, STRAIGHT) from webcam video streams in real-time. Provides a simple async API for loading the ML model, initializing camera input with device selection support, and continuously polling gaze predictions via `requestAnimationFrame`. Works cross-platform including mobile browsers, enabling developers to build interactive gaze-controlled interfaces without server-side processing.
646 stars and 110 monthly downloads. No commits in the last 6 months. Available on npm.
Stars
646
Forks
45
Language
JavaScript
License
GPL-3.0
Category
Last pushed
Jun 24, 2021
Monthly downloads
110
Commits (30d)
0
Dependencies
4
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/computer-vision/charliegerard/gaze-detection"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
theankurkedia/blink-detection
Detect the user's blink and wink using machine learning
Ahmednull/L2CS-Net
The official PyTorch implementation of L2CS-Net for gaze estimation and tracking
facemoji/mocap4face
Cross-platform SDK for facial motion capture producing blendshapes and rigid head poses in 3D...
WangWilly/gaze-correction-cam
The Gaze Correction Camera project is an advanced real-time gaze correction system designed to...
jeeliz/jeelizGlanceTracker
Real-time JavaScript/WebGL library to detect whether the user is looking at the screen....