UnityEyes 2: Open source robust synthetic eye generation for camera-based eye tracking with machine learning

Alexander D. Smith, Brijesh Muthumanickam, Yuanyi Feng, Wenzhou Ding and Kris Hauser

Abstract

This paper introduces UnityEyes 2, an open source and customizable synthetic image generator for training machine learning methods for eye tracking. Training models with synthesized images and ground truth is far more convenient than training from real images, which require manual annotation, but if viewing angles, distances, and lighting conditions do not match real conditions, model performance will degrade (the sim-to-real gap problem). UnityEyes 2 supports customization of distributions of eye pose, camera intrinsic and extrinsic parameters, multi-camera setups, and varied lighting conditions. A graphical user interface enables rapid prototyping of the data distribution and model evaluation. Experiments show that training convolutional neural network models from camera-specific synthetic datasets leads to better transfer to the real world compared to training from generic-viewpoint synthetic datasets.

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

Cite

@inproceedings{smith-etal-2025-unityeyes,
    title = {{UnityEyes 2: Open source robust synthetic eye generation for camera-based eye tracking with machine learning}},
    author = {Alexander D. Smith and Brijesh Muthumanickam and Yuanyi Feng and Wenzhou Ding and Kris Hauser},
    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.3726838},
    url = {https://doi.org/10.1145/3715669.3726838},
    abstract = {This paper introduces UnityEyes 2, an open source and customizable synthetic image generator for training machine learning methods for eye tracking. Training models with synthesized images and ground truth is far more convenient than training from real images, which require manual annotation, but if viewing angles, distances, and lighting conditions do not match real conditions, model performance will degrade (the sim-to-real gap problem). UnityEyes 2 supports customization of distributions of eye pose, camera intrinsic and extrinsic parameters, multi-camera setups, and varied lighting conditions. A graphical user interface enables rapid prototyping of the data distribution and model evaluation. Experiments show that training convolutional neural network models from camera-specific synthetic datasets leads to better transfer to the real world compared to training from generic-viewpoint synthetic datasets.}
}