Skip to main content
QUICK REVIEW

[Paper Review] TobiiGlassesPySuite: An open-source suite for using the Tobii Pro Glasses 2 in eye-tracking studies

Davide De Tommaso, Agnieszka Wykowska|arXiv (Cornell University)|Dec 19, 2019
Gaze Tracking and Assistive TechnologyComputer Science28 references8 citations
TL;DR

This paper presents TobiiGlassesPySuite, an open-source Python package that enables researchers to control the Tobii Pro Glasses 2 wearable eye-tracker, manage recordings, stream live video and gaze data, and export processed eye-tracking data in CSV format. The suite enhances the device’s usability for custom eye-tracking experiments by abstracting low-level API complexity and providing modular, cross-platform tools for data collection, calibration, and analysis under the GNU GPL v3.0 license.

ABSTRACT

In this paper we present the TobiiGlassesPySuite, an open-source suite we implemented for using the Tobii Pro Glasses 2 wearable eye-tracker in custom eye-tracking studies. We provide a platform-independent solution for controlling the device and for managing the recordings. The software consists of Python modules, integrated into a single package, accompanied by sample scripts and recordings. The proposed solution aims at providing additional methods with respect to the manufacturer's software, for allowing the users to exploit more the device's capabilities and the existing software. Our suite is available for download from the repository indicated in the paper and usable according to the terms of the GNU GPL v3.0 license.

Motivation & Objective

  • To address the limitations of the manufacturer’s software in supporting custom eye-tracking experiments with the Tobii Pro Glasses 2.
  • To provide a cross-platform, Python-based solution that abstracts low-level device control and data handling for researchers.
  • To extend the functionality of the Tobii Pro Glasses 2 beyond standard use by enabling programmatic access to gaze data, live video, and event logging.
  • To support researchers in integrating the wearable eye-tracker into complex experimental setups with reusable, modular code.
  • To facilitate data export, fixation detection, and visualization through standardized, open-source tools.

Proposed method

  • The suite is implemented as a single Python package with modular components for device control, data streaming, and recording management.
  • It uses the Tobii Pro Glasses 2 API to control device functions such as starting/stopping data streaming and managing calibrations.
  • Live scene video is accessed via an RTSP server running on the device, with OpenCV used to display and process the video stream in real time.
  • Gaze data is collected and stored in Python dictionaries, with methods to export raw data and detected fixations using the I-DT filter.
  • Custom events can be sent during recordings via JSON objects, logged in CSV files or integrated with Tobii Pro Lab software.
  • The suite includes sample scripts for project setup, calibration, recording, and data export, with full path access to SD card-stored recordings.

Experimental results

Research questions

  • RQ1How can researchers extend the functionality of the Tobii Pro Glasses 2 beyond the capabilities of the manufacturer’s software?
  • RQ2What are the key challenges in using wearable eye-trackers for mobile, user-centered eye-tracking studies?
  • RQ3How can a standardized, open-source software suite improve data access, calibration, and recording management for eye-tracking experiments?
  • RQ4What methods enable efficient live video and gaze data synchronization in wearable eye-tracking systems?
  • RQ5How can eye-tracking data be systematically exported and processed for downstream analysis in research settings?

Key findings

  • The TobiiGlassesPySuite provides a unified, platform-independent solution for controlling the Tobii Pro Glasses 2 and managing recordings through a single Python package.
  • The suite enables live data streaming using RTSP and OpenCV, allowing real-time visualization of scene video and mapped gaze points.
  • Researchers can export raw gaze data and detected fixations in CSV format using the I-DT filter, with configurable thresholds for dispersion and duration.
  • The software supports external event logging via JSON objects, which can be saved in CSV files or synchronized with Tobii Pro Lab for enhanced analysis.
  • The suite includes comprehensive example scripts for project creation, participant management, calibration, and recording control, streamlining experimental setup.
  • The open-source nature of the package, licensed under GNU GPL v3.0, encourages community contributions and long-term extensibility.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.