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.xml
haarcascade_eye_tree_eyeglasses.xml
buzz.mp3
- Run the
SleepDetection.py
file:python SleepDetection.py
This project is licensed under the MIT License. See the LICENSE file for more information.