← Back to projects
Computer Vision Eye Tracking Applied AI

Experience Lab: Eye Tracking & Object Detection

Combining traffic object detection in cycling footage with gaze and fixation data to support behavioural research.

Role

Data Scientist · Team project

Focus

Object detection & gaze analysis

Context

BUas Experience Lab

Tools & technologies

Python YOLO OpenCV Pandas Pupil Labs Streamlit Eigen-CAM (XAI)

The problem

Experience Lab uses Pupil Labs glasses during cycling studies. The recordings contain video together with gaze and fixation data, but the eye tracking data alone does not show which traffic objects were around the cyclist or which of them they looked at.

Our goal was to reduce manual review by detecting relevant traffic objects, connecting them with the gaze and fixation data, and producing structured results for further analysis.

Original footage
Processed result

The same cycling frame before and after object detection, tracking and gaze and fixation matching.

How I approached it

01

Understand

Explore the recordings, data structure and what researchers needed from the results.

02

Prepare

Check timestamps and data quality, then prepare gaze, fixation and annotation data.

03

Model

Train and compare YOLO models, then evaluate them on separate test data.

04

Connect

Run the model on cycling footage, track traffic objects and connect them with gaze and fixation data.

What I worked on

I worked as one of the data scientists in a team of three. My work covered much of the process from understanding and preparing the data to modelling and connecting the results with the eye tracking data.

  • Explored and prepared Pupil Labs gaze, fixation and video data, including timestamp and data quality checks.
  • Built reusable preprocessing and data quality tools for both the eye tracking data and the object detection dataset.
  • Trained and compared YOLO models using different image resolutions and training settings.
  • Developed workflows for full video inference, automatic annotations, object tracking, gaze and fixation matching, and Eigen-CAM explainability.

How we measured success

During Business Understanding, we defined practical KPIs and success criteria for accuracy, efficiency and usability. These targets guided later development and evaluation.

Accuracy target

≥70% precision / recall

with gaze alignment within a ±200 ms temporal tolerance

Efficiency target

≥60–70% less manual time

reducing the manual annotation workload for researchers

Usability target

Research-ready output

structured CSV data that could be used for further analysis

Checking what the model focused on

I also used Eigen-CAM as an explainable AI method to inspect which areas of a frame contributed most strongly to the model's detections. This helped us look beyond the bounding boxes and check whether the model was focusing on visually relevant parts of the scene.

Eigen-CAM activation heatmaps helped inspect which parts of the scene contributed most strongly to the model's detections.

From footage to research data

The workflow could take raw cycling footage through object detection and produce automatically annotated video together with CSV files containing detections and related metadata. The detections could then be tracked and connected with gaze and fixation data, giving researchers structured information about the traffic context around the cyclist and what they looked at.

The final workflow covered nine traffic object classes: bus, car, cargo bike, fatbike, motorcycle, normal bike, pedestrian, scooter and truck.

A repeatable Streamlit data quality dashboard I built to review dataset size, class balance, train / validation / test splits, quality rules and detected issues.

More projects

View all →
Computer Vision

NPEC: Computer Vision & Robotics

A plant science project combining computer vision for measuring roots with PID control, reinforcement learning and autonomous robot movement.

Time Series

Public Nuisance Forecasting

A Streamlit application for the Municipality of Breda combining exploratory analysis with SARIMA time-series forecasting of public nuisance complaints.