Skip to content

This is our Sem 5 mini project. It is about driver drowsiness. We measure if they are sleepy, drowsy or active(awake).

License

Notifications You must be signed in to change notification settings

Sai25Hajime/Driver-Drowsiness-Detection-System

Repository files navigation

Driver-Drowsiness-Detection

Driver drowsiness detection is a project built using Dlib and OpenCV with Python as a backend language.


Logic of project

The project includes direct working with the 68 facial landmark detector and also the face detector of the Dlib library. The 68 facial landmark detector is a robustly trained efficient detector which detects the points on the human face using which we determine whether the eyes are open or they are closed.

The 68-landmark detector data (.dat) file can be found By clicking here

The working of the project

  • As you can see the above screenshot where the landmarks aredetected using the detector.
  • Now we are taking the ratio which is described as 'Sum of distances of vertical landmarks divided by twice the distance between horizontal landmarks'.
  • Now this ratio is totally dependent on your system which you may configure accordingly for the thresholds of sleeping, drowsy, active.






How to Download the Project?

  1. Click on the Code option.
  2. Then Select 'Download Zip'.
  3. Extract the folder.
  4. Run it in Visual Studio Code.

👩‍💻 Contributors/Collaborators

About

This is our Sem 5 mini project. It is about driver drowsiness. We measure if they are sleepy, drowsy or active(awake).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages