/DistractionDector

A Computer Vision solution using OpenCV and Tensorflow to determine if a user is paying attention at a workstation

Primary LanguagePython

A quick note about this repository:

dependencies:

  • Tensorflow
  • OpenCV (Refer to requirements.txt)

Run

Run with the command: 1.) $ python3 main.py

****** When running the application be prepared for a few lines of warnings before the application finally runs. *****

Notes

  • The application will by default use the arctan algorithm, and can be changed by editing line 191 in main()

  • The "Green Text" in the top left is the time the user is paying attention

  • The "Red Text" in the bottom left is the time the user is not attentive

  • You are also free to mess around with some of the markers that are drawn on the face.