Camgaze.js: Browser-Based Eye Tracking with Standard Cameras

As it has always been hardware-dependent, eye tracking has been difficult and costly to use, needing a dedicated piece of hardware or a particular software bundle that is designed for a specific type of hardware. This paper introduces Camgaze.js, a JavaScript library for gaze estimation in a web browser without dedicated hardware or native software. The client-side pipeline includes web-camera video acquisition (via WebRTC), eye localization (Viola-Jones algorithm), pupil detection (thresholding and connected-component analysis of a binary image), and gaze estimation (linear calibration of the gaze position in the camera image). Video frames are acquired, calibrated, and processed entirely within the browser window so that they are not transmitted or stored. (However, host-page scripts can access the given gaze position values exposed by the library.) For the system evaluation, 5 sessions of accuracy estimation and 5 sessions of performance measurement were conducted with a host laptop with a built-in camera. The experiments showed an average radial gaze error of 2.1 inches with a standard deviation of 0.1 inches for 10 tracked targets per session, and a usable sampling rate of 17.5 fps with a standard deviation of 4.5 fps across sessions. These preliminary assessments show promising potential for lightweight, accessible eye tracking that provides coarse gaze estimates, but also confirm limitations such as accuracy, lighting conditions, head pose, and the scale of evaluation.

Authors

Publication Details

Journal
International Journal of Intelligent Systems and Data Science
Published
2026-10-31
DOI
https://doi.org/10.67231/0brt2866
Primary Topic
Gaze Tracking and Assistive Technology
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Camgaze.js: Browser-Based Eye Tracking with Standard Cameras

Santosh Kumar
International Journal of Intelligent Systems and Data Science
Gaze Tracking and Assistive Technology
article

Camgaze.js: Browser-Based Eye Tracking with Standard Cameras

Santosh Kumar
article en

Abstract

As it has always been hardware-dependent, eye tracking has been difficult and costly to use, needing a dedicated piece of hardware or a particular software bundle that is designed for a specific type of hardware. This paper introduces Camgaze.js, a JavaScript library for gaze estimation in a web browser without dedicated hardware or native software. The client-side pipeline includes web-camera video acquisition (via WebRTC), eye localization (Viola-Jones algorithm), pupil detection (thresholding and connected-component analysis of a binary image), and gaze estimation (linear calibration of the gaze position in the camera image). Video frames are acquired, calibrated, and processed entirely within the browser window so that they are not transmitted or stored. (However, host-page scripts can access the given gaze position values exposed by the library.) For the system evaluation, 5 sessions of accuracy estimation and 5 sessions of performance measurement were conducted with a host laptop with a built-in camera. The experiments showed an average radial gaze error of 2.1 inches with a standard deviation of 0.1 inches for 10 tracked targets per session, and a usable sampling rate of 17.5 fps with a standard deviation of 4.5 fps across sessions. These preliminary assessments show promising potential for lightweight, accessible eye tracking that provides coarse gaze estimates, but also confirm limitations such as accuracy, lighting conditions, head pose, and the scale of evaluation.

International Journal of Intelligent Systems and Data ScienceVol. 1(6)
Openalex Percentile: Top 8%
Gaze Tracking and Assistive Technology
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon