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.
- python >= 3.7.9
- keras >= 2.4.3
- tensorflow >= 2.3.1
- opencv >= 4.4
- numpy >= 1.18.5
- Clone the repo
git clone https://github.com/naman-gupta99/Anger-alarm.git
- 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
- Run the following command to run the program
python main.py
- To change the sound of the alert just add the .wav file of the audio to this folder