Skip to content

sarif200/pool-project-experiment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pool-project-experiment

dependencies

  • openCV
  • Numpy
  • PySimpleGUI
  • Dlib
  • Pandas

Known Issues:

  • when speed is less then 0.7 video stops

To do:

User Interface

  • Calibration
  • Export & import video
  • Camera Capture
  • Create folder
  • Timer
  • Image Slideshow

Program

  • Main Eye tracking
  • Screen projection
  • After & live processing
  • global class to store fault data(like when the blobdetector doesn't find a blob)
  • Heatmap

Coding guides

  • 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

Installation

Clone this project:

git clone https://github.com/sarif200/pool-project-experiment

For Pip install

Install these dependencies (NumPy, OpenCV, Dlib, PySimpleGUI):

pip install -r requirements.txt

CMake is required for this project.

Manual

  1. Open the main file
  2. Select New Project
  3. Fill project name in
  4. Complete Calibration
  5. Images are shown
  6. While images are shown, coordinates of pupils are written to excel file
  7. Create in excel file heatmap

Explanation

main.py

  • 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.

new_project.py

calibration.py

experiment.py

results.py

tracking.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages