Project On Drowsiness Detection System
Project On Drowsiness Detection System
Presented By
A Simple drowsiness detection module for humans. A computer vision system that can
automatically detect driver drowsiness in a real-time video stream and then play an alarm if the
driver appears to be drowsy.
Drowsy driving is one of the major causes of deaths occurring in road accidents. Every year, a
large number of injuries and deaths occur due to fatigue related road accidents. Hence,
detection of driver’s fatigue and its indication is an active area of research due to its practical
applicability.
Additionally, we believe that drowsiness can negatively impact people in working and
classroom environments as well. Although sleep deprivation and college go hand in hand,
drowsiness in the workplace especially while working with heavy machinery may result in
serious injuries similar to those that occur while driving drowsily.
Our solution to this problem is to build a detection system that identifies key attributes of
drowsiness and triggers an alert when someone is drowsy before it is too late.
BMS INSTITUTE OF TECHNOLOGY AND MANAGEMENT
Eyes with horizontal and vertical distance marked for Eye Aspect Ratio
calculation.
>After passing our video feed to the dlib frame by frame, we are able to
detect left eye and right eye features of the face.
> We can calculate sum of both eyes’ aspect ratio, which is the sum of 2 distinct
vertical distances between the eyelids divided by its horizontal distance.
> Then, we should check if the aspect ratio value is less than 0.25 (Which is the
minimum chosen distance ratio between the eyelids). If it is less an alarm is
sounded and user is warned
BMS INSTITUTE OF TECHNOLOGY AND MANAGEMENT
Applications of the Project
Drowsiness detection is a safety technology that can prevent accidents that are caused by
drivers who fell asleep while driving. The objective of this intermediate Python project is
to build a drowsiness detection system that will detect that a person's eyes are closed for a
few seconds.
This can be used by riders who tend to drive for a longer period of time that may lead to
accidents
The various advantages of the implemented system are
mentioned below
1. No need of monitoring cameras or any other devices to be attached or aimed at the
driver.
2. This method is practically applicable.
The drowsiness detection system can be used for different applications. One of them is
heavy vehicles for example trucks, since the drivers of trucks have long driving periods. It
can also be used for commercial vehicles. Many people use public transport facility for
travelling. For their safety this system can be used in public vehicles. Heavy things are
lifted by using cranes and transporting them to other places. So for overloaded cranes and
mobile cranes this system can be used to avoid accidents related to drowsiness
BMS INSTITUTE OF TECHNOLOGY AND MANAGEMENT
Mapping of subject
PYTHON - Python is an interpreted, high-level, general-purpose
programming language. Python's design philosophy emphasizes code
readability with its notable use of significant whitespace. Its language
constructs and object-oriented approach aim to help programmers write
clear, logical code for small and large-scale projects. Python is
dynamically typed AND supports multiple programming paradigms,
including procedural, object-oriented, and functional programming.
References
[1] USE OF THE TRANSFORMATION TO DETECT LINES AND
CURVES IN PICTURE; R. DUDA AND P. E. HART.
Conclusion
The aim of our project is to address a solution to one of the major causes of the
road accident, the driver drowsiness;
the proposed solution does track the driver’s eyes and then notify him/her when
his eyes get closed in order to avoid losing the control of the car and causing
traffic accidents.
The present proposed method based mainly on two main phases, the first phase
is to detect and
pre-process the eye images using the image processing technique and the
second phase is to build a classification model that will be able to classify,
whether the eye is opened or closed and then start an alarm accordingly.
The results show that this method is flexible for developing practical and ready
to use drowsiness detection application and comprehensive solution.
BMS INSTITUTE OF TECHNOLOGY AND MANAGEMENT