All Projects → weblineindia → AIML-Human-Attributes-Detection-with-Facial-Feature-Extraction

weblineindia / AIML-Human-Attributes-Detection-with-Facial-Feature-Extraction

Licence: MIT license
This is a Human Attributes Detection program with facial features extraction. It detects facial coordinates using FaceNet model and uses MXNet facial attribute extraction model for extracting 40 types of facial attributes. This solution also detects Emotion, Age and Gender along with facial attributes.

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to AIML-Human-Attributes-Detection-with-Facial-Feature-Extraction

Hemuer
An AI Tool to record expressions of users as they watch a video and then visualize the funniest parts of it!
Stars: ✭ 22 (-54.17%)
Mutual labels:  facial-recognition, facial-expression-recognition, emotion-detection, emotion-recognition
Face Api.js
JavaScript API for face detection and face recognition in the browser and nodejs with tensorflow.js
Stars: ✭ 13,258 (+27520.83%)
Mutual labels:  face-recognition, gender-recognition, emotion-recognition
clockon-clockoff-face-recognition
Face Recognize application. Using FaceNet and CoreML
Stars: ✭ 21 (-56.25%)
Mutual labels:  face-recognition, facenet, facenet-trained-models
age-and-gender
Predict Age and Gender of people from images | Determination of gender and age
Stars: ✭ 68 (+41.67%)
Mutual labels:  face-recognition, gender-recognition, gender-classification
HSE FaceRec tf
Tensorflow/Keras small models for face recognition, ag/gender prediction from images
Stars: ✭ 23 (-52.08%)
Mutual labels:  gender-recognition, age-recognition, gender-classification
WreckFaceApp
Android application for gender, age and face recognition using OpenCV and JavaCV libraries
Stars: ✭ 21 (-56.25%)
Mutual labels:  face-recognition, gender-recognition, age-recognition
Face Recognition
<NOT ACTIVELY MAINTAINED>A light weight face recognition implementation using a pre-trained facenet model
Stars: ✭ 106 (+120.83%)
Mutual labels:  face-recognition, facenet-trained-models
GenderRecognizer
Plain Face Detector & Gender Recognizer
Stars: ✭ 57 (+18.75%)
Mutual labels:  face-recognition, gender-recognition
Facial-Recognition-Using-FaceNet-Siamese-One-Shot-Learning
Implementation of Facial Recognition System Using Facenet based on One Shot Learning Using Siamese Networks
Stars: ✭ 104 (+116.67%)
Mutual labels:  face-recognition, facenet
Emotion-Investigator
An Exciting Deep Learning-based Flask web app that predicts the Facial Expressions of users and also does Graphical Visualization of the Expressions.
Stars: ✭ 44 (-8.33%)
Mutual labels:  facial-expression-recognition, emotion-detection
facenet-pytorch-glint360k
A PyTorch implementation of the 'FaceNet' paper for training a facial recognition model with Triplet Loss using the glint360k dataset. A pre-trained model using Triplet Loss is available for download.
Stars: ✭ 186 (+287.5%)
Mutual labels:  face-recognition, facenet
fer
Facial Expression Recognition
Stars: ✭ 32 (-33.33%)
Mutual labels:  facial-expression-recognition, emotion-recognition
Real-time-Face-recognition
即時人臉辨識(使用OpenCV與FaceNet)
Stars: ✭ 37 (-22.92%)
Mutual labels:  face-recognition, facenet
11K-Hands
Two-stream CNN for gender classification and biometric identification using a dataset of 11K hand images.
Stars: ✭ 44 (-8.33%)
Mutual labels:  gender-recognition, gender-classification
facial-expression-recognition
The main purpose of the project - recognition of emotions based on facial expressions. Cohn-Kanade data set (http://www.pitt.edu/~emotion/ck-spread.htm) is used for explorations and training
Stars: ✭ 60 (+25%)
Mutual labels:  facial-recognition, facial-expression-recognition
mlreef
The collaboration workspace for Machine Learning
Stars: ✭ 1,409 (+2835.42%)
Mutual labels:  mxnet, machine-learning-algorithms
FaceRecog
Realtime Facial recognition system using Siamese neural network
Stars: ✭ 47 (-2.08%)
Mutual labels:  face-recognition, facenet
Nearest-Celebrity-Face
Tensorflow Implementation of FaceNet: A Unified Embedding for Face Recognition and Clustering to find the celebrity whose face matches the closest to yours.
Stars: ✭ 30 (-37.5%)
Mutual labels:  face-recognition, facenet
STEP
Spatial Temporal Graph Convolutional Networks for Emotion Perception from Gaits
Stars: ✭ 39 (-18.75%)
Mutual labels:  emotion-detection, emotion-recognition
FaceNet-based-Attendance-System
Deep Learning based Web Application for marking attendance of students by recognizing the student's faces from the surveillance video footage of classroom.
Stars: ✭ 25 (-47.92%)
Mutual labels:  face-recognition, facenet

AI ML - Human Attributes Detection with Facial Feature Extraction

Age, Emotion, Gender recognition with Facial feature extraction

This facial attribute extraction program detects facial coordinates using FaceNet model and uses MXNet facial attribute extraction model for extracting 40 types of facial attributes. This solution detects Emotion, Age and Gender along with facial attributes.

Deep Learning Models used for the library are,

  • FaceNet model used for facial landmark recognition.
  • A trained lightened moon Mxnet model used for facial attribute extraction.
  • AgeNet pre-trained caffe model used for Age detection.
  • GenderNet caffe model used for Gender detection.

Table of contents

Getting started

Prerequisites for running the code are:

  • Python == 3.6
  • python-opencv == 4.2.0
  • numpy == 1.18.5
  • pandas == 0.24.2
  • Keras == 2.2.4
  • mxnet == 1.6.0
  • python-dotenv == 0.14.0
  • imageio == 2.4.1

We have tested our program in above version, however you can use it in other versions as well.

Update path in .env file

Replace "your/path/to/folder/" in .env file with path of your system.

My username is abc, replace that with your system username.

Eg: FACEDETECTOR = "/home/abc/AIML-Human-Attributes-Detection-with-Facial-Feature-Extraction/model/facenet/opencv_face_detector.pbtxt"

Features

  • Face detection using FaceNet model
  • Detects facial attribute of a face in an image.
  • Detects Emotions on the face.
  • Predicts Gender of the detected face.
  • Predicts Age of the detected face.

Facial Attribute Classes

["5_o_Clock_Shadow","Arched_Eyebrows","Attractive","Bags_Under_Eyes","Bald", "Bangs","Big_Lips","Big_Nose",
"Black_Hair","Blond_Hair","Blurry","Brown_Hair","Bushy_Eyebrows","Chubby","Double_Chin","Eyeglasses","Goatee",
"Gray_Hair", "Heavy_Makeup","High_Cheekbones","Male","Mouth_Slightly_Open","Mustache","Narrow_Eyes","No_Beard",
"Oval_Face","Pale_Skin","Pointy_Nose","Receding_Hairline","Rosy_Cheeks","Sideburns","Smiling","Straight_Hair",
"Wavy_Hair","Wearing_Earrings","Wearing_Hat","Wearing_Lipstick","Wearing_Necklace","Wearing_Necktie","Young"] 

Emotion Detection Classes

  • Happy
  • Neutral
  • Surprise
  • Angry
  • Fear
  • Sad
  • Disgust

Gender Detection Classes

  • Male
  • Female

Age Detection Classes

['(0-2)', '(4-6)', '(8-12)', '(15-20)', '(25-32)', '(38-43)', '(48-53)', '(60-100)']

Usage

Inside the project's directory run:

python predict.py

You can find sample images in the Dataset folder and results can be seen on the terminal. Results directory contains images with detected faces.

Results

Original Image

Detection Results

Want to Contribute?

  • Created something awesome, made this code better, added some functionality, or whatever (this is the hardest part).
  • Fork it.
  • Create new branch to contribute your changes.
  • Commit all your changes to your branch.
  • Submit a pull request.

Need Help?

We also provide a free, basic support for all users who want to use image processing techniques for their projects. In case you want to customize this image enhancement technique for your development needs, then feel free to contact our AI/ML developers.


Collection of Components

We have built many other components and free resources for software development in various programming languages. Kindly click here to view our Free Resources for Software Development.


Changelog

Detailed changes for each release are documented in CHANGELOG.md.

Credits

  • Refered mxnet-face for attribute extraction. mxnet-face.
  • Refered fer2013/IMDB for emotional classification. fer2013/IMDB.
  • Refered AgeGender recognition. AgeGender.

License

MIT

Keywords

Mxnet_face, facial_attribute_extraction, Age_recognition, gender_recognition, emotion_recognition, caffemodel, fer2013

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].