[Paper Review] PupilNet v2.0: Convolutional Neural Networks for CPU based real time Robust Pupil Detection
PupilNet v2.0 proposes a two-stage convolutional neural network (CNN) pipeline for real-time, robust pupil detection on CPU, achieving up to 9% higher detection accuracy than state-of-the-art methods. It uses a lightweight shallow CNN for coarse pupil localization followed by a high-accuracy refinement network on a small region, enabling real-time performance (7ms inference) even on single-core CPUs while handling challenging real-world conditions like reflections, occlusions, and illumination changes.
Real-time, accurate, and robust pupil detection is an essential prerequisite for pervasive video-based eye-tracking. However, automated pupil detection in realworld scenarios has proven to be an intricate challenge due to fast illumination changes, pupil occlusion, non-centered and off-axis eye recording, as well as physiological eye characteristics. In this paper, we approach this challenge through: I) a convolutional neural network (CNN) running in real time on a single core, II) a novel computational intensive two stage CNN for accuracy improvement, and III) a fast propability distribution based refinement method as a practical alternative to II. We evaluate the proposed approaches against the state-of-the-art pupil detection algorithms, improving the detection rate up to ~9% percent points on average over all data sets (~7% on one CPU core 7ms). This evaluation was performed on over 135,000 images: 94,000 images from the literature, and 41,000 new hand-labeled and challenging images contributed by this work (v1.0).
Motivation & Objective
- To develop a real-time, accurate, and robust pupil detection system suitable for pervasive, unobtrusive video-based eye tracking in real-world environments.
- To address key challenges in pupil detection, including illumination changes, reflections, occlusions, off-axis eye positions, and physiological variations.
- To achieve high accuracy with minimal computational cost, enabling deployment on standard CPUs without GPU acceleration.
- To evaluate the method on a large, diverse dataset of 135,000 images, including 41,000 newly collected, challenging real-world samples.
- To provide open access to trained models, code, and data for reproducibility and future research.
Proposed method
- A two-stage CNN pipeline: first, a shallow CNN processes downscaled image patches to generate a coarse pupil center estimate.
- Second, a more complex CNN refines the pupil location within a small, localized window around the coarse estimate, reducing noise and computational load.
- A probability distribution-based refinement method is introduced as a lightweight alternative to the full two-stage network, balancing speed and accuracy.
- The coarse network uses a kernel size of 8×8 and pooling size of 8×8 (CK8P8), while a more accurate variant uses 8×8 kernel with 16×16 pooling (SK8P8).
- The final refinement stage uses a 21×21 search window for SK8P8 and a 49×49 window for CK8P8, with responses computed only at candidate positions to reduce computation.
- All models are trained end-to-end on a large, diverse dataset of 135,000 images, including 41,000 newly collected, real-world images with artifacts.
Experimental results
Research questions
- RQ1Can a two-stage CNN pipeline achieve superior pupil detection accuracy compared to state-of-the-art methods in real-world, challenging conditions?
- RQ2Can such a pipeline run in real time on a single-core CPU without requiring GPU acceleration?
- RQ3How does the performance of a lightweight, probability-based refinement method compare to a full two-stage network in terms of accuracy and speed?
- RQ4To what extent does the proposed method generalize across diverse real-world eye-tracking scenarios, including reflections, occlusions, and illumination changes?
- RQ5Can the method achieve high detection accuracy while maintaining low computational cost suitable for pervasive, embedded eye-tracking systems?
Key findings
- The proposed two-stage CNN (F_{SK8P8}) improved average detection accuracy by approximately 9 percentage points over the best state-of-the-art method (ElSe) across all datasets at a 5-pixel error threshold.
- The SK8P8-based method achieved a 5-pixel error of 0.33 on the most challenging new dataset (new V), significantly outperforming ElSe (0.57) and ExCuSe (0.56).
- The lightweight SK8P8 variant achieved a runtime of only 7ms on a single-core Intel i5-4570, enabling real-time performance on standard CPUs.
- The F_{CKXPY} model achieved the highest average detection rate (0.95) on the most difficult dataset (XIV), but at a much higher computational cost (1.2s per inference).
- The probability distribution-based refinement method enabled a 7ms inference time with a 5-pixel error of 0.54 on the new IV dataset, demonstrating a strong speed-accuracy trade-off.
- The method achieved a 5-pixel error of 0.62 on the new I dataset, compared to 0.22 for the baseline ExCuSe, indicating superior robustness on newly collected, real-world data.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.