Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

😊 Emotion Detection System

Emotion Detection System is a Python-based project that identifies human emotions from facial expressions using Computer Vision and Deep Learning.

The system uses OpenCV 🎥 for image processing and the FER (Facial Emotion Recognition) library with MTCNN 🧠 for accurate face detection and emotion prediction.

The program detects emotions directly from the webcam in real time without requiring a custom dataset.


✨ Features

✅ Real-time emotion detection using webcam ✅ Detects multiple faces simultaneously ✅ Displays emotion with confidence percentage ✅ Uses MTCNN for better face detection accuracy ✅ Simple and easy-to-run Python implementation


🧠 Emotions Detected

The system can detect the following emotions:

😄 Happy 😲 Surprise 😨 Fear 😢 Sad 😡 Angry

⚠️ Neutral emotion may appear depending on the FER model.


📂 Project Structure

Emotion-Detection
│
├── emotion recognition source code.py
├── requirements.txt
├── README.md
└── LICENSE

This project uses the FER emotion recognition model, so no additional dataset or emotion image folders are required.


⚙️ Installation

1️⃣ Clone the Repository

git clone https://github.com/rsamwilson2323-cloud/Emotion-Detection.git
cd Emotion-Detection

2️⃣ Install Dependencies

pip install -r requirements.txt

▶️ Usage

Run the program:

python emotion recognition source code.py

📷 The webcam will start automatically and begin detecting emotions in real time.

To stop the program:

Press ENTER ⏎


📦 Requirements

Main libraries used in this project:

opencv-python
fer
tensorflow
mtcnn

Install them using:

pip install -r requirements.txt

👨‍💻 Author

Sam Wilson

🌐 GitHub https://github.com/rsamwilson2323-cloud

💼 LinkedIn https://www.linkedin.com/in/sam-wilson-14b554385


📜 License

This project is licensed under the MIT License.

About

A Python-based Emotion Recognition System that detects human emotions using computer vision and deep learning. It supports both real-time webcam detection and image-based emotion analysis. Built with OpenCV and FER, the system identifies emotions like happy, sad, angry, fear, and surprise, displaying results with confidence scores.

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages