Keras

😊 Facial Emotion Detection using ResNet50

This project is a deep learning-based web application that detects human emotions from images.
The model is trained on the FER2013 dataset using transfer learning with ResNet50.


πŸ“Œ Features

  • Detects 7 emotions:

    • Angry 😠
    • Disgust 🀒
    • Fear 😨
    • Happy πŸ˜„
    • Sad 😒
    • Surprise 😲
    • Neutral 😐
  • Achieved ~68% test accuracy

  • Uses ResNet50 (Transfer Learning)

  • Real-time image upload and prediction

  • Deployed using Flask + Render

  • Model hosted on Hugging Face


🧠 Model Details

  • Base Model: ResNet50 (pretrained on ImageNet)
  • Input Shape: (224, 224, 3)
  • Preprocessing: Pixel normalization (/255)
  • Loss Function: Categorical Crossentropy
  • Optimizer: Adam
  • Techniques Used:
    • Data Augmentation
    • Class Weighting
    • EarlyStopping
    • ReduceLROnPlateau
    • ModelCheckpoint

πŸ“Š Performance

  • Train Accuracy: ~75%
  • Test Accuracy: ~68%

πŸ–ΌοΈ Pipeline

Downloads last month
9
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Space using aayansh26/emotion_detection 1