Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1002 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 1002 Bytes

Facial_Emotion_Detector

Detects the following facial emotions - angry, disgust, fear, happy, sad, surprise, neutral - using fer2013 datasets with a keras CNN model and openCV. Accuracy: 66%

Requirements

  • python 3
  • cv2
  • Tensorflow 2

Download pre-trained emotion detection model, caffemodel and prototxt in models for model inferences.

Usage

To get results in images, use

facial_emotion.process(image_path)

To get results in real-time and in video feeds, use

facial_emotion.real_time_feed(video_path)

Result