Skip to content

Latest commit

 

History

History
57 lines (37 loc) · 1.28 KB

README.md

File metadata and controls

57 lines (37 loc) · 1.28 KB

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