How to Run a Webcam Eye Tracking Study
Running a webcam eye tracking study means measuring where someone looks using a standard computer webcam rather than dedicated hardware. It can be conceptualized as a six-stage process: deciding what to measure, relating your stimuli to that measurement, choosing a calibration approach, preparing the environment and participant, collecting gaze data during the task, and analyzing the output against what the method can actually support. With Eye Tracking 2.0, Labvanced's webcam eye tracking pipeline reaches a median accuracy of 1.8° of visual angle with real online participants on their own computers, and 1.3° at the center of the screen in the field's one peer-reviewed comparison against a research-grade EyeLink 1000 tracker (Kaduk et al., 2024), close enough to support most attention and visual-preference research questions without hardware, though not every research question.
None of these stages are unique to any single platform, though implementation details vary. Each section below covers the general methodological decision first, then points to how Labvanced implements it.
Table of Contents
The Webcam Eye Tracking Workflow
I. Decide What to Measure and Whether Webcam Eye Tracking Fits Your Question
What Webcam Eye Tracking Measures
A study built around webcam eye tracking typically records one or more of the following:
- Fixations: where and how long someone looks
- Saccades: rapid movements between fixation points
- Area of interest (AOI) analysis: whether and how long a participant looked at a defined region
- Gaze path: the sequence of visual attention across a stimulus
- Time to first fixation: how quickly a stimulus draws attention
Pupil size is technically extractable from some webcam pipelines, but considerably less reliable than with dedicated hardware, so it is rarely used as a primary outcome measure in a webcam study.
Whether the Method Fits Your Research Question
Whether the method fits a given research question comes down to the accuracy it can deliver, and that varies widely across implementations: from roughly 4° for an open-source library like WebGazer, still the most widely used in published psycholinguistics research (Patterson, Nicklin & Vitta, 2025), up to well under 2° for the most rigorously validated systems. Labvanced sits at the upper end: its peer-reviewed laboratory validation reaches 1.2 to 1.4 visual degrees (1.3° center-screen), 1.1° precision, and a Pearson correlation of approximately 0.8 to 0.9 against an EyeLink 1000 (Kaduk et al., 2024), the most rigorously benchmarked figure published to date. Its own further validation, not peer-reviewed, puts real online participants at a median of about 1.8° at its standard calibrated setting, down to about 1.4° with the most thorough calibration and strictest screening.
This is not parity with hardware eye trackers, a gap of a few tenths of a degree remains even at the most thorough setting. What that gap means for a given study depends on what the study needs to measure:
Well supported at this accuracy level:
- Area-of-interest (AOI) and dwell-time analysis: which region of a stimulus a participant looked at, and for how long
- Fixation count and fixation duration
- Free-viewing and visual preference paradigms, validated at approximately 80% correlation with EyeLink for free-viewing and smooth pursuit
- Time-to-first-fixation and general visual attention patterns
- Reading at word level, at the most thorough calibration and screening setting (about 1.5°); larger AOIs such as faces, scenes, or page regions at the standard setting (about 1.8 to 1.9°)
Not well supported at this accuracy level:
- Sub-degree precision tasks, where the measurement itself needs to resolve finer than roughly one visual degree
- Saccade dynamics and microsaccade analysis, constrained by sampling rate rather than by spatial accuracy alone
- Letter-level fixation precision in dense text
If the research question can be answered at the AOI or fixation level, a validated webcam eye tracking implementation is adequate, at a calibration and screening setting matched to the AOI layout; if it requires resolving gaze position within a fraction of a degree or capturing saccade dynamics, hardware remains the appropriate tool. Design Considerations that Affect Webcam Eye Tracking Accuracy covers the calibration, stimulus, and environmental decisions that determine whether a given study reaches these figures.
II. Relate Your Stimuli to the Gaze Data You Need
Gaze tracking runs independently of what a stimulus actually is: an image, a block of text, a video frame, or a live interface can all be tracked the same way, since the method records where the eyes point relative to the screen, not what is rendered underneath. The design decision that matters is where regions of interest sit relative to each other and how much space separates them, since accuracy is not uniform across the screen and two closely spaced AOIs risk having a fixation near the boundary misassigned to the wrong one.
Labvanced's implementation: Presenting Stimuli in an Eye Tracking Task covers how any object type in the task editor becomes trackable without special configuration, and how to think about stimulus layout before touching a single eye tracking setting.
III. Choose a Calibration Approach
With Eye Tracking 2.0, calibration length and data-quality thresholds collapse into two choices: an accuracy tier and a screening level, each with a known expected accuracy and setup time, from no calibration at all (Passive tier) to about 7 minutes (Highest tier, strict screening). The right combination depends on how tightly your AOIs are packed: a design with many small, closely spaced AOIs needs the accuracy a higher tier and stricter screening buy; a design with a few large, well-separated regions can use a lighter setup. Design Considerations that Affect Webcam Eye Tracking Accuracy lays out the full tier and screening table with expected accuracy and recruitment cost for each combination, and the Eye Tracking 2.0 Lab Note is the underlying validation.
Calibration and screening set the ceiling, but drift during the session can still erode it: on Eye Tracking 2.0, a live head-pose correction and lighting-change detection run by default to counter this as it happens, on top of periodic Gaze Control checks.
Labvanced's implementation: How to Choose Eye Tracking Calibration Settings is a decision guide to accuracy tier, screening level, and the Physiology Toolbox Version your study needs.
IV. Prepare the Environment and the Participant
Webcam eye tracking depends on a face-tracking model reliably detecting facial and eye landmarks from the webcam input, so several environmental factors materially affect data quality before a single trial runs. Backlighting silhouettes a participant's face and reduces the contrast the model needs; a webcam positioned far from the screen adds error beyond what calibration corrects for; and glasses that cause reflections or carry a tinted or blue-light-filtering coating distort the light reaching the camera. None of these are unusual requirements, they are the same category of setup consideration a lab manages for a hardware eye tracker, applied to a setting where the researcher cannot physically check the participant.
Labvanced's implementation: The Participant Calibration Experience walks through the calibration flow participants see, including the practical lighting, glasses, and webcam-placement factors above and what happens when a participant drifts out of position.
V. Collect Gaze Data During the Task
Recording Gaze Data
Once calibration is complete, gaze coordinates are recorded and mapped against whatever regions of interest were defined at design time. Depending on the study design, recording can run continuously across the full task, or be restricted to specific areas of interest, capturing gaze only while a participant looks within a defined region rather than across the entire frame. Gaze is also rarely the only channel worth capturing: pairing it with other behavioral or physiological measures builds a fuller picture of a participant's response than gaze position alone.
Labvanced's implementation: Eye Tracking Data Output in Labvanced shows what a gaze export actually contains, including the per-sample confidence value that flags a blink or an undetected face. Using Shapes as Areas of Interest (AOI) covers defining the regions gaze is recorded against, using Polygon or SVG shapes as masks. Labvanced can also record complementary channels alongside eye tracking in the same task:
- Mouse tracking: cursor position and movement trajectories
- Emotion detection: facial expression classified into emotion labels
- Remote heart rate detection (rPPG): heart rate estimated from the webcam feed
Recalibrating During the Session
For longer or multi-block sessions, triggering recalibration at defined points rather than relying on a single calibration to hold for the entire session protects against position and lighting drift, a live methodological risk for any remote, unsupervised setup.
Labvanced's implementation: Setting Up Eye Tracking in a Task covers configuring recalibration cadence per task.
VI. Analyze the Output
Webcam gaze data is exported as a timeseries rather than one value per trial, since gaze position is recorded many times per second rather than once. Sampling rate is limited by how fast a browser can process webcam frames, commonly topping out somewhere between 30 and 60 Hz depending on the participant's hardware. From the raw gaze stream, the measures that support most study designs are fixation duration, number of visits to an AOI, time to first fixation, and dwell time, computed downstream in R, Python, or dedicated analysis software.
Labvanced's implementation: Recording and Exporting Gaze Data covers building the events that record gaze data and what the resulting export looks like once your study has run.
Summary Table
| Stage | Methodological decision | Labvanced implementation (see linked guide above) |
|---|---|---|
| I. What to measure | Choose measures the accuracy ceiling actually supports (AOI, fixations, dwell time) over ones it doesn't (saccade dynamics, sub-degree precision) | Accuracy and design considerations page |
| II. Stimuli and gaze | AOI spacing matters more than stimulus type | Presenting stimuli guide |
| III. Calibration | Accuracy tier and screening level trade off accuracy against setup time and recruitment cost | Calibration settings guide, accuracy and design considerations page |
| IV. Environment and participant | Lighting, webcam placement, and eyewear affect landmark detection before any trial runs | Participant calibration experience guide |
| V. Data collection | Recalibrate at defined points to guard against drift in longer sessions | Task setup and gaze recording guides |
| VI. Analysis | Compute fixation duration, dwell time, and related measures from the timeseries export | Gaze recording and export guide |