Face_classification

Real-time face detection and emotion/gender classification using fer2013/imdb datasets with a keras CNN model and openCV.
Alternatives To Face_classification
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Face_classification5,312
7 months ago54mitPython
Real-time face detection and emotion/gender classification using fer2013/imdb datasets with a keras CNN model and openCV.
Rude Carnie897
2 years ago26Python
Age detection in Tensorflow
Transfer Learning Anime121
6 years ago2Python
Transfer Learning for Anime Characters Recognition
Covid Mask Detector102
2 years agomitPython
Detect whether a person is wearing a mask or not
Mlwithtensorflow2ed101
a year ago13apache-2.0Jupyter Notebook
Code for Machine Learning with TensorFlow: 2nd Edition Published by Manning Publications
Awesome Datasets78
7 years ago1
A curated list of awesome datasets for papers/experiments/validation.
Faceonnx7822 months ago20May 08, 2022mitC#
Face recognition and analytics library based on deep neural networks and ONNX runtime
Classifiertoolbox75
5 months ago2mitMATLAB
A MATLAB toolbox for classifier: Version 1.0.7
Deep Vision Processing74
6 months ago6Java
Deep computer-vision algorithms for the Processing framework.
Emotion_recognition66
7 months ago4mitPython
人脸检测加表情识别
Alternatives To Face_classification
Select To Compare


Alternative Project Comparisons
Readme

This repository is deprecated for at TF-2.0 rewrite visit:

oarriaga/paz


Face classification and detection.

Real-time face detection and emotion/gender classification using fer2013/IMDB datasets with a keras CNN model and openCV.

  • IMDB gender classification test accuracy: 96%.
  • fer2013 emotion classification test accuracy: 66%.

For more information please consult the publication

Emotion/gender examples:

alt tag

Guided back-prop alt tag

Real-time demo:

B-IT-BOTS robotics team :) alt tag

Instructions

Run real-time emotion demo:

python3 video_emotion_color_demo.py

Run real-time guided back-prop demo:

python3 image_gradcam_demo.py

Make inference on single images:

python3 image_emotion_gender_demo.py <image_path>

e.g.

python3 image_emotion_gender_demo.py ../images/test_image.jpg

Running with Docker

With a few steps one can get its own face classification and detection running. Follow the commands below:

  • docker pull ekholabs/face-classifier
  • docker run -d -p 8084:8084 --name=face-classifier ekholabs/face-classifier
  • curl -v -F [email protected][path_to_image] http://localhost:8084/classifyImage > image.png

To train previous/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

  • Run the train_emotion_classification.py file

python3 train_emotion_classifier.py

To train previous/new models for gender classification:

  • Download the imdb_crop.tar file from here (It's the 7GB button with the tittle Download faces only).

  • Move the downloaded file to the datasets directory inside this repository.

  • Untar the file:

tar -xfv imdb_crop.tar

  • Run the train_gender_classification.py file

python3 train_gender_classifier.py

Popular Classification Projects
Popular Face Projects
Popular Data Processing Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Python
Dataset
Classification
Face
Emotion
Imdb