View Code? Open in Web Editor
NEW
This project forked from thecleveridiott/drowsiness-detection
A project which helps prevent accidents caused by the driver getting drowsy. The project is built on python using OpenCV library.
drowsiness-detection's Introduction
![Contributors](https://camo.githubusercontent.com/a7c0a035c44490395afc0a38d9d61948e3bd65d7eb4c32add98a98d462e1a6c0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732f6a61677265657464672f447365697a65642d426f742e7376673f7374796c653d666f722d7468652d6261646765)
- 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.xml
and buzz.mp3
are in the same directory as SleepDetection.py
.
- Run the
SleepDetection.py
file after completing the previous steps.
![Contributors](https://camo.githubusercontent.com/a87ba82454b5a0f10498c67c5d094f7dabbf447b5a85b0193d8b1d46caebf6cc/68747470733a2f2f636f6e747269622e726f636b732f696d6167653f7265706f3d746865636c657665726964696f74742f64726f7773696e6573732d646574656374696f6e)
drowsiness-detection's People