https://github.com/e1washere/emotion-recognition-app
Emotion Recognition App is a cross-platform desktop app that uses deep learning to detect emotions from facial images and videos. It runs fully offline and supports real-time analysis using 8 models built with TensorFlow and PyTorch. Developed with React, Electron, and FastAPI.
https://github.com/e1washere/emotion-recognition-app
deep-learning emotion-recognition fastapi pytorch react tensorflow
Last synced: 3 months ago
JSON representation
Emotion Recognition App is a cross-platform desktop app that uses deep learning to detect emotions from facial images and videos. It runs fully offline and supports real-time analysis using 8 models built with TensorFlow and PyTorch. Developed with React, Electron, and FastAPI.
- Host: GitHub
- URL: https://github.com/e1washere/emotion-recognition-app
- Owner: e1washere
- License: mit
- Created: 2025-05-07T11:27:00.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-23T20:03:02.000Z (11 months ago)
- Last Synced: 2026-01-03T16:12:11.098Z (6 months ago)
- Topics: deep-learning, emotion-recognition, fastapi, pytorch, react, tensorflow
- Language: Python
- Homepage:
- Size: 1.19 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Emotion Recognition App ๐๐ข๐
[](https://opensource.org/licenses/MIT)
[](https://github.com/e1washere/emotion-recognition-app/actions)
[](https://coveralls.io/github/e1washere/emotion-recognition-app?branch=main)
[](https://github.com/e1washere/emotion-recognition-app/wiki)

[](https://securityscorecards.dev/viewer/?uri=github.com/e1washere/emotion-recognition-app)
A cross-platform desktop app that uses deep learning to recognize emotions from facial images or video using 8 models (TensorFlow + PyTorch). Developed with React + Electron + FastAPI.
## ๐ธ Screenshots
### Video Upload Recognition

## ๐จโ๐ป Tech Stack
- Frontend: ReactJS, Electron, FaceAPI.js
- Backend: Python, FastAPI
- ML: TensorFlow, PyTorch (VGG16 models)
## ๐ก Features
- Real-time webcam-based emotion recognition
- Upload image/video for analysis
- Compare 8 emotion models
- Fully local app (no cloud required)
## ๐ง Datasets Used
- FER2013
- KDEF
- NHFI
- Mixed Dataset
## ๐งช Model Training
Each dataset was used to train two models (TensorFlow + PyTorch). A two-phase transfer learning strategy was used with VGG16 as the base model.
## ๐ Model Results
| Dataset | Framework | Accuracy | F1 Score |
|----------|------------|----------|----------|
| KDEF | TensorFlow | 92% | 0.92 |
| KDEF | PyTorch | 91% | 0.91 |
| NHFI | TensorFlow | 78% | 0.76 |
| NHFI | PyTorch | 72% | 0.71 |
| FER2013 | TensorFlow | 67% | 0.65 |
| FER2013 | PyTorch | 66% | 0.63 |
| Mixed | TensorFlow | 70% | 0.70 |
| Mixed | PyTorch | 68% | 0.68 |
## ๐ How to Run It
### Backend
```bash
cd Backend
pip install -r requirements.txt
uvicorn app.main:app --reload