Bruce Xie 谢凌翔
Back to index

Eye Tracking Canva

Gaze tracking data collection with a laptop webcam and redesign with AI

Eye Tracking Canva

Context & Problem

In my design research, I use eye tracking to understand which images capture viewers’ attention and whether they engage with the accompanying captions. However, dedicated eye-tracking devices are expensive and time-consuming to set up, making them impractical for quick reviews and limiting my ability to collect data at scale.

Pupil Labs Neon eye-tracking glasses, front view.
Professional devices such as the Pupil Labs Neon eye-tracker can cost as much as $7,499.00 USD.

Solution

I built a browser-based tool that estimates users’ gaze patterns as they read PDFs on their laptops, generating a heatmap for each page during a reading session. Once sufficient data has been collected across multiple sessions, AI can analyze aggregated attention patterns, identify design issues, and provide actionable feedback.

How the webcam estimates gaze

  1. Find the eyes

    WebGazer crops an image of each eye and records the position of the head.

  2. Learn the screen

    As the reader looks at 17 targets, ridge regression learns to map those features to screen coordinates.

  3. Check the estimate

    Five new targets test accuracy. The dotted line shows how far one prediction falls from its target.

How a heatmap is made

  1. Gaze samples cluster over the room image at right, with a smaller cluster over the text at left.

    Page positions

    Each dot marks one gaze estimate on the PDF.

  2. A few grid cells mark the same positions. Darker cells hold more time.

    Time per cell

    The tool adds viewing time to a 60 × 80 grid, skipping gaps over 750 ms.

  3. A warm spot sits on the image and a smaller, cooler spot sits on the text.

    Heatmap export

    Smoothing blends nearby cells. Warmer areas show longer dwell on this page.

Less viewing timeMore

How AI gives suggestions

  1. Combine reliable sessions

    Exclude poor tracking, align the same page and task, then compare viewing time and reach by region.

  2. Identify possible issues

    Give a multimodal model the page, task and region metrics. It can flag overlooked captions or repeated revisits for review.

  3. Recommend and retest

    Link each suggestion to evidence: try moving an overlooked caption beside its image, then compare attention and comprehension under the same task.

Layout comparison

Original layout with eye-tracking heatmap

The strongest heatmap hotspots fall on the globe, the first linking diagram and the portrait.

Optimized AI redesign

The installation poster pairs two concept sections on the left with four horizontal process sequences on the right.

Research: AI scanpath analysisReading tasksInterpreting heatmaps