Drowsy State Detection & Warning Using EAR
Drowsy State Detection & Warning Using EAR
ISSN No:-2456-2165
Abstract:- Drowsy driving is a major problem in our arrive on time, thus leading to more deaths caused due to
society. Because of this road accidents are increasing at road accidents.
a tremendous rate and it leads to the loss of human life
and many other problems. So that the drowsiness The Driver drowsiness detection techniques can
detection system is the perfect solution for this problem. minimize the risk of accidents by alerting the driver on
In this system, we consider the parameters like the face fatigue conditions. To prevent drowsiness of the driver
detection, position of the head and most importantly the while driving, it requires a method that constantly detects
blinking of the eye. Image processing algorithms are whether there is a fall in the driver alertness. Microsleeps are
used to ensure proper detection of drowsiness in order short periods of sleep that last for 2 to 4 seconds and these
to avoid road accidents. In the proposed method, the are the best sign for the drowsiness condition. By
USB camera that captures drivers face and eye. After continuously monitoring the eye and mouth movement of
processing these images, it will be sent to the drowsiness the driver’s drowsy state can be easily detected.
detection system. When the drowsiness is detected, the
system gives awareness to the driver through an alarm This project uses EAR and Shape predictor_68_facial
and also an alert message is sent to the concerned landmark for the drowsiness detection, SMS alert is done
person’s mobile. Haar Cascade Classifiers are used to by Nexmo API and the location of the driver is located by
detect the eye blink duration of the driver and then the using a GPS module.
Eye Aspect Ratio (EAR) value is calculated. The
drowsiness detection is based on this calculation. II. EXISTING SOLUTION
Keywords:- Image Processing Algorithms, EAR, Haar There are several techniques for analysing driver’s
Cascade Classifier. drowsiness. These techniques include the image
processing-base techniques[1], the electroencephalogram
I. INTRODUCTION based techniques [2] and artificial neural network-based
techniques[3],[4]. In the image processing-based techniques
The main objective of our project is to reduce the it is divided into three categories such as template
accident ratio occurring due to drowsy driving. Major matching[7], eye blinking and Yawning based
accidents occur due to the driver’s fault which leads to technique.[5],[6]. These techniques are based on computer
several other problems, hence to reduce the chance of vision which uses the image processing technique. In the
falling asleep we are making this project. Nowadays, the computer vision technique, the facial gestures such as the
traffic is increasing at a tremendous rate. Because of the eye blinking, the head movement of the driever are used to
heavy traffic emergency vehicles like ambulances can’t identify drivers' drowsy state.
Fig 1
Fig 2
For each feature calculation, all possible sizes and locations of every kernel are used and we need to obtain the sum of the
pixels under white and black rectangles.
But, most of the features calculated are irrelevant. For instance, consider the image below. The top row shows two good
features. The first feature selected focuses on the property that the region of the eyes is often darker than the region of the nose and
cheeks. The second feature selected depends on the property that the eyes are darker than the bridge of the nose. But the same
windows applied to the cheek or any other place is irrelevant. It is achieved by Adaboost.
Fig 3
Using Adaboost we select the features with the lowest error rate, which means they are the features that most accurately
classify the face and non-face images.
In a picture, most of the image is non-face region. Therefore, the focus will be on the regions where there can be a face. For
this, the concept of Cascade of Classifiers is used.
Fig 4