Skip to content

Computer Vision project that detects emotion, age and gender after detecting faces.

License

Notifications You must be signed in to change notification settings

Furkan-Gulsen/face-classification

Repository files navigation

Face Classification

In this project, one or more human faces are detected in real time and predictions are made about the faces detected by AI models trained in the background.


Emotion Recognition

I used only Transfer Learning models in this project to get faster and better results. For Emotion Recognation:

  • VGG16,
  • VGG19,
  • ResNet,
  • Inception,
  • Xception,

I experimented with transfer learning models. I used the Xception model in this section because it gives the best result.

If you want to run real time face emotion recognition:

python emotionRecognition.py

Gender Classification

I used only Transfer Learning models in this project to get faster and better results. For Gender Classification:

  • VGG16,
  • VGG19,
  • ResNet,
  • Inception,
  • Xception,

I experimented with transfer learning models. I used the VGG16 model in this section because it gives the best result.

If you want to run real time gender classificatin:

python genderClassificationWithDNN.py

or

python genderClassificationWithDLIB.py

License

Cover Photo: People vector created by pikisuperstar - www.freepik.com