orasio / face_and_emotion_detection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation

Requirements

  • Python 3.3+ or Python 2.7
  • macOS or Linux

Installation Options:

Installing on Mac or Linux

First, make sure you have dlib already installed with Python bindings:

Then, install this module from pypi using pip3 (or pip2 for Python 2):

pip3 install face_recognition

Alternatively, you can try this library with Docker, see this section.

If you are having trouble with installation, you can also try out a pre-configured VM.

Usage:

Complete pipeline for Face Detection, Face Recognition and Emotion Detection

Refer to the notebook /src/facial_detection_recog_emotion.ipynb

We have trained an emotion detection model and put its trained weights at /emotion_detector_models

Train your Emotion Detection Model

To train your own emotion detection model, Refer to the notebook /src/EmotionDetector_v2.ipynb

About


Languages

Language:Jupyter Notebook 100.0%