Skip to content

shubham055555/Facial-Emotion-Detection-using-Deep-Learning-and-OpenCV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ˜ƒ Facial Emotion Detection using Deep Learning and OpenCV This project is a real-time facial emotion recognition system that uses a trained deep learning model (CNN) to detect and classify human emotions from webcam video feed. It identifies emotions such as Happy, Sad, Angry, Fear, Surprise, Disgust, and Neutral using OpenCV and Keras.

🧠 Internship Experience Summary This project was part of a hands-on internship where I learned and implemented:

πŸ”Ή AI & ML Basics – Algorithms, model training & evaluation

πŸ”Ή AI + Cloud Integration – Leveraged Azure AI Services

πŸ”Ή Generative AI – Explored Microsoft Copilot, NLP, and Computer Vision tools

πŸ”Ή AI for Sustainability – Applied AI for real-world impact and leadership development

πŸ›  Technologies Used Python OpenCV Keras / TensorFlow NumPy Haar Cascades

πŸ” Features Real-time emotion detection from webcam

Deep learning-based facial expression recognition

Uses Haar Cascade for face detection

Pre-trained Keras model (.json + .h5)

Labels emotions on faces in live video stream

face-emotion-detection/ β”‚ β”œβ”€β”€ emotiondetector.json # Model architecture β”œβ”€β”€ emotiondetector.h5 # Model weights β”œβ”€β”€ emotion_detection.py # Main Python script └── README.md # Project documentation

pip install opencv-python keras numpy 🧠 Emotions Recognized 😠 Angry

🀒 Disgust

😨 Fear

πŸ˜€ Happy

😐 Neutral

😒 Sad

😲 Surprise

πŸ“Œ Notes The face detection is handled by OpenCV's Haar cascade classifier.

The model is trained on grayscale 48x48 facial expression images.

Model files are not included due to size β€” you can train your own or contact me for the files([email protected]).

πŸ“„ Internship Offer Letter

This project was completed as part of a 4-week internship under the "Foundations of Artificial Intelligence" program organized by Edunet Foundation in collaboration with AICTE and Microsoft.

πŸ”— Download Internship Offer Letter (PDF)


πŸ§‘β€πŸ« Internship Overview:

  • Learned AI, ML, and DL concepts
  • Worked with Azure AI & Microsoft Copilot
  • Completed hands-on projects with real-world problem solving
  • Attended mentor-led sessions and masterclasses

πŸ™‹β€β™‚οΈ Author Shubham B.Tech CSE (AI & ML) πŸ“œ License This project is open-source and available under the MIT License.

Releases

No releases published

Packages

No packages published