Just Complete the five steps to launch the Flask App.
-
Download the project locally by clonning or in a zip format.
-
Donwload the Emotion prediction model .h5 file and copy its path.
2.1 go to the directory
cd Flask_Face_detection2.2 go to the directory
cd "Face and Emotion prediction" -
Create a new virtual environment or proceed it in your current environment by running
3.1 For Creating virtual environment
1. First install virtualenv --> pip install virtualenv 2. Create a virtual environment. --> virtualenv my_env 3. Now activate the environment by going to ./my_env/Scripts --> activate3.2 For installing dependicies
Now after returning to the original directory which is Face and Emotion prediction. Run the below command --> pip install -r requirements.txt -
After installing dependencies and replacing the path in app.py file for loading the model file.
-
For running the webpage, execute the following.
python app.py
Samples:
- Home Page
- Prediction Page.
- Checking working of Camera Feed
Note: My Model is customised for returning values like confidence score for Image which was trained on EMOTIC dataset with custom modifications and now that models are used in this.
If u want the steps to run the particular page it will be given in "Steps" folder with each and every steps recorded.


