The dataset used for this project can be found here.
- Ensure you have Python version 10 or above installed.
- Install the dependencies by running:
pip install -r requirements.txt
- Make sure the following files are in the same directory as
SleepDetection.py:haarcascade_frontalface_default.xmlhaarcascade_eye_tree_eyeglasses.xmlbuzz.mp3
- Run the
SleepDetection.pyfile:python SleepDetection.py
This project is licensed under the MIT License. See the LICENSE file for more information.