Manuscript Offprint

arXiv:2611.04946

How Well Does Webcam Eye Tracking Work "in the Wild"? A Large-Scale Validation of Chiasm and a Comparison with WebGazer

Artem V. Belopolsky, Florian Perdreau

Artem V. Belopolsky, Florian Perdreau

Chiasm, BV, Amsterdam, The Netherlands

Abstract. Webcam eye tracking can greatly accelerate data collection in basic and applied research by reaching large, diverse samples of participants online. However, its spatial performance is generally considered well below that of hardware-based systems, limiting its use. We evaluated the first-generation Chiasm webcam eye tracker in a large online study (N=505N = 505) spanning diverse participants, devices, and recording conditions. Chiasm achieved a mean spatial accuracy of 2.39 cm (≈2.28∘\approx 2.28^\circ at 60 cm), spatial precision (SD) of 1.05 cm (≈1.00∘\approx 1.00^\circ at 60 cm), and sample-to-sample precision (RMS-S2S) of 1.29 cm (≈1.23∘\approx 1.23^\circ at 60 cm). For the 91% of participants who met a 3 cm calibration criterion, spatial accuracy was 2.15 cm (≈2.05∘\approx 2.05^\circ at 60 cm). After three minutes of a task that encouraged head movement, spatial accuracy declined by 0.59 cm, while the gaze center at each target shifted by a mean distance of only 0.37 cm. On the validation block, the offset was 0.30 cm larger for men than for women. Age, region of residence, face luminance, and Michelson contrast showed no reliable relationship with spatial accuracy. A higher eye aspect ratio, a more open eye, was associated with a smaller offset. Wearing glasses decreased spatial accuracy on every validation block. In a comparison between a random subsample (N=101N = 101) and a separate sample tested with the open-source tracker WebGazer (N=101N = 101) using an identical protocol, Chiasm showed substantially better spatial accuracy (2.18 vs. 4.51 cm) and spatial precision (SD; 1.01 vs. 1.55 cm). WebGazer showed better sample-to-sample precision (RMS-S2S; 0.79 vs. 1.26 cm), which likely reflects conservative, over-smoothed estimates rather than superior stability. These results suggest that Chiasm is narrowing the gap between webcam and hardware-based eye tracking, making large-scale gaze research “in the wild” a reality.

Keywords: webcam eye tracking · online experiments · spatial accuracy · spatial precision · sample-to-sample precision · Chiasm · WebGazer

1 Introduction

Eye tracking has proven to be a powerful tool for studying human behavior and cognition, with applications ranging from basic research to user experience (UX) research, marketing, and clinical practice [27, 20, 17, 6, 22, 25, 7, 2, 13,

24, 21, 1, 10, 3, 4, 8]. Yet its potential remains constrained by how difficult it is to collect large and diverse datasets. Most eye tracking is still conducted in the lab, under controlled conditions, one participant at a time. Wearable eye trackers have relaxed some of these constraints, but they still rely on specialized hardware that must be delivered to participants. Webcam eye tracking offers a way around this bottleneck by using the commodity webcams built into virtually every laptop, tablet or smartphone. The idea is simple: anyone with such a device can take part in an eye-tracking experiment. Combined with large, vetted online participant pools such as Prolific [14], this shrinks data collection from weeks to hours.

However, fulfilling this promise presents significant challenges, as data collection takes place “in the wild”, where researchers cannot control participants’ hardware, environment, or behavior. First, commodity webcams are far less capable than the cameras used in lab-based systems. They have lower spatial resolution (often as low as 640 × 480 pixels, with the eye occupying only a small fraction of the image) and lower sampling rates (typically 30–60 Hz, compared to 500–2000 Hz for lab systems such as the EyeLink 1000 Plus). They also lack infrared illumination, which rules out the pupil–corneal reflection method on which most lab-based trackers rely. In addition, webcams apply automatic exposure, white balance, and compression that the experimenter cannot control, and browsers introduce variable frame timing. The rest of the setup varies as well: computing hardware, operating systems, browsers, monitors, and internet connections all differ across participants. Second, the recording environment is uncontrolled: ambient lighting, viewing distance, and potential distractions vary from one participant to the next and can change during a session. Finally, there is no control over participants’ posture and head movements, which are not constrained by a chin rest. Their engagement is also uncontrolled, and an experimenter cannot intervene in real time when data quality deteriorates. These three major challenges for obtaining high-quality gaze data using webcam require not only a gaze estimation algorithm that is robust to the variability in computing infrastructure, recording environment and participant behavior, but also a well-designed user interface that allows self-guidance, feedback and error recovery for the participant, to compensate for the absence of an experimenter in the room.

