About:
This idea of this project came to me when searching throught the web and stumbling upon a random search statistic about Accidents caused by the Sleeping.

What it does:
This Program works by detecting faces, finding facial landmarks on them, extracting corrdinates of both eyes, calculating the Eye-aspect-ratio and then determining whether the eye is closed on not. If the eye is closed for long enough, it will start the alarm on a seperate thread and then put an alert on screen.

Inspiration:
I have implemented all of this by looking at the Amazing Code-along by Adrian at PyImageSearch. I have just understood and implemented that.

Running the Code:

To run the code on your standard Python 3.6 Installation, you must install the dependencies by following this:

pip install cmake

pip install scipy numpy matplotlib scikit-learn

pip install opencv-contrib-python

pip install imutils

pip install dlib

pip install playsound

Project Activity

See All Activity >

Follow drows-detect

drows-detect Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of drows-detect!

Additional Project Details

Registered

2019-07-13