Skip to main content

peyes

pEYES

A Python Package for Eye-Tracking Researchers

pEYES is a Python package that enables researchers to perform robust, quantitative comparisons of eye-tracking segmentation algorithms. It provides implementations of several widely used algorithms and allows users to evaluate their performance against ground-truth, human-annotated datasets. The package simplifies the process of selecting an optimal algorithm by offering over 20 metrics to quantify performance, enhancing analysis reliability and reproducibility.

For a detailed overview of the package's functionalities and a systematic comparison of the implemented algorithms, please refer to the publication: Nir & Deouell (2026).

Overview

pEYES offers several core functionalities designed to facilitate the processing, analysis, and comparison of eye-tracking data:

  • Downloading & Parsing Datasets: Provides functions to easily download and parse publicly available, human-annotated eye-tracking datasets, streamlining the setup process for benchmarking algorithms.
  • Configuring & Running Detection Algorithms: Allows users to configure various eye-tracking segmentation algorithms and apply them to either the built-in datasets or their own custom data.
  • Algorithm Comparison & Analysis: Offers tools to analyze the results of detection algorithms, compare their performance against human-annotated ground-truth data, or evaluate differences between multiple algorithms.
  • Visualization Tools: Includes visualization capabilities, such as generating fixation heatmaps and saccade trajectories, to help users intuitively interpret the results of different detection algorithms.

This functionality makes pEYES a versatile tool for researchers aiming to enhance the accuracy and reliability of their eye-tracking data analysis.

Installation Instructions

This package has been created and tested with python 3.12.

To install this package as a user, use

pip install peyes

To install this package as a developer, clone the package from GitHub and run the following commands:

python -m venv env
git pull
pip install -e .
git checkout -b dev

Usage

This package is intended for scientific use, and is designed to be easy to use for anyone with basic python knowledge.
Most of the functions in this package are documented, and can be accessed by running:

import peyes
help(peyes)

For more detailed information, please refer to the user tutorials provided in the docs directory of this repository.

Citation & License

This package is distributed under the MIT License, but some of the datasets & detection algorithms that are implemented in this package are distributed under different licenses. Please refer to the documentation of the specific dataset or detection algorithm for more information.

If you use this package in your research, please cite Nir & Deouell (2026):

@article{nir2026systematic,
  title={Systematic classification differences across eye movement detection algorithms},
  author={Nir, Jonathan and Deouell, Leon Y},
  journal={Behavior Research Methods},
  volume={58},
  number={4},
  pages={109},
  year={2026},
  publisher={Springer}
}

If you use a specific dataset or detection algorithm that is implemented in this package, please also cite the original authors of that dataset or detection algorithm. The datasets' licenses and detectors' citations can be found in their respective documentation (retrieved using the the dataset.load() call).

Acknowledgements

We are grateful for the support of the Center for Interdisciplinary Data Science Research (CIDR) at the Hebrew University of Jerusalem. In particular, we would like to thank Haimasree Bhattacharya from CIDR for her assistance in publishing this package.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

peyes-0.1.0.tar.gz (6.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

peyes-0.1.0-py2.py3-none-any.whl (85.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file peyes-0.1.0.tar.gz.

File metadata

  • Download URL: peyes-0.1.0.tar.gz
  • Upload date:
  • Size: 6.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for peyes-0.1.0.tar.gz
Algorithm Hash digest
SHA256 adea4155afe2586d199c4201993375041b2184b4da55bc195069383f4b59c9c0
MD5 ac189ec864395a755152d2873b12bd13
BLAKE2b-256 5cf8e5841caf0ab7782a350e9cf011e950e93c6e0f697ba5c22f0190b1f36627

See more details on using hashes here.

File details

Details for the file peyes-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: peyes-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 85.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for peyes-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1e507807ab5587e1e4ff214579630d4ff7ed00b2d4f514c56a4fed172f6e6e23
MD5 66edb083bbc7e90fc3777a3b39007151
BLAKE2b-256 2608a5979c360db9c4689e9d7b85d41d956e6ee5bebc17980dde5d7a5a9726aa

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

This release

0.1.0 This release

2 files

0.0.9.6

2 files

0.0.9.5

2 files

0.0.9.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page