Skip to content

Commit 79be809

Browse files
Add files via upload
1 parent ae0246d commit 79be809

File tree

7 files changed

+534
-0
lines changed

7 files changed

+534
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Driver-Drowsiness-Detection
2+
Driver drowsiness detection is a project built using Dlib and OpenCV with Python as a backend language.
3+
<h3>Logic of project</h3>
4+
The project includes direct working with the 68 facial landmark detector and also the face detector of the Dlib library.
5+
The 68 facial landmark detector is a robustly trained efficient detector which detects the points on the human face using which
6+
we determine whether the eyes are open or they are closed.</br></br>
7+
<center><img src="https://raw.githubusercontent.com/infoaryan/Driver-Drowsiness-Detection/master/screenshots/landmarks.jpg" align="center" height="350"></center>
8+
<b>The 68-landmark detector data (.dat) file can be found <a href="http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2"> By clicking here</a></B>
9+
10+
<h3>The working of the project</h3>
11+
<ul><li>As you can see the<b> above screenshot</b> where the landmarks aredetected using the detector.
12+
<li>Now we are taking the ratio which is described as <i>'Sum of distances of vertical landmarks divided by twice the distance between horizontal landmarks'</i>.
13+
<li>Now this ratio is totally dependent on your system which you may configure accordingly for the thresholds of sleeping, drowsy, active.</ul>
14+
<p><img src="https://raw.githubusercontent.com/infoaryan/Driver-Drowsiness-Detection/master/screenshots/active.jpg" align="center" height="350">
15+
<img src="https://raw.githubusercontent.com/infoaryan/Driver-Drowsiness-Detection/master/screenshots/drowsy.jpg" align="center" height="350">
16+
<img src="https://raw.githubusercontent.com/infoaryan/Driver-Drowsiness-Detection/master/screenshots/sleepy.jpg" align="center" height="350">
17+
18+
<h2>Detailed Explanation video of the project : </h2><a href="https://youtu.be/ksi42rwGyas">Youtube video link</a>

0 commit comments

Comments
 (0)