https://github.com/yashrajgithub/emotion-recognization-and-analysis
This Emotion Detection Web App uses NLP and facial emotion recognition to analyze emotions from text or video. It offers text-based emotion prediction with probability visualization and a feedback form. Real-time webcam emotion detection is included (currently disabled due to compatibility).
https://github.com/yashrajgithub/emotion-recognization-and-analysis
altair api cnn-classification data-processing decision-trees fer joblib knn-classification logistic-regression machine-learning nlp-machine-learning opencv python3 speech-recognition streamlit streamlit-webapp webcam
Last synced: about 2 months ago
JSON representation
This Emotion Detection Web App uses NLP and facial emotion recognition to analyze emotions from text or video. It offers text-based emotion prediction with probability visualization and a feedback form. Real-time webcam emotion detection is included (currently disabled due to compatibility).
- Host: GitHub
- URL: https://github.com/yashrajgithub/emotion-recognization-and-analysis
- Owner: Yashrajgithub
- License: mit
- Created: 2025-01-22T06:43:20.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-22T16:05:40.000Z (over 1 year ago)
- Last Synced: 2025-03-24T20:17:23.060Z (about 1 year ago)
- Topics: altair, api, cnn-classification, data-processing, decision-trees, fer, joblib, knn-classification, logistic-regression, machine-learning, nlp-machine-learning, opencv, python3, speech-recognition, streamlit, streamlit-webapp, webcam
- Language: Jupyter Notebook
- Homepage: https://tinyurl.com/mr2ftj8p
- Size: 4.97 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
😊 Emotion Detection Web App
---
Link : https://emotion-recognization-and-analysis-mp.streamlit.app/
---
This project is a web-based **Emotion Detection Application** that leverages **Natural Language Processing (NLP)** and **Facial Emotion Recognition** to analyze and predict emotions from text or real-time video input.
---
## 🌟 Features
* **Text Emotion Analysis**:
- Enter text or use speech input to analyze the emotion.
- Outputs a predicted emotion along with a confidence score.
- Displays a bar chart of prediction probabilities.
* **Real-Time Webcam Emotion Detection** *(currently disabled)*:
- Detects emotions using a webcam feed.
- Employs **OpenCV** and **FER** for real-time emotion detection.
* **Feedback Form**:
- Users can submit feedback or suggestions directly through the app.
---
## 🛠️ Technology Stack
* **Programming Language**: Python
* **Framework**: Streamlit
* **NLP Libraries**: NLTK, HuggingFace Transformers
* **Emotion Recognition Libraries**: OpenCV, FER, TensorFlow
* **Visualization**: Altair
* **Other Tools**: Joblib, SpeechRecognition, Pandas, NumPy
---
## 📂 Directory Structure
```plaintext
📁 EmotionDetectionApp
├── 📁 model
│ └── emotion_classifier_pipe_lr.pkl # Pre-trained emotion detection model
├── 📄 app.py # Main application code
└── 📄 requirements.txt # List of dependencies
- `model/emotion_classifier_pipe_lr.pkl`: Pre-trained emotion classification model.
- `app.py`: Main application code.
- `requirements.txt`: Python dependencies for the project.
- `README.md`: Project documentation.
```
---
## 🚀 How to Run
1. **Clone the Repository**:
```bash
git clone https://github.com/Yashrajgithub/Emotion-Recognization-and-Analysis.git
2. **Run the Application**:
```bash
streamlit run app.py
3. **Access the App:**
```bash
usually http://localhost:8501
---
## 📖 _Usage_
* **Home**:
- Choose between _"Text Recognition"_ or _"Webcam Emotion Detection."_
- Enter text, or use the speech-to-text functionality to predict emotions.
* **About**:
- Learn about the project's purpose, technology stack, and functionality.
* **Feedback**:
- Submit feedback or suggestions via the provided form.
---
## 📸 Webapp
| 1. Home Page |
|---------------------------|
|  |
| 2. Result Page: |
| ------------------------|
|  |