“Oculus Vigilis” aims to help people to overcome their self-perceived attention problems such as ADHD or hyperactivity by giving a real-time feedback of the attention levels of one user using their camera records, especially during online meetings and learning processes.
These instructions will give you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on deploying the project on a live system.
Requirements for the software and other tools to build, test and push
- For model training Google Colab
- For model training High Performance GPUs like A100, NVIDIA GE3600
- For Application Python 3.11.8
- Anaconda
- Windows OS . I f you are planning to run the application on macOS please do not change the video capturing line as said in notes in Application part of this README
(If you want you can skip this part since the model is already provided in this repository) After clonning this repository follow these steps:
- Go to this link Google Colab Attention Model
- Conect A100 GPU in order to run the code
- Run the code
- Copy the downloaded model to the clonned directory of this repository
-
Note: If you are going to use macOS to run the program please go through these steps after cloning the repository:
-
open UI.py file
-
Change the cv2 video capturing line as
self.cap = cv2.VideoCapture(1)
-
Open Anaconda Prompt
-
Create Environment
conda create --name attention_app
-
Activate Environment
conda activate attention_app
-
Install Necessary modules through requirements.txt provided
conda run py -m -r requirements.txt
-
Run the application
conda run py UI.py
-
Click Start to start the session
-
Click Stop stop the recording
-
Close the program by hitting "x" on the right top of the window
- Ilke Kas - PhD at ECSE - Ilke Kas Github