Welcome to the Mood Light Hackathon project repository! In this hackathon project, we are creating a mood light that responds to your emotions. The light's color will change based on the detected emotion from your face using the 'deepface' Python library. Additionally, the emotion data will be stored in a MongoDB Cloud database for further analysis.
Before you get started, make sure you have the following:
- Python version: 3.8.8
- Git installed on your machine
- An active internet connection
Follow these steps to set up the project:
-
Clone the repository to your local machine using the following command:
git clone https://github.com/your-username/your-mood-light.git
-
Navigate to the project directory:
cd mood_detector_deepface_to_db.py
-
Install the required dependencies using
pip3
by running:pip3 install -r requirements.txt
This will install all the necessary libraries and packages needed for the project.
-
Make sure you have a camera connected to your computer.
-
Run the main script to start the mood light:
python3 mood_light.py
This script captures video from your camera, detects faces, extracts emotions using the 'deepface' library, and controls the mood light accordingly.
This project is licensed under the MIT License.
How and why could smiling influence physical health? A conceptual review (2022)
We hope you enjoy working on the Mood Light Hackathon project! If you have any questions or run into issues, feel free to open an issue on this repository.