Fatigue Detection Using Raspberry Pi 3
Fatigue Detection Using Raspberry Pi 3
net/publication/325100971
CITATIONS READS
29 12,960
5 authors, including:
All content following this page was uploaded by Mandi Sushmanth Reedy on 18 October 2018.
Research paper
Abstract
Driver drowsiness is a primary cause of several highway calamities leads to severe physical injuries, loss of money, and loss of human
life. The implementation of driver drowsiness detection in real-time will aid in avoiding major accidents. The system is designed for
four-wheelers wherein the driver’s fatigue or drowsiness is detected and alerts the person. The proposed method will use 5-megapixel
Raspbian camera that captures driver’s face and eyes and processes the images to detect driver’s fatigue. On the detection of drowsiness,
the programmed system cautions the driver through an alarm to ensure vigilance. The proposed method constitutes of various stages to
determine wakefulness of the driver. According to this output, the warning message is generated. Haar Cascade Classifiers is used to
detect the blink duration of the driver and Eye Aspect Ratio (EAR) is calculated. Finally, the alert message along with car plate number
is sent to the concerned person mobile with help of Ubidots cloud service and Twilio API. For this Raspberry Pi 3 with Raspbian (Linux
Based) Operating System is used.
Keywords: Driver drowsiness detection, Raspberry Pi 3, Raspbian camera, OpenCV, Feature Extraction, Eye Aspect Ratio (EAR).
Copyright © 2018 Authors. This is an open access article distributed under the Creative Commons Attribution License, which permits
unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
30 International Journal of Engineering & Technology
Fig.1: Close and open eyes with landmark pi detected automatically by [1].
The EAR is calculated for several frames of a video. A single blink is
represented.
4. Result and Discussion closing rate is measured after every 0.5 seconds and if the value
crosses already existed threshold value, then the raspberry pi 3
receives the alert signal from alarm connected to the GPIO pins of
The driver drowsiness can be measured using Eye Aspect
Pi 3 board. Fig 5.When the person closing his eyes for more than
Ratio(EAR). The ratio of the eye can vary for each and every
fixed threshold range then the alert signal is generated to wake up
person. Fig.4. The following case is tested for ten different set of
the driver from sleepy state and also through the cloud service the
people with two conditions. One is calculated for eye-opening
alert message is sent to the owner of the car along with the car plate
condition and another one for eye closing condition. Fig.3. Eye
number.
Fig. 3: Drowsiness detection for open and closed eyes with drowsiness count and message send to mobile after 10 continuous blinks from the cloud server.
Drowsiness Detection
Person
EAR(open)
EAR(close)
Fig. 5: Output message with car plate number in the cloud server