menu_book

Knowledge Base

Documentation, guides, and resources for Noldus products.

FaceReader Webcam-Based Eye Tracking

Last updated: Jul 24, 2026

Webcam-Based Eye Tracking Technology

FaceReader offers more than just facial expression analysis. It also provides eye tracking analysis using a regular webcam. Our eyes are our windows to the world, and our gaze reveals what we are looking at, often indicating what we find important. Eye gaze can be stimulus-driven, revealing what implicitly draws attention, but it can also be guided by explicit motivation.

Eye tracking is therefore used across a wide range of fields, such as psychology, marketing, and usability research. Traditionally, eye tracking technology involves dedicated hardware, such as an infrared camera, attached to a computer, with varying price ranges and accuracy depending on requirements. In contrast, using a simple RGB camera enables eye tracking on any computer or laptop with a webcam, greatly increasing flexibility.

This white paper discusses the methodology and accuracy behind the technology. It also provides a validation example for a specific application and explains how to start using it in your own project.

How It Works

The eye tracking algorithm estimates gaze direction and maps it to an image on the screen. The first step is face analysis to locate key points in the face (such as the eyes and nose) and estimate the head pose.

The eye image and head pose information are then processed by a pre-trained convolutional neural network (CNN) to produce a 3D gaze vector (a line segment in three dimensions) representing the direction of the person's eye gaze. The neural network is trained on large, labelled datasets containing screen locations and video recordings, enabling it to learn the relationship between the appearance of the eyes and the corresponding gaze vector.

To map the 3D gaze model to a specific location on the screen, the system must know exactly where the screen is. This is achieved through a calibration task, in which the participant follows dots on the screen. The 3D vector is then mathematically converted into 2D gaze coordinates (x, y) on the screen.

Accuracy of Webcam-Based Eye Tracking Technology

The system was tested on a validation dataset under natural lighting conditions, using data from 17 participants (12 males, 5 females; 9 aged 18-59). Participants completed a dot following task and several psychological tasks. Data was collected with both the webcam-based eye tracking algorithm and a dedicated hardware-based eye tracker (Tobii Nano Pro) in parallel. Participants were seated approximately 75 cm from a 1920x1080p 23-inch screen. They also performed a dot following task on a 15-inch laptop (without the hardware eye tracker).

Eye Tracking Error Rate

FaceReader (webcam-based eye tracking) Tobii Nano Pro (hardware-based eye tracking)
Desktop [23" screen] 2.4 +/-1.5 cm | 1.8 +/-1.2 degrees 0.63 +/-0.3 cm | 0.51 +/-0.2 degrees
Laptop [15" screen] 2.3 +/-2.0 cm | 1.8 +/-1.5 degrees N/A

The results on the dot following task (13 dots are used for calibration and 21 for testing/validation) on a desktop computer show that the algorithm predicts gaze points on screen with an average deviation of 2.4 +/-1.5 cm (or an average of 93 pixels, approximately 4.2% deviation of the screen size). This corresponds to an approximate angular deviation of 1.8 +/-1.2 degrees.

The results on a laptop with a smaller screen also achieve a similar accuracy (using its low-resolution built-in webcam). In addition, the accuracy obtained using a dedicated hardware eye tracker (Tobii Nano Pro) is also shown for comparison (only available for the desktop).

In terms of accuracy, FaceReader's webcam-based eye tracking achieved 85-90% accuracy within a 4 cm tolerance, and about 75% within a 3 cm tolerance. In practice, this means it is well-suited for applications where gaze targets are spaced 3-4 cm or more apart. For finer targets (1-2 cm), hardware eye tracking can be preferable as webcam-based eye tracking accuracy in this range drops below 50%.

These results are comparable to, or better than, other webcam-based eye tracking systems on the market, although direct comparisons can be difficult due to differences in screen sizes (errors sometimes reported in pixels) and testing setups.

How Webcam-Based Eye Tracking Can Be Used

An important but simple finding within eye tracking research is that people look longer at what they find interesting. Participants were asked to perform two simple choice tasks, where they viewed a few images of items (e.g. cookies, chocolate, etc.) and were allowed to choose one afterwards.

A comparison of the webcam-based eye tracking gaze estimations with the hardware-based eye tracker estimations shows a high correlation between the X and Y coordinate estimation (X: Mean r = 0.87, Y: Mean r = 0.77).

Gaze estimations can be classified into being a saccade (fast movements with less visual information processing) or fixation (slower eye focus relevant for information processing) based on the speed of the gaze movements. For each category that was presented, total duration of fixation time was measured.

Validation of This Application

Both the webcam-based eye tracking algorithm and the hardware-based Tobii Nano Pro eye tracker produced the same overall interpretation of the results: 79% of participants looked longest at the category they ultimately preferred (which they then received as a reward). With the webcam-based eye tracker, participants spent on average 9.3 seconds fixating on the chosen category and 2.0 seconds on the non-chosen categories, compared to 11.1 and 2.6 seconds respectively with the Tobii Nano Pro. The slightly lower estimates obtained with the webcam-based eye tracker are most likely explained by a somewhat higher proportion of failed eye localizations.

In addition, the total fixation duration for each category indicated strong correlation between the two systems (mean r = 0.91).

Get Started

The results show that eye tracking via the webcam can be a useful and easily applicable research tool. Under good conditions, varying individual and screen characteristics do not cause large differences in performance.

Generally speaking, there is often a trade-off between ecological validity and measurement precision. If high precision is required, a lab setting is more appropriate where participants can also put their head in a headrest and have long calibration sessions. Webcam-based eye tracking is very suitable for researching behavior in realistic settings where you expect clear discernible effects.

You can use webcam-based eye tracking in a flexible and mobile lab environment by installing FaceReader on a laptop. In addition, the stimulus presentation tool should be used for the calibration step.

You can also use webcam-based eye tracking via the FaceReader Online platform for online testing. Simply turn gaze tracking on in your experiment design and a calibration will be added. Results can be visualized in heatmaps and are quantified with gaze statistics such as fixation duration.

References

  • Gudi, Amogh, Xin Li, and Jan van Gemert. Efficiency in real-time webcam gaze tracking. European Conference on Computer Vision. Springer International Publishing, 2020.

Download the original PDF: White Paper - FaceReader - Webcam-based eye tracking (PDF)

shopping_bag
check_circle

Thank you!

We'll get back to you shortly.

error

Please correct the following errors:

error

error

error

error

By clicking Submit, you consent to Noldus processing your data as described in our privacy policy.