Online Webcam-based Eye Tracking in Cognitive Science: A First Look
Overview
Authors
Affiliations
Online experimentation is emerging in many areas of cognitive psychology as a viable alternative or supplement to classical in-lab experimentation. While performance- and reaction-time-based paradigms are covered in recent studies, one instrument of cognitive psychology has not received much attention up to now: eye tracking. In this study, we used JavaScript-based eye tracking algorithms recently made available by Papoutsaki et al. (International Joint Conference on Artificial Intelligence, 2016) together with consumer-grade webcams to investigate the potential of online eye tracking to benefit from the common advantages of online data conduction. We compared three in-lab conducted tasks (fixation, pursuit, and free viewing) with online-acquired data to analyze the spatial precision in the first two, and replicability of well-known gazing patterns in the third task. Our results indicate that in-lab data exhibit an offset of about 172 px (15% of screen size, 3.94° visual angle) in the fixation task, while online data is slightly less accurate (18% of screen size, 207 px), and shows higher variance. The same results were found for the pursuit task with a constant offset during the stimulus movement (211 px in-lab, 216 px online). In the free-viewing task, we were able to replicate the high attention attribution to eyes (28.25%) compared to other key regions like the nose (9.71%) and mouth (4.00%). Overall, we found web technology-based eye tracking to be suitable for all three tasks and are confident that the required hard- and software will be improved continuously for even more sophisticated experimental paradigms in all of cognitive psychology.
EasyEyes: Crowded Dynamic Fixation for Online Psychophysics.
Hu F, Chen J, Pelli D, Winawer J bioRxiv. 2025; .
PMID: 40060601 PMC: 11888485. DOI: 10.1101/2025.02.26.640403.
Possible Differences in Visual Attention to Faces in the Context of Mate Choice and Competition.
Patkova Z, Grygarova D, Adamek P, Trebicka Fialova J, Havlicek J, Trebicky V Arch Sex Behav. 2025; .
PMID: 40000543 DOI: 10.1007/s10508-025-03086-6.
Navas-Leon S, Sanchez-Martin M, Tajadura-Jimenez A, De Coster L, Borda-Mas M, Morales L BMC Psychiatry. 2025; 25(1):133.
PMID: 39953439 PMC: 11829530. DOI: 10.1186/s12888-025-06583-z.
The fundamentals of eye tracking part 3: How to choose an eye tracker.
Nystrom M, Hooge I, Hessels R, Andersson R, Hansen D, Johansson R Behav Res Methods. 2025; 57(2):67.
PMID: 39843609 PMC: 11754381. DOI: 10.3758/s13428-024-02587-x.
The fundamentals of eye tracking part 4: Tools for conducting an eye tracking study.
Niehorster D, Nystrom M, Hessels R, Andersson R, Benjamins J, Hansen D Behav Res Methods. 2025; 57(1):46.
PMID: 39762687 PMC: 11703944. DOI: 10.3758/s13428-024-02529-7.