Skip to content

This project demonstrates real-time emotion detection using a webcam feed. It uses OpenCV for capturing video frames and a pre-trained Convolutional Neural Network (CNN) model through the FER library to classify emotions such as happiness, sadness, anger, surprise, and more.

Notifications You must be signed in to change notification settings

Tejaswinipaunikar/Imotion_Detector_AI_Activity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Emotion Detection using DistilBERT Model

This project is an implementation of emotion detection in Python using a pre-trained model (bhadresh-savani/distilbert-base-uncased-emotion) from Hugging Face's transformers library. The program takes an input text and returns emotion scores for various emotions like joy, sadness, anger, etc.

Prerequisites

Before running this project, make sure you have the following installed:

  • Python 3.x
  • pip (Python package installer)
  • transformers and torch libraries

Setup

1. Clone the repository or create the project folder

If you're starting from scratch, create a folder for your project and open it in VS Code.

mkdir emotion-detection
cd emotion-detection
code .

About

This project demonstrates real-time emotion detection using a webcam feed. It uses OpenCV for capturing video frames and a pre-trained Convolutional Neural Network (CNN) model through the FER library to classify emotions such as happiness, sadness, anger, surprise, and more.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages