Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

WebGazer.js

webgazer.cs.brown.edu

  • Free plan
  • Web
  • Self-hosted

What the maker publishes

Browser processing
The library runs entirely in the client browser, so video data does not need to be sent to a server. source
Browsers
The project lists Google Chrome, Microsoft Edge, Mozilla Firefox, Opera, and Safari as supported browsers. source
Browser support
The listed supported browsers are Chrome, Edge, Firefox, Opera, and Safari. source
Calibration
Its model self-calibrates by observing interactions with the page, including clicks and cursor movements. source
Client-side processing
It runs entirely in the client browser, so video data does not need to be sent to a server. source
Consent
WebGazer.js requires the user’s consent to access their webcam. source
Dataset
The site offers a webcam video dataset comprising 51 participants for training and evaluating eye tracking models. source
Dataset
The project provides a dataset containing data from 51 participants, including webcam videos, interaction logs, and gaze locations predicted by a Tobii eye tracker. source
Data storage
Training data can be saved between browser sessions in the browser using IndexedDB via localForage. source
Eye tracking components
Tracker and regression modules can be swapped, and MediaPipe Facemesh is included as the default tracker. source
Founded
2016 source
Hardware
It uses a common webcam and does not require special hardware. source
Integration
The JavaScript library can be added to a website with a script tag and a few lines of code. source
Integration
The project says it can be added to a website with a few lines of JavaScript, including as a script or through the npm package. source
Intended use
The site describes WebGazer.js as a way for websites to understand visitors and transform their user experience. source
License
The official site lists WebGazer.js under the GPLv3 license. source
Local data
Training data can be saved between browser sessions using localforage and IndexedDB; saving across sessions can be disabled. source
Maintainer
The site identifies Jeff Huang as the current maintainer and says WebGazer research began at Brown University, with recent work and maintenance jointly at Pomona College and Brown University. source
Maintenance
As of February 24, 2026, updates are no longer guaranteed, while community support continues through GitHub Issues. source
Maintenance and support
As of February 24, 2026, updates are no longer guaranteed, while community support continues through GitHub Issues. source
Modules
Eye tracking components can be swapped, and the library includes multiple gaze prediction models. source
Prediction models
The included regression modules are ridge, weightedRidge, and threadedRidge. source
Purpose
WebGazer.js uses ordinary webcams to estimate web visitors’ gaze locations on a page in real time. source
Use cases
The site describes the library as a way for websites to understand visitors and transform their user experience. source

Checked against the maker's pages on 7 Oct 2026.