Skip to content

The project is a script that is primarily built for Gamers who are prone to rage. The projects analyses live camera feed to detect you facial expression and then predicts the emotion. If the emotion is detected to be a negetive emotion the script plays an audio that might soothe the user.

Notifications You must be signed in to change notification settings

naman-gupta99/Anger-alarm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Anger Alarm

The project is a script that is primarily built for Gamers who are prone to rage. The projects analyses live camera feed to detect you facial expression and then predicts the emotion.

If the emotion is detected to be a negetive emotion the script plays an audio that might soothe the user.

Getting Started

Prerequisites

  • python >= 3.7.9
  • keras >= 2.4.3
  • tensorflow >= 2.3.1
  • opencv >= 4.4
  • numpy >= 1.18.5

Installation:

  1. Clone the repo
git clone https://github.com/naman-gupta99/Anger-alarm.git
  1. Install required packages
  • Use anaconda to easily install keras and tensorflow in addition to necessary cuda drivers to run the model on GPU.
conda install tensorflow
conda install keras
  • Other packages can be easily installed using either pip or conda.
pip install numpy
pip install opencv

Usage

  • Run the following command to run the program
python main.py

Customization

  • To change the sound of the alert just add the .wav file of the audio to this folder

Credits

About

The project is a script that is primarily built for Gamers who are prone to rage. The projects analyses live camera feed to detect you facial expression and then predicts the emotion. If the emotion is detected to be a negetive emotion the script plays an audio that might soothe the user.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages