Estallo Thesis Final Defense
Estallo Thesis Final Defense
BY:
JOHNDALE S. ESTALLO
October 2019
CHAPTER 1
Introduction
monitoring the roadway, anticipating the actions of other drivers, and controlling
the vehicle (Eby & Kostyniuk, 2003). The National Highway Traffic Safety
approximately 1.2 million crashes per year (Stutts & Hunter, 2003). Driver
“the diversion of attention away from activities critical for safe driving toward a
system (Gupta & Garima, 2014). In the study of ( Fletcher & Zelinsky, 2009), Eye
gazed-road event was used to detect driver mindlessness. Estimate the driver’s
eye-gaze tracking and road scene event detection the driver behavior can be
eyes and mouth and determines the driver’s drowsiness level through horizontal
average intensities of the eyes and mouth region in face. Moreover, another
study was conducted, driver’s visual and inattention was tracked of fusing
stereo vision and lane tracking data, running both rule-based and support-
The problem that this study wants to address is that driver’s inattention can
affect vehicle driving and might lead into an accident. The study simply
The goal of this study is to develop a system which can serves as an alert
device for the drivers through help of image processing. Having a system like this
may help to avoid, reduces, and prevent vehicle accidents. With some
modifications, this study can also be implemented for system like checking
on work to have more productive, focus and become more determined. This
study may also be used as a reference for further development ofeye detection
and might serve as a reference material for future use and studies.
This study is limited to monitor and detection of the eye not directed on
the road infront. This study can be used for both night and day driving. This
system will use an infrared camera to continuously track the facial landmark and
movement of the eyes of the driver. Images are captured using the camera at
Road accidents are one of the major issues in human induced disasters in
the world as the car crashes are the leading road killer(Haulle & Kisiri,
2016).Worldwide, an estimated 1.2 million people are killed in road crashes each
year and as many as 50 million are injured. Projections indicate that these figures
will increase by about 65% over the next 20 years unless there is new
attracts less mass media attention than other, less frequent types of
tragedy(WHO, 2004).
the problem of traffic accidents is very serious and it's become more difficult to
control. It has become one of the most important that damage or destroy
material resources such as vehicle, lamp, post, adjacent building, bridges, and
(the human element) and the road and the vehicle so knowledge of driver
behavior, attention to the road and the vehicle is important in the reduction of
influence driving behavior in a way which can affect the chances of crash
acute alcohol intoxication, short term drug effects, binge eating, acute
accident proneness) and those that promote risk taking behavior with short-term
modification-based efforts.
around automatic facial image analysis including, but not limited to, face
and morphing, facial shape reconstruction, image and video retrieval, as well
interaction systems ( Zhao, Rong, & Zhang, Study of the Effects of Alcohol on
embedded face detector that is used to help auto-focusing. Finally, many social
networks, such as Facebook, use face detection mechanisms for the purpose of
image/person tagging ( Zhao, Rong, & Zhang, Study of the Effects of Alcohol on
Schwartz, 2009).
a mathematical function that produces square wave output (Viola & Jones,
2004). Haar features are composed of either two or three rectangles. Face
candidates are scanned and searched for Haar features of the current stage.
The weight and size of each feature and the features themselves are
generated by the learning algorithm AdaBoost. Each Haar feature has a value
their respective weights, and then summing the results. The area of each
rectangle is easily found using the integral image. The coordinate of the any
and white rectangles have the same dimension, border each other and keep
Haar feature. The Haar classifier multiplies the weight of each rectangle by its
area and the results are added together. Several Haar classifiers compose a
stage. A stage accumulator sums all the Haar classifier results in a stage and a
threshold is also a constant obtained from the AdaBoost algorithm. Each stage
does not have a set number of Haar features. Depending on the parameters of
the training data individual stages can have a varying number of Haar features
2.2.2.1.2 Cascade
each stage with later stages being much more difficult for a candidate to pass.
Candidates exit the cascade if they pass all stages or fail any stage. A face is
detected if a candidate passes all stage (Sri, Divya, Vyshnav, & Tejaswini, 2018).
the features used by object detector and this image presentation is proved to
work very quickly in object detection (Huang, Lin, & Long, 2009). The integral
image at location (x, y) contains the sum of the pixels above and to the left of x
Figure 2.7 Illustration for calculating a mask value using integral images. The
coordinate origin is in the upper left corner
and y. It is the summation of all the pixel values in an original image (Putta,
During the search in the whole image, scale and rotation should also be
Tigga, 2009).
intensity, the hybrid function better captures the vertical variation in intensity of
the eyes. Kumar suggest a technique in which possible eye areas are localized
analysis to quantify spatially connected regions and further reduce the search
space to determine the contending eye pair windows (Dhruw & Tigga, 2009).
2.2.2.4 IR Method
the eyes by exploiting the differences in appearance of eyes from the rest of the
face. This method requires a significant number of training data to enumerate all
collected data is used to train a classifier such as a neural net or support vector
2.2.2.5 Modelling
This is the simple style efficient method for eye detection. We modeled the
human eye as a circle circumscribed in an ellipse, where circle represents the iris
of human eye and the ellipse represents the eye lashes. Hough Transform can be
used for the detection of a fore’s aid circle and ellipse then final eye is detected
by neglecting the wrong detections and ruling out a pair of eyes based on
by Guido van Rossum in the late 1980s and presently administered by Python
Software Foundation. It came from the ABC language that he helped create
Python is much like reading and writing regular English statements. Because they
language that allows users to manage and control data structures or objects to
create and run programs. Everything in Python is, in fact, first class. All objects,
(Johansen, 2016).
C and C++ and runs under Linux, Windows and Mac OS X. There is active
Open CV was designed for computational efficiency and with a strong focus on
on Intel architectures, you can buy Intel’s Integrated Performance Primitives (IPP)
2.5 Dlib
Dlib-ml is a cross platform open source software library written in the C++
Methodology
to map out the required for prototyping the device. Methods and concepts used
to develop the system are presented. This study will follow through this
conceptual framework.
the proposed system since it offers an efficient way to both analyze and
started with data gathering from different studies to develop and implement a
intended to address the issue in the gather information. The system procedure is
discussed in the succeeding paragraphs. The last procedure was to test the
From the conceptual framework shown (Figure 3.1), the first phase is the
input phase. This phase contains the data gathering, software requirements, and
hardware requirements. The inputs from gathered data, software and hardware
Data and information gathering are the first part in the developing
process of driver eye on the road monitoring and alarm system. This data
enables the researcher to address the problem and evaluates it well. This correct
information will support the researcher to overcome and make the study well
defined and understood. From this data gathered, the researcher can
Information like how much time the driver loses his attention on the road
while driving that can possibly affect the control of the vehicle. Obtaining data
on using haar cascading algorithm to monitor the driver’s eye and detects the
driver’s inattention. This data will be used as a reference for development of the
proponent system.
system. From planning, development, to testing, and analysis. In this part, will
showed what the system look like, how system will be function and work. The
system design phase is made to apply all gathered data and transfigure it into a
working system.
ride, the camera will capture and monitor the driver’s eye movement. It is
connected to the raspberry pi that will serves to process the image through the
algorithm. When driver’s inattention captured by the camera and the system
detects it, the system will give an alarm for the driver to get his attention back on
the road. Speedometer is associated with raspberry pi and the raspberry pi will
check the speed of the vehicle and process it to have a period interval for each
begin driving the vehicle as well as the system will begin likewise after the vehicle
system began. The camera that is associated with the raspberry pi as the system
will begin to follow the eye and monitor it. At the point when the system
distinguishes the driver mindlessness as the camera observed it, caution will have
activated and turns on for the driver to get his attention back on the road.
Figure 3.4 showed above the flowchart of the proposed system. It will start
at video acquisition of the captured video. Next dividing into frames, this is used
take live video as its input and convert it into a series of frames/images, which
are then processed. Followed by the face detection from making of predefined
haar cascade samples. Then next is the eye detection tries to detect the driver’s
eye. After the eye detection detects the driver’s eye and monitor it until it
detects the driver inattention by checking the state of the eye. Then it will give
an alarm, it will correspond according to given speed of the vehicle that are
3.1.3 Programming
the software. The design of the program will be based from the requirements
obtained during the system design, and the flow chart presented in figure 3.4.
3.1.4 Testing
References
Ismail, A., & Yahia, H. A. (2011). CAUSES AND EFFECTS OF ROAD TRAFFIC ACCIDENTS IN TRIPOLI -
LIBYA. Proceeding the 6th Civil Engineering Conference in Asia Region: Embracing the
Future through, 17.
Zhao, X., Rong, J., & Zhang, X. (2014). Study of the Effects of Alcohol on Drivers and Driving
Performance on Straight Road. Creative Commons Attribution License, 19.
Bradski, G., & Kaehler, A. (2008). Learning OpenCV. Sebastopol: O’Reilly Media, Inc.
Dhruw, K. K., & Tigga, A. K. (2009). EYE DETECTION USING VARIENTS OF HOUGH TRANSFORM
And OFF-LINE SIGNATURE VERIFICATION. Bachelor of Technology In Electronics &
Instrumentation Engineering, 1-98.
Eby, D. W., & Kostyniuk, L. P. (2003, May). DRIVER DISTRACTION AND CRASHES:. UMTRI, pp. 1-
32.
Gupta, D. S., & Garima, E. (2014, July). Road Accident Prevention System Using Driver's
Drowsiness Detection by Combining Eye Closure and Yawning. International Journal of
Research (IJR), Volume 1(Issue 6), 5.
Haulle, E., & Kisiri, M. (2016, November). he Impact of Road Accidents to the Community of
Iringa Municipality: Challenges in Reducing Risks. International and Multidisciplinary
Journal of Social Sciences, vol-5, 253-280.
Jain, A. K., Hong, L., Pankanti, S., & Bolle, R. (2004). Biometric Identification.
Lee, J. W., Kim, K. W., Hong, H. G., & Park, K. R. (2017). A Survey on Banknote Recognition
Methods by Various Sensors. Sensors, 17(2), 313.
Ministry of Roads Transport and Highways. (2013). Common Causes of Road Accidents. India:
Ministry of Road Transport & Highways, Government of India.
National Center for Statistics and Analysis. (2019, April). Distracted driving in fatal crashes, 2017.
Traffic Safety Facts Research Note Report No. DOT HS 812 700, 15.
Neelima, N., Lakshmi, S., & Vardhan, T. (2013, November ). Design and Development of Warning
System for Drowsy Drivers. International Journal of Scientific and Research Publications,
Volume 3(Issue 11), 5.
NHTSA. (2006, April). The 100-Car Naturalistic Driving Study Phase II – Results of the 100-Car
Field Experiment. DOT HS 810 593, 1-344.
Nissan North America. (2016). Driver Attention Alert (DAA). USA: Nissan News USA.
Rajpathak, T., Kumar, R., & Schwartz, E. (2009). Eye Detection Using Morphological and Color.
2009 Florida Conference on Recent Advances in Robotics (pp. 1-6). Machine Intelligence
Laboratory, Department of Electrical and Computer Engineering.
Sehgal, T., Maindalkar, S., & More, S. (2016, September). Safety Device for Drowsy Driving using
IOT. International Journal of Advanced Research in Computer and Communication
Engineering, Vol. 5(Issue 9), 3.
Sri, M., Divya, P., Vyshnav, J., & Tejaswini, B. (2018). DETECTION OF DROWSY EYES USING VIOLA
JONES FACE. INTERNATIONAL JOURNAL OF CURRENT ENGINEERING AND SCIENTIFIC
RESEARCH (IJCESR, 1-5.
Stutts, J. C., & Hunter, W. W. (2003, July). Driver Inattention, Driver Distraction and Traffic
Crashes. ITE Journal, 1-6.
T. D’Orazio, M. L., G.Cicirelli, & Distante, A. (2014). An Algorithm for real time eye detection in
face images. Proceedings of the 17th International Conference on Pattern Recognition
(pp. 1-4). nstitute of Intelligent Systems for AutomationVia Amendola 122/D-I 70126
Bari (Italy).
The Royal Society for the Prevention of Accidents. (2017). Road Safety Factsheet: Driver
Distraction. Rospa, 1-7.
Viola, P., & Jones, M. J. (2004). Robust real-time face detection. Int. J. Comput. Vis., 137-154.
Volvo Car Corporation. (2007, August). Volvo Cars introduces new systems for alerting tired and
distracted drivers. Global Newsroom.
Wang, Y. Q. (2014). An Analysis of the Viola-jones Face Detection Algorithm. Image Process Line,
128-148.
Wheaton, A., Chapman, D., Presley-Cantrell, L., Croft, J., & Roehler, D. (2013). Drowsy driving –
19 states and the District of Columbia, 2009-2010. Columbia: MMWR Morb Mortal
Weekly Report.
WHO. (2004). World report on road traffic injury prevention: Summary. Geneva: WHO Library
Cataloguing-in-Publication Data.
Components list
1 P2, 460.00
Raspberry Pi 3
effects Raspberry Pi
Laptop 1 Free
Total ₱5,243.179