• Stars
    star
    123
  • Rank 290,145 (Top 6 %)
  • Language
    Python
  • License
    MIT License
  • Created about 6 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Realtime person's face recognize and can classify emotion using webcam, video or images.

Face and Emotion Recognition

This software recognizes person's faces and their corresponding emotions from a video or webcam feed. Powered by OpenCV, Dlib, face_recognition and Deep Learning.

Demo

Image

Dependencies

Note : If you are facing issues installing dlib in your system then use google collab its comes as pre-installed.

Usage

  • test folder contain images or video that we will feed to the model.
  • images folder contain only images of person face to perform face recognition.
  • models contain the pre-trained model for emotion classifier.
  • emotion.py can to run to classify emotions of person's face.
  • face-rec-emotion.py can recognise faces and classify emotion at a time.
  • face_recognition library uses the FaceNet Implementation for face recognition.For more details please visit here

python emotion.py

python face-rec-emotion.py

To train new models for emotion classification

  • Download the fer2013.tar.gz file from here
  • Move the downloaded file to the datasets directory inside this repository.
  • Untar the file: tar -xzf fer2013.tar
  • Download train_emotion_classifier.py from orriaga's repo here
  • Run the train_emotion_classification.py file: python train_emotion_classifier.py

Deep Learning Model

The model used is from this research paper written by Octavio Arriaga, Paul G. Plรถger, and Matias Valdenegro.

Model

Credit

  • Computer vision powered by OpenCV.
  • Neural network scaffolding powered by Keras with Tensorflow.
  • FaceNet Research Paper
  • Convolutional Neural Network (CNN) deep learning architecture is from this research paper.
  • Pretrained Keras model and much of the OpenCV code provided by GitHub user oarriaga.

More Repositories

1

Vehicle-Number-Plate-Reading

Read Vehicle Number Plate and store the data in a CSV file with date and time.
Python
62
star
2

twitter-pipeline

In this project, you will be building a Twitter Scheduler using Apache Airflow on Docker.
Python
9
star
3

Object-Detection

This project is used for object detection using Yolov3 and Fast RCNN.
Python
7
star
4

Nuclei-Segmentation-using-Mask-RCNN

The goal is to segment individual nuclei in microscopy images.
Jupyter Notebook
7
star
5

Library-Management

This project manages overall process of library workflow.
Java
7
star
6

Admission-Management

This is a demo project on Admission Management for Schools and Colleges.
Java
5
star
7

Recommender-System-LightFm

Recommender System using LightFM
Jupyter Notebook
2
star
8

Tensorflow-Series

Here you can find how to train Tensorflow ML model on various algorithms and Deploying these model on production.
Jupyter Notebook
2
star
9

Home-Credit-Default-Risk

Objective of this competition is to use historical loan application data to predict whether or not an applicant will be able to repay a loan.
Jupyter Notebook
2
star
10

superteam-reputation

JavaScript
1
star
11

twitter_sentimental_calculator

Enter a topic, it fetches tweets on that topics and perform sentimental anlaysis.
Python
1
star
12

Handwritten-digit-recognizer

Handwritten digit recognition with MNIST & Tensorflow.
Jupyter Notebook
1
star
13

gender_classification

This Model classify the gender when user gives the height, weight and shoe size of a person.
Python
1
star
14

shadow-drive-storage

TypeScript
1
star
15

Housing-Prices-Competition-Kaggle

Learn about Feature Engineering and get familiar with Advanced regression techniques like Lasso, ElasticNet, Gradient Boosting, etc.
Jupyter Notebook
1
star