Ad

face_classification: Real-time face detection and emotion recognition

This repository implements real-time face detection and emotion/gender classification using Keras CNNs and OpenCV, leveraging FER2013 and IMDB datasets. Offers examples, inference scripts, and Docker integration.
Screenshot of oarriaga/face_classification homepage

This project provides a framework for face classification and detection. It implements a Keras Convolutional Neural Network (CNN) model to classify facial expressions (emotion) and gender using the FER2013 and IMDB datasets. The system utilizes OpenCV for real-time face detection and integrates with a Keras model for classification. It addresses the need for readily deployable and adaptable face analysis solutions.

The project offers a functional real-time demo and provides clear instructions for running inference on single images. It includes Docker integration for easy deployment, simplifying the setup process. The repository also provides scripts for training the models on custom datasets, enabling users to adapt the system to their specific needs. The reported accuracy levels for both emotion and gender classification are notable.

  • Real-time Demo: Provides an interactive demonstration of face detection and emotion classification in real-time.
  • Image Inference: Allows performing classification on single images using dedicated scripts.
  • Docker Support: Includes Dockerfile and instructions for easy containerization and deployment.
  • Training Scripts: Offers scripts for training the emotion and gender classification models on custom datasets.
  • Dataset Integration: Includes instructions for downloading and integrating the FER2013 and IMDB datasets.
  • Keras CNN Model: Employs a Keras CNN architecture for facial expression recognition.
  • OpenCV Integration: Uses OpenCV for efficient face detection.

The project appears to be a relatively mature implementation, providing functional code and detailed instructions. However, the repository is marked as deprecated in favor of a TF-2.0 rewrite. While the core functionality is present and well-documented, ongoing maintenance is limited due to the deprecation. The code examples are complete and runnable, but users should be aware of the deprecated status.

This project benefits researchers and developers seeking a functional face classification system with real-time capabilities. It’s useful for applications requiring emotion or gender analysis from video streams or images, providing a quick-start solution with Docker support. While the original code is deprecated, the project serves as a valuable example of face classification techniques and offers a foundation for further development or adaptation.

Summarize:
Share:
Stars
5,734
Forks
1,609
Issues
54
Created
9 years ago
Commit
2 years ago
License
MIT
Archived
No
Updated 16 days ago

Similar Repositories