Skip to content

Rajat-Mann/Driver_Drowsiness_Detection_System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Driver_Drowsiness_Detection_System


Introduction

In this project we aim to develop a prototype drowsiness detection system. This system works by monitoring the eyes of the driver and sounding an alarm when he/she is feeling drowsy.


How?

  • Monitor the blinking of eyes of the user
  • If there is a long delay in blinking then the alarm will alert the user

Technologies Used

  • OpenCV for video capturing
  • Dlib for face recognition library for computing eye aspect ratio
  • Python as a coding language
  • Sqlite3 for database

Methodology

we have the eye regions, we can compute the eye aspect ratio to determine if the eyes are closed: The eye aspect ratio is instead a much more elegant solution that involves a very simple calculation based on the ratio of distances between facial landmarks of the eyes. Now we check if the aspect ratio value is less than 0.25 (0.25 was chosen as a base case after some tests). If it is less an alarm is sounded and user is warned and the data record of that user with timestamp saved in database.


Programming Environment (soft-&Hardware)

Software requirements

  • Python - pyLibraries,Numpy,Scipy,Playsound,Dlib,Imutils, openCV, etc.
  • Database - Sqlite3
  • OPERATING SYSTEM - Windows or Ubuntu

Hardware Requirements Specification

  • Laptop with basic hardware.,Webcam

  • About

    Drowsiness Detection System Using Python, OpenCV

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published

    Languages