Skip to content

GautamSharma11/Emotion_detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Emotion Detection Project

Overview

This project focuses on emotion detection using a Convolutional Neural Network (CNN). The CNN model is trained to detect seven different emotions from grayscale images with dimensions 227x227 pixels. The emotions include happiness, sadness, anger, surprise, fear, disgust, and neutral.

Required tools

  • Python 3.x
  • PyTorch
  • matplotlib
  • NumPy

Usage

  1. Clone this repository:

    git clone https://github.com/your_username/Emotion_detection.git
    
  2. Navigate to the project directory:

    cd Emotion_detection
    
  3. Ensure that all required libraries are installed(if not already):

    pip install -r requirements.txt
    
  4. Prepare your dataset:

    • Organize your grayscale images into folders corresponding to each emotion.
    • Ensure that each image has dimensions of 227x227 pixels.
  5. Training and testing the model:

    • ipynb file contains code for both training and testing the model.
    • the model can be loaded as well. My trained model is provided as well.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published