/Face-Recognition-using-FER

Detects and extracts faces into a folder as well as writes their emotions onto a video.

Primary LanguagePython

#What to expect from this repo:

  1. Faces will be detected
  2. Detected faces will be stored in the "Images" folder
  3. A video with the detected faces will be saved in the form of a video.
  4. Emotions will be detected and displayed on the saved video.

#Requirements

  1. opencv ( pip install opencv-python )
  2. FER ( pip install fer )

#How to run:

  1. python3 face_recognition.py

and that's it !!

Faces will be stored in a created folder named "Images". A video will be saved showing the detected faces along with their emotion. Here I have used mtcnn for better accuracy but you can always toggle mtcnn = True/False.