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.
✅ 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
The system can detect the following emotions:
😄 Happy 😲 Surprise 😨 Fear 😢 Sad 😡 Angry
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.
git clone https://github.com/rsamwilson2323-cloud/Emotion-Detection.git
cd Emotion-Detection
pip install -r requirements.txt
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 ⏎
Main libraries used in this project:
opencv-python
fer
tensorflow
mtcnn
Install them using:
pip install -r requirements.txt
Sam Wilson
🌐 GitHub https://github.com/rsamwilson2323-cloud
💼 LinkedIn https://www.linkedin.com/in/sam-wilson-14b554385
This project is licensed under the MIT License.