Sign inSign up

kshitizb/emotionlens

By kshitizb

•Updated over 1 year ago

EmotionLens detects emotions from human faces in real-time with high accuracy.

Image
Machine learning & AI
0

869

kshitizb/emotionlens repository overview

ā šŸš€ EmotionLens - AI-Powered Facial Expression Recognition

EmotionLens is an advanced Facial Expression Recognition (FER) web application powered by a custom Residual CNN model. This AI-driven system detects emotions from human faces in real-time with high accuracy.

ā šŸ”¹ Features

āœ… FastAPI-based backend
āœ… Lightweight CNN architecture (No pre-trained models!)
āœ… Supports drag-and-drop, paste, and file upload
āœ… Predicts emotions with confidence scores
āœ… Fully containerized for quick deployment

ā šŸ“Œ Usage

⁠Run the Container
docker run -p 8010:8010 kshitizb/emotionlens

Then open: http://localhost:8010/⁠

⁠Pull the Image
docker pull kshitizb/emotionlens

ā šŸ“Œ Supported API Endpoints

MethodEndpointDescription
GET/Upload Page
POST/upload/Upload & Detect Emotion

ā šŸ”¹ Recognized Emotions

😠 Anger
šŸ˜’ Contempt
🤢 Disgust
😨 Fear
😃 Happy
😐 Neutral
😢 Sad
😲 Surprise

ā šŸ“Œ Deployment

⁠Build Locally
docker build -t kshitizb/emotionlens .
⁠Push to Docker Hub
docker tag emotionlens kshitizb/emotionlens
docker push kshitizb/emotionlens

ā šŸ“Œ Model Details

  • Dataset: Trained on AffectNet
  • Architecture: Residual CNN
  • Accuracy: 73.96% (on test set)

ā šŸ”¹ Contributors

šŸ‘Øā€šŸ’» Kshitiz Bhargava⁠
šŸ‘Øā€šŸ’» Manvendra Singh
šŸ‘Øā€šŸ’» Krishnaraj Natarajan

šŸ“§ Contact: [email protected]⁠

ā šŸ”¹ License

šŸ“ Open-source under MIT License.

Tag summary

Content type

Image

Digest

sha256:333051cf1…

Size

436.8 MB

Last updated

over 1 year ago

docker pull kshitizb/emotionlens