charliegerard/gaze-detection

👀 Use machine learning in JavaScript to detect eye movements and build gaze-controlled experiences.

54
/ 100
Established

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.

Stale 6m
Maintenance 0 / 25
Adoption 15 / 25
Maturity 25 / 25
Community 14 / 25

How are scores calculated?

Stars

646

Forks

45

Language

JavaScript

License

GPL-3.0

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.