Here we use to do face emotion recognition with the help of keras and opencv you can find code and preprocessing techniques
It is fully develpoed for Face Emotion recognition with help of the computer vision and CNN
To use this code just we need to install some packages from pypi library
git clone https://github.com/saichandrareddy1/FaceEmotionRecognition.git
The above thing is buy using HTTPS we are going to clone the data into the ubuntu
for windows download the repo or by using wget we can get it, if it not present install it by using https://builtvisible.com/download-your-website-with-wget/
wget https://github.com/saichandrareddy1/FaceEmotionRecognition.git
1.We need Python 3.x idle or Anaconda
2.Need all the libraries
1.numpy
2.matplotlib
3.seaborn
4.pandas
5.opencv
6.keras backend tensorflow
Just run the below command mostly this is for the python idle or Anaconda
sudo apt install python3-pip # if no pip is present
sudo pip3 install -r requirements.txt
or
pip3 install -r requirements.txt
In anaconda numpy, matplotlib, pandas are pre-installed or if it not installed in your envirolment use below commands
conda install -c conda-forge numpy
conda install -c conda-forge matplotlib
conda install -c conda-forge seaborn
conda install -c anaconda pandas
conda install -c conda-forge opencv
#GPU TENSORFLOW installation
conda install -c anaconda tensorflow-gpu
conda install -c anaconda keras-gpu
#CPU
conda install -c anaconda tensorflow
conda install -c anaconda keras
pip3 install numpy
pip3 install pandas
pip3 install matplotlib.pyplot
pip3 install seaborn
pip3 install python3-opencv
#GPU
pip3 install tensorflow-gpu
pip3 install keras
#CPU
pip3 install tensorflow
pip3 install keras
sudo apt install python3-pip
sudo pip3 install numpy
sudo pip3 install pandas
sudo pip3 install matplotlib
sudo pip3 install seaborn
sudo pip3 install opencv
#GPU
sudo pip3 install tensorflow-gpu
sudo pip3 install keras
#CPU
sudo pip3 install keras
sudo pip3 install tensorflow
Regarding using Sudo apt did you get any errors please try to use sudo apt-get command
If you get any errors while installation please report on the issues
Here if you are intered you can uodate the preprocessing code and the model also
you can get the data from the this link https://drive.google.com/open?id=1sN0TtZ3LGTh2M15Zy-xB0tl1gGtfxtNT
you can model.hdf5 file from this link https://drive.google.com/open?id=1q29tJlE81i7dAToResbGMjszkLQE1V5j
just open your CMD or Terminal run this command
python3 app.py
after running the command you can see all the files like
1.csv_data.csv
2.foo.png
3.bar.png
1. Sai Chandra Reddy
Email:- [email protected]
2. Nayeem
Email - [email protected]
3. Mastan
Email - [email protected]
4. Lokesh
Email - [email protected]
5. Harish
Email - [email protected]
Dr. Parminder Singh
Associate Professor from Lovely Professional University, Phagwara, punjab, INDIA
Email:- [email protected]
This project is supported for the
Version | Supported |
---|---|
python 3.6 | ✅ |
python 3.7 | ✅ |
python 3.8 | ❌ |
tensorflow < 2.0 | ✅ |
tensorflow > 2.0 | ❌ |
keras 2.3.0+ | ✅ |
keras 2.3.0 < | Not_checked |
Tested | Supported |
---|---|
Ubuntu 18.04 | ✅ |
windows 10 | ✅ |
MacOS | ❌ |
Pop_os 18.04 | ✅ |
RedHat | Not_checked |
If you see any Vulnerability in code or while runnig time please push me a request or inform on ISSUES
This repo is under GPL license if need to know more please check LICENSE.md