DysTest

Can a Webcam Really Follow Your Eyes While You Read?

A laptop camera records about 30 images per second; a lab eye tracker records 250 or more. Here is what that difference means, what DysTest measures with a webcam, and what it deliberately does not try to measure.

A laptop camera records about 30 images per second; a lab eye tracker records 250 or more. Here is what that difference means, what DysTest measures with a webcam, and what it deliberately does not try to measure.

A good question from a student

A secondary-school student who was researching eye tracking for a school project wrote to us with a sharp question: professional eye trackers run at 250 images per second or more, while an ordinary laptop webcam captures only 30. How can a webcam measure something as fast as eye movements?

It is the right question to ask. The honest answer is that a webcam cannot measure everything a lab eye tracker can, and we do not pretend it does. It can, however, measure the parts of reading that matter most for a screening.

What your eyes do when you read

Reading feels like a smooth glide along the line. It is not. Your eyes make a series of stops and jumps:

  • Fixations: the eyes stop on a word to take it in. In skilled adult reading a fixation lasts about 200 to 250 milliseconds on average.
  • Saccades: fast jumps to the next stop, usually 7 to 9 letters forward. A saccade lasts only about 20 to 40 milliseconds.
  • Regressions: jumps back to reread something. Even skilled readers make them, in roughly 10 to 15 percent of their jumps.

Research has shown for decades that many readers with dyslexia read with more and longer fixations, shorter jumps forward and more regressions (Rayner, 1998; Hutzler & Wimmer, 2004).

Lab eye tracker versus webcam

Lab eye tracker Laptop webcam
Images per second 250 to 2,000 about 15 to 30
Accuracy on screen under 1 degree of visual angle about 2 to 5 degrees
Head often on a chin rest free to move
Where in a lab, with an operator at home or at school

What a webcam cannot see, and what it can

At 30 images per second there are about 33 milliseconds between two images. A saccade is often over before the next image is taken. So a webcam cannot measure how fast a saccade is, its exact shape, or the tiny movements of the eye within a fixation. DysTest does not try to.

A fixation of 250 milliseconds, however, spans about seven to eight images. That is enough to see:

  • how long the eyes stay on a word, and how often they get stuck for three quarters of a second or longer;
  • how far the eyes move forward along a line, measured in letters of the actual text on the screen;
  • how often the eyes go back to reread;
  • how long the gaze stays on a word or on a picture in the word-picture task.

These are exactly the patterns that research links to dyslexia. They need the timing and direction of the gaze, not millimetre precision.

Making a webcam measurement trustworthy

A webcam is noisier than a lab instrument, so the measurement has to check itself:

  1. Calibration with 16 points. You look at dots across the screen, and DysTest learns how your eyes map onto the screen.
  2. An honest accuracy check. Each calibration point is predicted from the other fifteen. If the error is too large, you are asked to calibrate again.
  3. Measuring the tracker's own noise. While you look at a fixed dot, any movement is noise from the camera and tracking, not reading. DysTest corrects the reading measures for it.
  4. Checking the camera speed. Below 10 images per second the eye measures are not used at all. On slower cameras, DysTest relies more on measures that hold up at that speed.

Not the eyes alone

Eye tracking is only one of four kinds of tasks. DysTest also measures rapid naming (naming letters, numbers, colours and objects aloud), reading comprehension and spelling and typing. Each task gets its own score from 1 to 10. When the eye data of a story is too weak, the other tasks still count, and the report says so.

DysTest is a screening, not a diagnosis. Its result tells you whether a full assessment by a qualified professional is worth considering.

What happens to the camera images

The camera images are processed in your own browser and never leave your computer. Only measurements calculated from them, such as where on the screen you looked and when, are saved with the screening. For the naming task, short voice recordings are sent for speech recognition.

Honest about the evidence

Webcam eye tracking for reading research has been studied for about ten years (Papoutsaki et al., 2016; Semmelmann & Weigelt, 2018), and its accuracy is well documented. We have not yet published a study that compares DysTest's webcam measures directly with a lab eye tracker. That comparison is part of our validation plan. Until then we publish how our methods work in our technical papers, so that anyone can check them.

How to get the best result

  • Sit at about an arm's length from the screen, with the laptop on a table.
  • Make sure your face is well and evenly lit, without a bright window behind you.
  • Keep your head reasonably still; there is no need to freeze.
  • Close other programs that use the camera.

Start a DysTest screening →

Sources & References

  • Rayner, K. (1998). Eye movements in reading and information processing: 20 years of research. Psychological Bulletin.
  • Hutzler, F. & Wimmer, H. (2004). Eye movements of dyslexic children when reading in a regular orthography. Brain and Language.
  • Papoutsaki, A. et al. (2016). WebGazer: Scalable webcam eye tracking using user interactions. IJCAI.
  • Semmelmann, K. & Weigelt, S. (2018). Online webcam-based eye tracking in cognitive science. Behavior Research Methods.
  • Salvucci, D. & Goldberg, J. (2000). Identifying fixations and saccades in eye-tracking protocols. ETRA.
  • DysTest technical papers — calibration, fixation detection and reading analysis

Important: DysTest is a screening tool and does not provide a formal medical diagnosis.