- openCV
- Numpy
- PySimpleGUI
- Dlib
- Pandas
- when speed is less then 0.7 video stops
- Calibration
- Export & import video
- Camera Capture
- Create folder
- Timer
- Image Slideshow
- Main Eye tracking
- Screen projection
- After & live processing
- global class to store fault data(like when the blobdetector doesn't find a blob)
- Heatmap
-
mark when going from one cordinate system to an other with -- "#--------transform to ****** space------------"
-
All time units are measured in ms
-
openCV library is written as cv2
-
numpy library is written as np
-
PySimpleGUI library is written as sg
-
Panda library is written as pd
-
all interfaces with SystemDefaultForReal theme
Clone this project:
git clone https://github.com/sarif200/pool-project-experiment
Install these dependencies (NumPy, OpenCV, Dlib, PySimpleGUI):
pip install -r requirements.txt
CMake is required for this project.
- Open the main file
- Select New Project
- Fill project name in
- Complete Calibration
- Images are shown
- While images are shown, coordinates of pupils are written to excel file
- Create in excel file heatmap
- Line 1-5: Import of libraries & functions from other files.
- Line 8: Define the function.
- Line 9: Set theme for the UI.
- Line 10-28: Here we define the layout for the UI.
- Line 30-31: Here we define the window with the window title and the layout.
- Line 33-43: We define the event loop and listen to all the event and execute the actions.
- Line 44: When out of the event loop, close the window.
- Line 46-47: When file is ran, execute the main function.