Skip to content

Gender, Age and Race classification using deep convolutional neural networks on human facial images

Notifications You must be signed in to change notification settings

usamatahir7/age-race-gender-classification

Repository files navigation

age-race-gender-classification

Gender, Age and Race classification using deep convolutional neural networks on human facial images

Image dataset

Download the datasets from following link:
training + validation
To preprocess the data and generate finaldf.pkl, run the data_preparation.py file or you can simple download
the finaldf.pkl from here finaldf.pkl

Labels

Download the labels csv files:
train validation

Preprocessed finaldf.pkl

finaldf.pkl

Predictions on validation data

Some of the predictions on the validation images are shown in the image below: predictions

Real time Prediction using webcam

To get a real time prediction of your age, race and gender, just run the predict.py file.
Here are the results on my face:
realtime

About

Gender, Age and Race classification using deep convolutional neural networks on human facial images

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages