PupilSense: A Novel Application for Webcam-Based Pupil Diameter Estimation

Vijul Shah, Ko Watanabe, Brian Moser and Andreas Dengel

Abstract

Measuring pupil diameter is vital for gaining insights into physiological and psychological states โ€” traditionally captured by expensive, specialized equipment like Tobii eye-trackers and Pupillabs glasses. This paper presents a novel application that enables pupil diameter estimation using standard webcams, making the process accessible in everyday environments without specialized equipment. Our app estimates pupil diameters from videos and offers detailed analysis, including class activation maps, graphs of predicted left and right pupil diameters, and eye aspect ratios during blinks. This tool expands the accessibility of pupil diameter measurement, particularly in everyday settings, benefiting fields like human behavior research and healthcare. Additionally, we present a new open source dataset for pupil diameter estimation using webcam images containing cropped eye images and corresponding pupil diameter measurements.

Venue
ETRA 2025
Volume
Proceedings of the 2025 Symposium on Eye Tracking Research and Applications
DOI
10.1145/3715669.3723125
PDF
https://dl.acm.org/doi/pdf/10.1145/3715669.3723125
Anthology ID
2025.etra-short.20

Cite

@inproceedings{shah-etal-2025-pupilsense,
    title = {{PupilSense: A Novel Application for Webcam-Based Pupil Diameter Estimation}},
    author = {Vijul Shah and Ko Watanabe and Brian Moser and Andreas Dengel},
    booktitle = {Proceedings of the 2025 Symposium on Eye Tracking Research and Applications},
    isbn = {9798400714870},
    year = {2025},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3715669.3723125},
    url = {https://doi.org/10.1145/3715669.3723125},
    abstract = {Measuring pupil diameter is vital for gaining insights into physiological and psychological states โ€” traditionally captured by expensive, specialized equipment like Tobii eye-trackers and Pupillabs glasses. This paper presents a novel application that enables pupil diameter estimation using standard webcams, making the process accessible in everyday environments without specialized equipment. Our app estimates pupil diameters from videos and offers detailed analysis, including class activation maps, graphs of predicted left and right pupil diameters, and eye aspect ratios during blinks. This tool expands the accessibility of pupil diameter measurement, particularly in everyday settings, benefiting fields like human behavior research and healthcare. Additionally, we present a new open source dataset for pupil diameter estimation using webcam images containing cropped eye images and corresponding pupil diameter measurements.}
}