This projects aim to classify real time facial emotion recoginition to either of one of the universal seven emotions using Deep convolutional neural network(CNN) learning and open cv
- pip install opencv-python
- pip install tensorflow
- pip install keras
- conda install opencv-python
- conda install tensorflow
- conda install keras
If you are using GPU then uncomment this code block in model.py
'''config = tf.compat.v1.ConfigProto()
config.gpu_options.per_process_gpu_memory_fraction = 0.15
session = tf.compat.v1.Session(config=config)'''
-
First extract train folder and test folder from this link and get this to the main project folder.
-
open command line or anaconda prompt from this main project folder and type python main.py
- open your Google chrome and go to localhost:5000 and run your project
- 4 CNN layer with 64,128,256 512 filter respectively
- 3 dense layer with 256, 512 and 7 nodes respectively
- model is converted to json and implemented in flask framework