- Create virtual environment by running
python -m venv .env
- Activate the virtual environment
.\.env\Scripts\activate
orsource .\.venv\bin\activate
- Install dependencies
pip install -r requirements.txt
- Add required images by creating folder in
training/<Preson name>
- Train the model using
python auto_emotion.py
- Initialize the database using
python db.py
- Run the project using
python app.py
- Goto
http://127.0.0.1:5000/
for detection