The most widely used webcam eye tracker is WebGazer [15], an open-source, JavaScript library that detects the eyes in the webcam image and maps eye-image features to screen coordinates using ridge regression, trained on clicks or gazing at calibration points. Several studies estimated WebGazer’s spatial accuracy to be around 4–5° in the lab with further degradation online [19]. Most commercial webcam eye trackers, such as RealEye.io (based on WebGazer, [26]) and LabVanced (deep learning-based, [11]), have not been validated “in the wild”, but rather under controlled and favourable conditions against lab-based systems, and reported spatial accuracy of around 1.5°. One recent study [18] compared the performance of several deep learning-based models for gaze estimation (MPIIGaze [28], ETHXGaze [29] and FAZE [16]) on webcam frames col-lected online (N=65N = 65), but analyzed offline, in several tasks. They showed that FAZE achieved the best performance, with a spatial accuracy of 2.44∘2.44^\circ and a spatial precision (SD) of 1.63∘1.63^\circ and RMS-S2S of 0.47∘0.47^\circ. MPIIGAZe and ETHXGaze achieved a spatial accuracy of 3.70∘3.70^\circ and 3.40∘3.40^\circ, a spatial precision (SD) of 2.96∘2.96^\circ and 2.39∘2.39^\circ, and RMS-S2S of 2.33∘2.33^\circ and 1.80∘1.80^\circ respectively. The increased performance for different models came at the expense of inference time, with inference latency of 12 fps for MPIIGaze, 4 fps for ETHXGaze and 1 fps for FAZE. Especially for FAZE, the most promising model, this means that all processing, including the calibration procedure, has to be done offline, which may impair user experience and be impractical for some applications. It is worth noting that this research evaluated the offline performance of several models on webcam data, but did not evaluate a webcam eye tracking system.

The largest validation of a webcam eye tracker “in the wild” (N=255N = 255) has been recently conducted by iMotions with their own WebET 3.0 tracker [9]. Their algorithm uses deep-learning model “pre-trained on thousands of faces” and with a radial basis function (RBF) calibration mapping. They reported a spatial accuracy of 2.1∘2.1^\circ and that the presence of glasses was the only factor that significantly degraded spatial accuracy. However, the white paper report of iMotions does not provide enough details regarding the validation procedure and analysis, and does not report metrics such as spatial precision (SD) or sample-to-sample precision (RMS-S2S), which are crucial for the evaluation of the tracker’s performance and prevents a clear comparison to other trackers.

There are a few reasons to suspect that the metrics that were previously reported for the webcam eye tracking may be rather optimistic. First, most webcam eye trackers were tested under controlled laboratory conditions, which are not representative of diverse online scenarios [26], [11]. Second, in some studies, recalibration was often performed after short intervals, which was done to reduce the effect of drift over time, but it is not always practical when running online [11], [18]. Third, none of the studies estimated the drift in calibration metrics over time, which is important to know and control for, as showed by [5] for the hardware-based eye trackers. Finally, many studies did not report all the metrics that are crucial for the evaluation of the webcam eye tracker’s performance, such as spatial accuracy, spatial precision (SD) and sample-to-sample precision (RMS-S2S) [19], [9].

In this paper, we evaluated the first-generation Chiasm webcam eye tracker (https://chiasm.eu), which uses a deep neural network to predict gaze from a single webcam image, combined with a custom calibration procedure. We conducted a large online study (N=505N = 505) spanning diverse participants, devices, and recording conditions. We designed a novel validation protocol which allowed us to comprehensively evaluate the webcam eye tracker’s performance “in the wild”. We report spatial accuracy, spatial precision (SD), sample-to-sample precision (RMS-S2S), as well as drift of these metrics over time. In addition, we evaluated how the tracker’s performance varies with different participant and environmental characteristics, such as age, gender, region of residence, eye aspect ratio, face luminance, or Michelson contrast, and presence of glasses. We also compared the performance of Chiasm with WebGazer, since the latter is the most widely used webcam eye tracker and could be implemented with an identical experimental protocol. We collected a separate sample with WebGazer (N=101N = 101) and compared it with a random sample of participants from the Chiasm cohort.

References (27)