Driver Drowsiness Detection System
Driver Drowsiness Detection System
ISSN No:-2456-2165
Abstract:- A Driver Pattern Recognition System was Initially, we agreed to use Matlab to find blinking patterns.
developed, using concepts based on the concept of a non- The process used to control geometric power levels [4], [5],
disruptive machine. The machine uses a small and [6]. The algorithm used was as follows. First we use a
monochrome safety camera that points directly to the webcam to capture a face photo. Pre-preparation is done
driver's face and monitors the driver's eyes to detect initially with a binarizing file [7]. The upper and lower
fatigue. In such a case when fatigue is detected, the extremities are felt to reduce the area where the eyes live. In
driver is alerted with a warning signal and if the driver facial cases, the center of the face was found and would be
is distracted he will also warn the driver to be careful. used as a reference when measuring left and right heads [9].
This report explains how the eyes can be found, and how The exact measurements of the facial area were determined
to determine if the eyes are open or closed. The advanced 1 from the bottom from the top of the nose. Significant
algorithm differs from any currently published variations have been used in the measurements to describe
documents which is the main objective of the project. the location of the eye. The horizontal scale did not shift
The device deals with finding facial edges using while the eyes were closed and used to detect blinking [7],
information obtained from the binary version of the [8], and [12]. Matlab however had some problems. Matlab's
image, which reduces the area where the eyes will be. processing power was extremely powerful. There were also
When the surface area is defined, the eyes are obtained some speed issues in real-time performance. Matlab could
by measuring the horizontal area. Recalling the only process 4-5 frames per second. There was also a low 9
knowledge that the circuits of the eyes on the face bring on the machine with low RAM. Because we all know that
about a great change in strength, The eyes are obtained the blink of an eye is a matter of milliseconds. The
by experiencing major changes in facial pressure. When movement of the driver's head can also be very fast.
the eyes are in a good position, measuring the distances Although the discovery was made possible by the Matlab
between the size changes in the eye area determines software developed by us, the result was very interesting.
whether the eyes are open or closed. The long distance is OpenCV came in this way. OpenCVV is an open source
associated with blindfolds. If the eyes are found closed computer library. This is optimized for computer
with five consecutive frames, the machine assumes the performance, with a strong emphasis on real-time
driver is asleep and sends an alarm. Also, the system can applications. It helps to develop vision applications quickly
detect when the eyes are not available and operate under and efficiently. OpenCV meets our low processing
appropriate lighting conditions. capabilities and high-speed data. In OpenCV, we used
Haartraining software to detect faces and eyes [5], [9], [11],
Keywords:- Binarisation, OpenCV, Detection Algorithm, and [14]. This produces a separation, given a set of straight
Noise Removal. and non-specific samples. The steps are as follows: Collect
face and eye data collection. This should be stored in a text
I. INTRODUCTION file identified in one or more folders. For segregation to
work effectively it requires high-level data [10]. Sample
In a large number of car accidents, driver fatigue and production system) (used to create a vector output format.
frustration are a major factor. The latest figures estimate that We can duplicate the training process using this text. It
1,200 deaths and 76,000 injuries are caused by fatigue- produces beautiful samples from images to a specified width
related injuries each year [3]. In most car accidents, driver and height before adjusting and enlarging the size. Image
fatigue is a major factor. The latest figures estimate that editing is done using magnification. group categories are a
1,200 deaths and 76,000 injuries are caused by fatigue- weak divider. Usually, these weak dividers. They contain
related injuries each year [3]. Improving the technology to one different determination drug, called stumps. At the
detect or prevent drowsiness in a wheelchair is a major training session, the decision-maker learns in its data about
challenge to the safety plan. Because of the danger posed by its classification decisions and learns its accuracy in the
drowsiness on the line, Strategies to combat their effects weight of the voting data. it is estimated that the data points
need to be developed. This project aims to develop a sleep in which errors are made are highly regarded [8] .The cycle
recognition tool. Emphasis will be on building a device that continues until the data collection error occurs in the vote e
can follow the driver's eyes open or closed in real time with the average of the decision trees falls under a certain
accuracy [1]. By tracking students, signs of driver fatigue threshold. This algorithm is effective when there is a large
are thought to appear early enough to prevent a car accident amount of training data. Face-to-face planning is required
Detection of fatigue requires assessing eye movements and for our project. So we used a learning curve to create our
blinking patterns in the sequence of facial images [2]. haarclassifier.xml files. [5], [10], [11], and [13].
Thus 10 pixels at the left and 10 pixels at the left The right VII. SYSTEMARCHITECTURE
side has been removed.
Y=y+4 (5)