Skip to content

A project which helps prevent accidents caused by the driver getting drowsy. The project is built on python using OpenCV library.

License

Notifications You must be signed in to change notification settings

TheCleverIdiott/drowsiness-detection

Repository files navigation

Drowsiness Detection


Dataset

The dataset used for this project can be found here.


Built With

python opencv pandas


How to Run the Program

  1. Ensure you have Python version 10 or above installed.
  2. Install the dependencies by running:
    pip install -r requirements.txt
  3. Make sure the following files are in the same directory as SleepDetection.py:
    • haarcascade_frontalface_default.xml
    • haarcascade_eye_tree_eyeglasses.xml
    • buzz.mp3
  4. Run the SleepDetection.py file:
    python SleepDetection.py

License

This project is licensed under the MIT License. See the LICENSE file for more information.


Contributors

Contributors

About

A project which helps prevent accidents caused by the driver getting drowsy. The project is built on python using OpenCV library.

Topics

Resources

License

Stars

Watchers

Forks

Languages