-
Download & Install 64 bit of Python3 on your system from.
-
Once python is installed, download virtualenv package on your system. To do that open any terminal window on your system (CMD/Powershell on Windows) & type
python -m pip install virtualenv -
Now create a virtual environment in the project's root directory to hold all the required dependencies needed to execute this project. To do that, navigate to root of this project & open a terminal window over there & then type
python -m virtualenv venv -
Activate the virtual environment
- On windows :
venv\Scripts\activate - On mac/linux :
source venv/bin/activate
-
Virtual environment will be activated &
(venv)will start appearing in your terminal window indicating successful activation of the virtual environment -
Install project dependencies,
pip install -r requirements.txt -
Now all required packages will be installed.
-
Now run ROI.py :
python ROI.py -
Train the CNN Model using test dataset :
python TrainCNNModel.py -
Start init script after all train epochs are completed :
python ExpressionInit.py -
It should now open a camera window which will detect Expressions of any person present in front of it, Cheers !!