/Facial-Emotions-Detector

👤 EmotionDetect: Real-time facial expression recognition app using AI. 🤖 Accurate, user-friendly, and optimized for diverse environments. 😊🔍 #AI #FacialRecognition

Primary LanguagePythonApache License 2.0Apache-2.0

Emotion_detection_with_CNN

Packages need to be installed

  • pip install numpy
  • pip install opencv-python
  • pip install keras
  • pip3 install --upgrade tensorflow
  • pip install pillow

download FER2013 dataset

Train Emotion detector

  • command --> python TranEmotionDetector.py

It will take several hours depends on your processor.after Training , you will find the trained model structure and weights are stored in your project directory.

emotion_model.json emotion_model.h5

copy these two files create model folder in your project directory and paste it.

run your emotion detection test file

python TestEmotionDetector.py