Skip to content

Real-time emotion detection project using deep learning. Trains a model on facial expressions for classification and provides a script for live webcam-based emotion recognition.

Notifications You must be signed in to change notification settings

prateekmlg-1907/Emotion-Detection-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emotion Detection Project 🎭

This project enables real-time emotion detection using deep learning techniques. It includes scripts for training an emotion detection model and a main script for real-time emotion detection from a webcam feed. 🚀

Project Structure 📂

Project
|-- data
|   |-- train
|   |   |-- class1
|   |   |-- class2
|   |   ...
|   |-- test
|       |-- class1
|       |-- class2
|       ...
|-- models
|   |-- emotion_detector.h5
|-- main.py
|-- metrics.py
|-- train.py
|-- requirements.txt
  • data: Contains subdirectories for training and testing data. Each class has its own subdirectory, facilitating efficient data organization.
  • models: Stores the trained models. The emotion_detector.h5 file contains the trained model for emotion detection.
  • main.py: The main script for real-time emotion detection using the trained model.
  • train.py: Script for training the emotion detection model.

Usage 🛠️

  1. Clone the Repository: Run the following command in your terminal:
git clone https://github.com/yourusername/emotion-detection-project.git
  1. Install Dependencies: Navigate to the project directory and install the required dependencies:
cd emotion-detection-project
pip install -r requirements.txt
  1. Train the Model: Execute the train.py script to train the emotion detection model using the provided training data.
python train.py
  1. Real-time Emotion Detection: Run the main.py script to start real-time emotion detection from the webcam feed.
python main.py

Requirements 📋

  • Python 3.x
  • OpenCV
  • NumPy
  • TensorFlow
  • Keras

Contribute 🤝

Contributions are welcome! Feel free to open issues or submit pull requests to improve the project.

Contact 📧

For any questions or suggestions, feel free to reach out to prateekmalagund@gmail.com.

Feel free to further customize the README.md as needed! 🌟

About

Real-time emotion detection project using deep learning. Trains a model on facial expressions for classification and provides a script for live webcam-based emotion recognition.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages