Skip to content

An emotion detector project that employs deep learning

Notifications You must be signed in to change notification settings

hashmis79/Moodylyser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moodylyser

Emotion detector project that employs Machine Learning

Table of Contents

About The Project

#Aim Aim of this project is to predict emotions of a person by analysing a live videofeed of a person. #Description This program anaylses the videofeed of a person frame by frame. It first takes a frame via OpenCV and then crops and resizes the face in the frame to make the frame compatible with the model.Then the landmarks are applied on the face. The model take the cropped frame and classifies it into an emotions out of 5 different emotions it can predict. Refer to our documentation

Tech Stack

This section should list the technologies you used for this project. Leave any add-ons/plugins for the prerequisite section. Here are a few examples.

File Structure

.
├── docs                    # Documentation files (alternatively `doc`)
│   ├── report.pdf          # Project report
│   └── results             # Folder containing screenshots, gifs, videos of results
├── MOODYLYSER2f.ipynb                  # Training program for the Model
├── Moodelld1_5de.h5                  # Pretrained Model with set weights
├── README.md
├── landmarks.py                  # Connects the model to a live videofeed via webcams

Getting Started

Prerequisites

  • See SETUP.md if there are plenty of instructions
  • The installations provided below are subjective to the machine your are using
  • We used [pip install(https://pip.pypa.io/en/stable/)] for the installations. If you don't have pip please follow the following command
 python3 -m pip install -U pip

Installation

  1. Clone the repo
git clone https://github.com/hashmis79/Moodylyser

Usage

  • After cloning the repo transfer the files to your project folder. Open terminal and go to the project folder and run the following commands
cd .../projectfolder
python3 landmarks.py

Results and Demo

Detecting Emotions

Detecting Emotions

Displaying Statistical Data For Emotions

Displaying Statistical Data For Emotions

Future Work

  • See todo.md for seeing developments of this project
  • To Make an emotion detector model
  • To connect it to a live feed for live detection
  • To give statistical data in the form of graphs
  • To increase the accuracy of the model
  • To deploy the model in the form of an emotion detector app or site

Troubleshooting

  • Common errors while configuring the project

Contributors

Acknowledgements and Resources

License

Describe your License for your project.

About

An emotion detector project that employs deep learning

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published