Skip to content

Latest commit

ย 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 

Repository files navigation

Emotion Detection Using CNN and FER-2013

๐Ÿš€ Emotion Detection (April 2025) Deep Learning project built with Python, TensorFlow, Keras, VGG16, ResNet50v2, OpenCV, and Gradio.

This project trains a Convolutional Neural Network (CNN) on the FER-2013 dataset to classify 7 human emotions and deploys a real-time emotion recognition system using OpenCV and Gradio.

โœจ Features

๐Ÿ“Š CNN Model trained on FER-2013 with data augmentation, dropout, and class weighting.

๐ŸŽฏ Achieved 66% validation accuracy.

๐Ÿ–ผ๏ธ Supports 7 emotions: Angry, Disgust, Fear, Happy, Sad, Surprise, Neutral.

๐ŸŽฅ Real-time detection from webcam using OpenCV.

๐ŸŒ Interactive interface powered by Gradio for user-friendly predictions.# Emotion_detection Results

Validation Accuracy: 66%

Techniques used:

Data Augmentation

Dropout Regularization

Class Weighting for imbalance

๐Ÿ“ท Demo

Gradio Interface:

Real-time Webcam Prediction:

๐Ÿ”ฎ Future Improvements

Improve accuracy with EfficientNet / Vision Transformers (ViT).

Deploy as a web app or mobile app.

Train with larger datasets for robustness.

๐Ÿ“š Tech Stack

Python 3.9+

TensorFlow / Keras

OpenCV

Gradio

VGG16, ResNet50v2 pretrained models

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages