This repository contains the executable application of the EyeTracker system, developed to assist in the detection of ocular movements and potential issues using Python and MediaPipe. By analyzing facial landmarks, specifically focusing on the eyes, the application employs MediaPipe to extract 468 distinct landmarks. These landmarks are then used to select the eye region for further analysis.
The process involves performing a histogram analysis of the eye region's color distribution after applying certain filters, aiming to detect the positions of the iris and pupil. While the detection of the pupil is relatively straightforward and consistent, identifying the iris proves more challenging. Consequently, an additional step employing another MediaPipe algorithm for more precise iris positioning is incorporated into the analysis procedure.
To install and configure the EyeTracker application on your Windows system, follow the outlined steps:
- Operating System: Windows Only
- Pipenv 3.9: Required for managing Python dependencies. Install Pipenv via pip with:
pip install pipenv
- Configuring Pipenv Environment: Inside the
tracker
folder, manually set up the Pipenv environment. Open a console in theTracker
directory and run:
pipenv install
- Source Code Requirements:
- OpenCV 4.5 or higher for image processing.
- Qt Creator for adjustments and UI enhancements.
Locate the executable in the executable
directory of this repository. Double-click the executable file to start the application and follow the instructions for conducting ocular movement tests.
Your contributions to improving the EyeTracker-QtApplication are welcome. Whether you're reporting bugs, suggesting enhancements, or contributing code, we appreciate your effort.