Dataset: Click Here
- Make sure to have Python version 10 or above and a Text Editor.
- Install the dependencied by running
pip install -r requirements.txt - Make sure
haarcascade_frontalface_default.xml,haarcascade_eye_tree_eyeglasses.xmlandbuzz.mp3are in the same directory asSleepDetection.py. - Run the
SleepDetection.pyfile after completing the previous steps.