DOI: 10.5281/zenodo.18430187
title: PopEYE - Infrared Ocular Image Dataset for Eye State and Gaze-Direction Classification

description: PopEYE is a specialized dataset of 14,976 near-infrared (NIR) ocular images designed to support the development and benchmarking of computer vision algorithms for ophthalmic applications. The dataset focuses on two primary tasks: eye-state detection (open vs. closed) and coarse gaze-direction classification.

Context and Motivation

In clinical ophthalmic examinations (such as Pupillary Light Reflex measurement or Optical Coherence Tomography), patient cooperation and correct eye positioning are critical for data integrity. PopEYE_2022 was developed to train machine learning models capable of real-time monitoring of the eye status, ensuring that only valid frames are processed and providing immediate feedback on patient alignment.

Technical Specifications





Imaging Modality: Near-Infrared (NIR) imaging.




Optical Setup: Captured using a custom-built Maxwellian-view ophthalmic stimulator, as described in Gibertoni et al. (SPIE 2022).




Image Resolution: 772 × 520 pixels (grayscale, PNG format).




Dataset Size: ~3.66 GB.




Participants: Data collected from 22 different subjects across multiple acquisition sessions to ensure variability in iris patterns, eyelid shapes, and eyelash occlusions.



Dataset Structure and Classes

The images are organized into six mutually exclusive classes based on the eye's state and positioning:





Correct (8,160 images): Eye open, centered, and correctly positioned for measurement.




Closed (1,790 images): Full eye closure (blinks or sustained closure).




Up (1,379 images): Gaze directed upwards.




Down (1,015 images): Gaze directed downwards.




Left (1,296 images): Gaze directed leftward.




Right (1,336 images): Gaze directed rightward.



Key Challenges for AI Models

The dataset intentionally includes common NIR artifacts to test model robustness, such as:





Specular reflections: Bright spots from NIR LED sources.




Partial occlusions: Eyelids and eyelashes obscuring the pupil/limbus boundary.




Anatomical variability: Differences in eye shape and iris pigmentation under NIR.



Related Publications

This dataset has been utilized and validated in the following research works:





Sensors 2023 (Vol. 23, Issue 1, 386): Comparative analysis of ML, DL, and Expert Systems for eye classification.




SPIE Ophthalmic Technologies XXXV (2025): Real-time monitoring using SVM-based architectures.
description: The PopEYE dataset is a specialized collection of 14,976 near-infrared (NIR) images of the human eye region, specifically designed to support the development and benchmarking of computer vision algorithms for eye-state detection and coarse gaze-direction classification. Each image is provided in a fixed resolution of 772 × 520 pixels in 8-bit grayscale PNG format. The acquisition was performed frontally using a custom-developed Maxwellian-view optical configuration, comprising a board-level CMOS camera and a specialized lens system in which the subject's eye is precisely positioned at the focal point. This setup ensures a high-contrast representation of the anterior segment, making the pupil, iris, limbus, and portions of the sclera and eyelids clearly distinguishable under stable 850 nm infrared illumination.

The dataset is categorized into six mutually exclusive classes identified through manual annotation supported by fixed visual aids and an expert system algorithm. The classification includes a correct positioning class for eyes open and properly aligned for clinical measurements (8,160 images), a closed class representing full eye closures such as blinks or sustained lid closure (1,790 images), and four directional classes representing gaze shifts relative to the central optical axis, specifically up (1,379 images), down (1,015 images), left (1,296 images), and right (1,336 images). The data capture the natural anatomical variability of 22 subjects and incorporate common real-world artifacts, such as specular reflections from NIR sources and partial pupil occlusions by eyelashes or eyelids. By providing standardized labels and high-resolution NIR imagery, PopEYE serves as a robust resource for training machine learning models intended for real-time patient monitoring during ophthalmic examinations.