Skip to content

Files

Latest commit

f46cf4e · Sep 14, 2021

History

History
157 lines (128 loc) · 5.7 KB

README.md

File metadata and controls

157 lines (128 loc) · 5.7 KB

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.