SlideShare a Scribd company logo
NIET Journal of Engineering & Technology (NIETJET)
Volume 7, Issue Winter 2018 ISSN: 2229-5828 (Print)
1 | Page
Publisher: Noida Institute of Engineering & Technology,
19, Knowledge Park-II, Institutional Area, Greater Noida (UP), India.
Abstract: When driving long distances, drivers who do not take frequent rests are more likely to get sleepy, a condition
that experts say they often fail to identify early enough. Based on eye condition, this research proposes a system for
detecting driver sleepiness in real time. A camera is often used to take a sequence of images by the system. In our system,
these capture images may be saved as individual frames. The resulting frame is sent into facial recognition software as an
input. The image's needed feature (eye) is then extracted. The method creates a condition for each eye and suggests a
certain number of frames with the same condition that can be registered.
Keywords - Handwritten recognition, CNN, deep learning, KNN, machine learning,
1. INTRODUCTION
Drowsy driving occurs when a person's ability to stay attentive is impaired owing to a lack of sleep. Driving while
drowsy, sleep deprived, exhausted, or weary is referred to as drowsy driving, sleep deprived driving, fatigued
driving, or tired driving. According to studies, sleepy driving is more dangerous than texting while driving,
distracted driving, or drunk driving combined. According to a research conducted by the Central Road Research
Institute (CRRI) exhausted drivers who fall asleep while driving are responsible for roughly 40% of road
accidents. In short, the majority of accidents are caused by the driver's tiredness.
Depressions, grief, an irregular work schedule, stress, and travelling between time zones are all possible causes
of sleepiness. So a technology called the Driver Drowsiness Detection System was created to avoid accidents
caused by drowsiness. Drowsiness detection is an example of how computer science and engineering help to the
progress and advancement of society by delivering beneficial services in a variety of fields. This type assists the
driver in waking up if he or she falls asleep behind the wheel.
2. METHODOLOGY
Driver drowsiness detection is a vehicle safety feature that helps to save a driver's life by averting accidents when
the driver becomes drowsy. The primary goal is to develop a system that can identify driver sleepiness by
continually monitoring the retina of the eye. The device works even if the driver is wearing glasses and under
different lighting situations. By deploying a buzzer or an alarm, the driver will be notified if sleepiness is detected.
With the aid of an automatically sent text message to the driver's relative or the automobile owner, the driver will
be notified. The project was implemented using following technologies:
2.1 OpenCV
It is a module that provides real-time vision to computers. More than 2500 optimised algorithms are included in
the module which contains a comprehensive mix of both traditional and cutting-edge computer vision and
machine learning techniques. These algorithms can be used to detect and recognise faces, identify objects, classify
human actions in videos, track camera movements, track moving objects, extract 3D models of objects, produce
3D point clouds from stereo cameras, stitch images together to produce a high resolution image of an entire scene,
remove red eyes from images taken with flash, follow eye movements, and establish markers to overlay[2].
DROWSINESS DETECTION SYSTEM
USING MACHINE LEARNING
Daman Bhola.,
Aman Ali. , Shubham Tariyal, Shubham Dubey, Vivek Ranjan
Computer Science and Engineering, NIET Greater Noida, India
NIET Journal of Engineering & Technology (NIETJET)
Volume 7, Issue Winter 2018 ISSN: 2229-5828 (Print)
2 | Page
Publisher: Noida Institute of Engineering & Technology,
19, Knowledge Park-II, Institutional Area, Greater Noida (UP), India.
2.2 Keras
Keras is a human-centric API, not a machine-centric one. Keras adheres to best practices for lowering cognitive
load by providing consistent, straightforward APIs, limiting the amount of user activities necessary for typical
use cases, and providing clear and responsive error signals. There's also a lot of documentation and developer
instructions. [3].
2.3 TensorFlow
TensorFlow is a machine learning software library that is free and open-source. It may be used for a variety of
applications, but it focuses on deep neural network training and inference. Tensorflow is a dataflow and
differentiable programming-based symbolic math toolkit.
2.4 Pygame
Pygame is a suite of cross-platform Python tools for creating video games. It offers sound and graphics libraries
that may be utilised with the Python programming language.
2.5 Request
Requests is an Apache License 2.0-compliant Python HTTP library. The project's purpose is to make HTTP
requests more human-friendly and straightforward.
2.6 Fast2API
API for Microsoft's Gateway. Our Bulk SMS API is compatible with PHP, JAVA, C#, C, Python, Ruby,
Javascript, NodeJS, and other programming languages. REST APIs to deliver Promotional, Transactional, and
Quick Transactional SMS are secure, resilient, and simple to integrate.
The four steps of our driver sleepiness detection system are as follows:
1. Detection Stage: This is the system's startup step. The system must be set up and optimised for the present
user and conditions every time it is started. The effective identification of heads is the most important step in this
stage. If the driver's head is accurately found, we can extract the characteristics required for the system's setup.
2. Tracking Stage: The system begins the regular tracking (monitoring) stage after the driver's head and eyes
have been adequately found and all relevant characteristics have been retrieved. The constant monitoring of the
driver's eyes within a dynamically allotted tracking region is a critical step in this stage. More specifically, the
system will calculate the size of the tracking region based on the historical data of eye movements to reduce
processing time. For example, if the eyes have been travelling horizontally to the left for a number of frames, that
tendency is likely to continue in the next frame. As a result, it makes sense to enlarge the tracking area in the
predicted direction of the eyes while shrinking. The system must also determine the status of the eyes at this point.
All of these operations must be completed in real time; depending on the processor's capabilities and the present
load, it may be necessary to miss a few frames from time to time without affecting algorithmic precision.
3. Warning Stage: The driver's attention must be enhanced if he keeps his eyes closed for an extended amount
of time or begins to nod. The crucial step at this stage is to keep a tight check on the driver's eyes. The system
must figure out if the eyes are still closed and where they are in relation to previously determined criteria. At this
point, we can't afford to miss frames. In practice, eye tracking is done in very much the same way as the tracking
stage, with the addition of the following processes: eye velocity and trajectory computation, and threshold
monitoring. These extra calculations are needed to increase the system's capacity to assess whether or not the
driver is sleepy.
4. Alert Stage: Once the system has decided that the driver looks to be in an aberrant driving condition, it must
be proactive in alerting the driver of potential threats. To draw the driver's attention and enhance their awareness
NIET Journal of Engineering & Technology (NIETJET)
Volume 7, Issue Winter 2018 ISSN: 2229-5828 (Print)
3 | Page
Publisher: Noida Institute of Engineering & Technology,
19, Knowledge Park-II, Institutional Area, Greater Noida (UP), India.
level, a combination of audio/visual signals is utilized.Alerting has to be implemented in such a way as not to
cause the opposite effect of intended and startle the driver into causing an accident.
3. RESULTS AND DISCUSSIONS
The suggested system is based on the face, eyes, and skin of the driver. Because of its broad availability and
general simplicity, we picked the popular Viola-Jones method for baseline face identification. We improved the
face detection technique by using skin colour data. Human skin colour has its own characteristics. Breaking down
a colour into its fundamental chroma components (red, green, and blue) and specifying component ranges is the
easiest way to convey and define these characteristics. The great majority of skin colour types contain a red
chroma component between 133 and 173, and a blue chroma component between 77 and 127, according to
research.
Present study used a classification strategy that relied on both head position and eye state to boost the overall
robustness of the system.its strategy is based on the following assumptions:
• When fully awake, the driver's head posture does not fluctuate much.
• When tired, the driver's head position varies dramatically.
Based on this the score is provided for images. Following figures shows the score based on the image.
Fig 4.2: When eyes are open: score = 0
NIET Journal of Engineering & Technology (NIETJET)
Volume 7, Issue Winter 2018 ISSN: 2229-5828 (Print)
4 | Page
Publisher: Noida Institute of Engineering & Technology,
19, Knowledge Park-II, Institutional Area, Greater Noida (UP), India.
Fig 4.2: When eyes are closed : score = 40
4. CONCLUSION
The system is deemed to be in a normal state as long as the eyes are held above the top threshold. It is considered
the commencement of the nodding sequence when the head tilts vertically down and reaches the upper barrier. If
the head rebounds and reaches the lower threshold, the nodding sequence is aborted; however, if the head remains
down and crosses the lower threshold, we know the driver is no longer watching the road. The device also checks
the status of the eyes while monitoring their location in relation to the thresholds. The sequence is cancelled if the
driver opens his eyes while moving down in his nodding sequence. The present system can finely determine
whether the person operating the car is dozing off or not by taking into account all of the elements and employing
all of the technology we had at our disposal. Not only does it successfully notify the driver, but it also sends a
message to the person whose phone number is provided so that they are aware when the person driving the can is
being careless or endangering its own and others' safety.
REFERENCES
[1]. M Ozaki, Y. Adachi, Y. Iwahori, and N. Ishii, Application of fuzzy theory to writer recognition of Chinese
characters, International Journal of Modelling and Simulation, 18(2), 1998, 112-116
[2]. O. Russakovsky, J. Deng, H. Su, J. Krause, S. Satheesh, S. Ma, S. Huang, A. Karpathy, A. Khosla,M.
Bernstein, A.C. Berg, and F.F. Li. “ Imagenet large scale visual recognition challenge”. International Journal
of Computer Vision” December 2015, Volume 115, Issue 3, pp 211- 252.
[3]. Liu, C.L. et al.,.” Handwritten digit recognition: Benchmarking of state-of-the-art techniques”. Pattern
Recognition 36, 2271–2285. 2003 17.
[4]. Xiao-Xiao Niu n , Ching Y. Suen “A novel hybrid CNN–SVM classifier for recognizing handwritten digits”
Pattern Recognition 45 (2012) 1318–1325, 2011 19.

More Related Content

What's hot

Driver DrowsiNess System
Driver DrowsiNess SystemDriver DrowsiNess System
Driver DrowsiNess SystemGurunadh Guru
 
Drowsiness Detection Presentation
Drowsiness Detection PresentationDrowsiness Detection Presentation
Drowsiness Detection PresentationSaurabh Kawli
 
OpenGL Mini Projects With Source Code [ Computer Graphics ]
OpenGL Mini Projects With Source Code [ Computer Graphics ]OpenGL Mini Projects With Source Code [ Computer Graphics ]
OpenGL Mini Projects With Source Code [ Computer Graphics ]Daffodil International University
 
icu patient smart monitoring system using iot
icu patient smart monitoring system using ioticu patient smart monitoring system using iot
icu patient smart monitoring system using iotrenjithnatraj96
 
Iris Biometric for Person Identification
Iris Biometric for Person IdentificationIris Biometric for Person Identification
Iris Biometric for Person IdentificationManish Kumar
 
Blue Eyes (Artificial Intelligence)
Blue Eyes (Artificial Intelligence)Blue Eyes (Artificial Intelligence)
Blue Eyes (Artificial Intelligence)Mydul Islam Rashed
 
Biometrics Technology Seminar Report.
Biometrics Technology Seminar Report.Biometrics Technology Seminar Report.
Biometrics Technology Seminar Report.Pavan Kumar MT
 
Computer engineering and it seminar topics
Computer engineering and  it seminar topicsComputer engineering and  it seminar topics
Computer engineering and it seminar topicsAce Beau
 
Sixth sense technology ppt
Sixth sense technology pptSixth sense technology ppt
Sixth sense technology pptMohammad Adil
 
6.designing secure and efficient biometric based secure access mechanism for ...
6.designing secure and efficient biometric based secure access mechanism for ...6.designing secure and efficient biometric based secure access mechanism for ...
6.designing secure and efficient biometric based secure access mechanism for ...Venkat Projects
 
Mind reading computers
Mind  reading computersMind  reading computers
Mind reading computersMaryam Fatima
 
Driver Drowsiness Detection Review
Driver Drowsiness Detection ReviewDriver Drowsiness Detection Review
Driver Drowsiness Detection ReviewAsaad Waqar
 
Biometrics Technology PPT
Biometrics Technology PPTBiometrics Technology PPT
Biometrics Technology PPTPavan Kumar MT
 

What's hot (20)

Driver DrowsiNess System
Driver DrowsiNess SystemDriver DrowsiNess System
Driver DrowsiNess System
 
Drowsiness Detection Presentation
Drowsiness Detection PresentationDrowsiness Detection Presentation
Drowsiness Detection Presentation
 
OpenGL Mini Projects With Source Code [ Computer Graphics ]
OpenGL Mini Projects With Source Code [ Computer Graphics ]OpenGL Mini Projects With Source Code [ Computer Graphics ]
OpenGL Mini Projects With Source Code [ Computer Graphics ]
 
icu patient smart monitoring system using iot
icu patient smart monitoring system using ioticu patient smart monitoring system using iot
icu patient smart monitoring system using iot
 
Iris recognition
Iris recognition Iris recognition
Iris recognition
 
Iris Recognition
Iris RecognitionIris Recognition
Iris Recognition
 
Iris Biometric for Person Identification
Iris Biometric for Person IdentificationIris Biometric for Person Identification
Iris Biometric for Person Identification
 
CHILD SAFETY WEARABLE DEVICE
CHILD SAFETY WEARABLE DEVICECHILD SAFETY WEARABLE DEVICE
CHILD SAFETY WEARABLE DEVICE
 
Palm vein technology
Palm vein technologyPalm vein technology
Palm vein technology
 
Google smart lens ppt
Google smart lens pptGoogle smart lens ppt
Google smart lens ppt
 
Blue Eyes (Artificial Intelligence)
Blue Eyes (Artificial Intelligence)Blue Eyes (Artificial Intelligence)
Blue Eyes (Artificial Intelligence)
 
Biometrics Technology Seminar Report.
Biometrics Technology Seminar Report.Biometrics Technology Seminar Report.
Biometrics Technology Seminar Report.
 
Computer engineering and it seminar topics
Computer engineering and  it seminar topicsComputer engineering and  it seminar topics
Computer engineering and it seminar topics
 
Sixth sense technology ppt
Sixth sense technology pptSixth sense technology ppt
Sixth sense technology ppt
 
6.designing secure and efficient biometric based secure access mechanism for ...
6.designing secure and efficient biometric based secure access mechanism for ...6.designing secure and efficient biometric based secure access mechanism for ...
6.designing secure and efficient biometric based secure access mechanism for ...
 
Touchless touch screen
Touchless touch screenTouchless touch screen
Touchless touch screen
 
Mind reading computers
Mind  reading computersMind  reading computers
Mind reading computers
 
Palm vein technology
Palm vein technologyPalm vein technology
Palm vein technology
 
Driver Drowsiness Detection Review
Driver Drowsiness Detection ReviewDriver Drowsiness Detection Review
Driver Drowsiness Detection Review
 
Biometrics Technology PPT
Biometrics Technology PPTBiometrics Technology PPT
Biometrics Technology PPT
 

Similar to DROWSINESS DETECTION SYSTEM USING MACHINE LEARNING

REAL-TIME DRIVER DROWSINESS DETECTION
REAL-TIME DRIVER DROWSINESS DETECTIONREAL-TIME DRIVER DROWSINESS DETECTION
REAL-TIME DRIVER DROWSINESS DETECTIONIRJET Journal
 
REAL-TIME DRIVER DROWSINESS DETECTION
REAL-TIME DRIVER DROWSINESS DETECTIONREAL-TIME DRIVER DROWSINESS DETECTION
REAL-TIME DRIVER DROWSINESS DETECTIONIRJET Journal
 
IRJET - Drowsiness Detection System using ML & IP
IRJET - Drowsiness Detection System using ML & IPIRJET - Drowsiness Detection System using ML & IP
IRJET - Drowsiness Detection System using ML & IPIRJET Journal
 
REAL TIME DROWSINESS DETECTION
REAL TIME DROWSINESS DETECTIONREAL TIME DROWSINESS DETECTION
REAL TIME DROWSINESS DETECTIONIRJET Journal
 
IRJET- Drive Assistance an Android Application for Drowsiness Detection
IRJET- Drive Assistance an Android Application for Drowsiness DetectionIRJET- Drive Assistance an Android Application for Drowsiness Detection
IRJET- Drive Assistance an Android Application for Drowsiness DetectionIRJET Journal
 
DROWSINESS DETECTION MODEL USING PYTHON
DROWSINESS DETECTION MODEL USING PYTHONDROWSINESS DETECTION MODEL USING PYTHON
DROWSINESS DETECTION MODEL USING PYTHONIRJET Journal
 
Stay Awake Alert: A Driver Drowsiness Detection System with Location Tracking...
Stay Awake Alert: A Driver Drowsiness Detection System with Location Tracking...Stay Awake Alert: A Driver Drowsiness Detection System with Location Tracking...
Stay Awake Alert: A Driver Drowsiness Detection System with Location Tracking...IRJET Journal
 
IRJET- Vehicular Data Acquisition & Driver Behaviours Surveillance System
IRJET- Vehicular Data Acquisition & Driver Behaviours Surveillance SystemIRJET- Vehicular Data Acquisition & Driver Behaviours Surveillance System
IRJET- Vehicular Data Acquisition & Driver Behaviours Surveillance SystemIRJET Journal
 
Human Driver’s Drowsiness Detection System
Human Driver’s Drowsiness Detection SystemHuman Driver’s Drowsiness Detection System
Human Driver’s Drowsiness Detection SystemIRJET Journal
 
DRIVER DROWSINESS DETECTION USING DEEP LEARNING
DRIVER DROWSINESS DETECTION USING DEEP LEARNINGDRIVER DROWSINESS DETECTION USING DEEP LEARNING
DRIVER DROWSINESS DETECTION USING DEEP LEARNINGIRJET Journal
 
IRJET- Driver’s Sleep Detection
IRJET-  	  Driver’s Sleep DetectionIRJET-  	  Driver’s Sleep Detection
IRJET- Driver’s Sleep DetectionIRJET Journal
 
Real-Time Driver Drowsiness Detection System
Real-Time Driver Drowsiness Detection SystemReal-Time Driver Drowsiness Detection System
Real-Time Driver Drowsiness Detection SystemIRJET Journal
 
IRJET- Driver Drowsiness Detection and Autobraking System for Accident Preven...
IRJET- Driver Drowsiness Detection and Autobraking System for Accident Preven...IRJET- Driver Drowsiness Detection and Autobraking System for Accident Preven...
IRJET- Driver Drowsiness Detection and Autobraking System for Accident Preven...IRJET Journal
 
Driver Drowsiness Detection System Using Image Processing
Driver Drowsiness Detection System Using Image ProcessingDriver Drowsiness Detection System Using Image Processing
Driver Drowsiness Detection System Using Image ProcessingIRJET Journal
 
IRJET- Igaze-Eye Gaze Direction Evaluation to Operate a Virtual Keyboard for ...
IRJET- Igaze-Eye Gaze Direction Evaluation to Operate a Virtual Keyboard for ...IRJET- Igaze-Eye Gaze Direction Evaluation to Operate a Virtual Keyboard for ...
IRJET- Igaze-Eye Gaze Direction Evaluation to Operate a Virtual Keyboard for ...IRJET Journal
 
Driver Drowsiness Monitoring System Using Visual Signals and Embedded System
Driver Drowsiness Monitoring System Using Visual Signals and Embedded SystemDriver Drowsiness Monitoring System Using Visual Signals and Embedded System
Driver Drowsiness Monitoring System Using Visual Signals and Embedded SystemIRJET Journal
 
IRJET - Smart Assistance System for Drivers
IRJET - Smart Assistance System for DriversIRJET - Smart Assistance System for Drivers
IRJET - Smart Assistance System for DriversIRJET Journal
 
Real time detecting driver’s drowsiness using computer vision
Real time detecting driver’s drowsiness using computer visionReal time detecting driver’s drowsiness using computer vision
Real time detecting driver’s drowsiness using computer visioneSAT Publishing House
 
Real Time Eye Blinking and Yawning Detection
Real Time Eye Blinking and Yawning DetectionReal Time Eye Blinking and Yawning Detection
Real Time Eye Blinking and Yawning Detectionijtsrd
 

Similar to DROWSINESS DETECTION SYSTEM USING MACHINE LEARNING (20)

A Proposed Accident Preventive Model For Smart Vehicles
A Proposed Accident Preventive Model For Smart VehiclesA Proposed Accident Preventive Model For Smart Vehicles
A Proposed Accident Preventive Model For Smart Vehicles
 
REAL-TIME DRIVER DROWSINESS DETECTION
REAL-TIME DRIVER DROWSINESS DETECTIONREAL-TIME DRIVER DROWSINESS DETECTION
REAL-TIME DRIVER DROWSINESS DETECTION
 
REAL-TIME DRIVER DROWSINESS DETECTION
REAL-TIME DRIVER DROWSINESS DETECTIONREAL-TIME DRIVER DROWSINESS DETECTION
REAL-TIME DRIVER DROWSINESS DETECTION
 
IRJET - Drowsiness Detection System using ML & IP
IRJET - Drowsiness Detection System using ML & IPIRJET - Drowsiness Detection System using ML & IP
IRJET - Drowsiness Detection System using ML & IP
 
REAL TIME DROWSINESS DETECTION
REAL TIME DROWSINESS DETECTIONREAL TIME DROWSINESS DETECTION
REAL TIME DROWSINESS DETECTION
 
IRJET- Drive Assistance an Android Application for Drowsiness Detection
IRJET- Drive Assistance an Android Application for Drowsiness DetectionIRJET- Drive Assistance an Android Application for Drowsiness Detection
IRJET- Drive Assistance an Android Application for Drowsiness Detection
 
DROWSINESS DETECTION MODEL USING PYTHON
DROWSINESS DETECTION MODEL USING PYTHONDROWSINESS DETECTION MODEL USING PYTHON
DROWSINESS DETECTION MODEL USING PYTHON
 
Stay Awake Alert: A Driver Drowsiness Detection System with Location Tracking...
Stay Awake Alert: A Driver Drowsiness Detection System with Location Tracking...Stay Awake Alert: A Driver Drowsiness Detection System with Location Tracking...
Stay Awake Alert: A Driver Drowsiness Detection System with Location Tracking...
 
IRJET- Vehicular Data Acquisition & Driver Behaviours Surveillance System
IRJET- Vehicular Data Acquisition & Driver Behaviours Surveillance SystemIRJET- Vehicular Data Acquisition & Driver Behaviours Surveillance System
IRJET- Vehicular Data Acquisition & Driver Behaviours Surveillance System
 
Human Driver’s Drowsiness Detection System
Human Driver’s Drowsiness Detection SystemHuman Driver’s Drowsiness Detection System
Human Driver’s Drowsiness Detection System
 
DRIVER DROWSINESS DETECTION USING DEEP LEARNING
DRIVER DROWSINESS DETECTION USING DEEP LEARNINGDRIVER DROWSINESS DETECTION USING DEEP LEARNING
DRIVER DROWSINESS DETECTION USING DEEP LEARNING
 
IRJET- Driver’s Sleep Detection
IRJET-  	  Driver’s Sleep DetectionIRJET-  	  Driver’s Sleep Detection
IRJET- Driver’s Sleep Detection
 
Real-Time Driver Drowsiness Detection System
Real-Time Driver Drowsiness Detection SystemReal-Time Driver Drowsiness Detection System
Real-Time Driver Drowsiness Detection System
 
IRJET- Driver Drowsiness Detection and Autobraking System for Accident Preven...
IRJET- Driver Drowsiness Detection and Autobraking System for Accident Preven...IRJET- Driver Drowsiness Detection and Autobraking System for Accident Preven...
IRJET- Driver Drowsiness Detection and Autobraking System for Accident Preven...
 
Driver Drowsiness Detection System Using Image Processing
Driver Drowsiness Detection System Using Image ProcessingDriver Drowsiness Detection System Using Image Processing
Driver Drowsiness Detection System Using Image Processing
 
IRJET- Igaze-Eye Gaze Direction Evaluation to Operate a Virtual Keyboard for ...
IRJET- Igaze-Eye Gaze Direction Evaluation to Operate a Virtual Keyboard for ...IRJET- Igaze-Eye Gaze Direction Evaluation to Operate a Virtual Keyboard for ...
IRJET- Igaze-Eye Gaze Direction Evaluation to Operate a Virtual Keyboard for ...
 
Driver Drowsiness Monitoring System Using Visual Signals and Embedded System
Driver Drowsiness Monitoring System Using Visual Signals and Embedded SystemDriver Drowsiness Monitoring System Using Visual Signals and Embedded System
Driver Drowsiness Monitoring System Using Visual Signals and Embedded System
 
IRJET - Smart Assistance System for Drivers
IRJET - Smart Assistance System for DriversIRJET - Smart Assistance System for Drivers
IRJET - Smart Assistance System for Drivers
 
Real time detecting driver’s drowsiness using computer vision
Real time detecting driver’s drowsiness using computer visionReal time detecting driver’s drowsiness using computer vision
Real time detecting driver’s drowsiness using computer vision
 
Real Time Eye Blinking and Yawning Detection
Real Time Eye Blinking and Yawning DetectionReal Time Eye Blinking and Yawning Detection
Real Time Eye Blinking and Yawning Detection
 

More from NIET Journal of Engineering & Technology (NIETJET)

More from NIET Journal of Engineering & Technology (NIETJET) (20)

Design and Implementation of Automatic Fire Sensing and Fire Extinguishing Ro...
Design and Implementation of Automatic Fire Sensing and Fire Extinguishing Ro...Design and Implementation of Automatic Fire Sensing and Fire Extinguishing Ro...
Design and Implementation of Automatic Fire Sensing and Fire Extinguishing Ro...
 
Fake News Detection using Deep Learning
Fake News Detection using Deep LearningFake News Detection using Deep Learning
Fake News Detection using Deep Learning
 
SMART DUSTBIN USING ARDUINO NANO
SMART DUSTBIN USING ARDUINO NANOSMART DUSTBIN USING ARDUINO NANO
SMART DUSTBIN USING ARDUINO NANO
 
Design & analysis various basic logic gates usingQuantum Dot Cellular Automat...
Design & analysis various basic logic gates usingQuantum Dot Cellular Automat...Design & analysis various basic logic gates usingQuantum Dot Cellular Automat...
Design & analysis various basic logic gates usingQuantum Dot Cellular Automat...
 
A detailed analysis of the supervised machine Learning Algorithms
A detailed analysis of the supervised machine Learning AlgorithmsA detailed analysis of the supervised machine Learning Algorithms
A detailed analysis of the supervised machine Learning Algorithms
 
A Clustering Based Approach for knowledge discovery on web.
A Clustering Based Approach for knowledge discovery on web.A Clustering Based Approach for knowledge discovery on web.
A Clustering Based Approach for knowledge discovery on web.
 
A Review paper on Artificial Neural Network: Intelligent Traffic Management S...
A Review paper on Artificial Neural Network: Intelligent Traffic Management S...A Review paper on Artificial Neural Network: Intelligent Traffic Management S...
A Review paper on Artificial Neural Network: Intelligent Traffic Management S...
 
Integrated MANET Mutual Authentication System - A Review
Integrated MANET Mutual Authentication System - A ReviewIntegrated MANET Mutual Authentication System - A Review
Integrated MANET Mutual Authentication System - A Review
 
Evaluation Of Latency In Delay Sensitive Cloud Services
Evaluation Of Latency In Delay Sensitive Cloud ServicesEvaluation Of Latency In Delay Sensitive Cloud Services
Evaluation Of Latency In Delay Sensitive Cloud Services
 
A Analysis Of Utilization Factor Of Fee-Counter In Colleges
A Analysis Of Utilization Factor Of Fee-Counter In CollegesA Analysis Of Utilization Factor Of Fee-Counter In Colleges
A Analysis Of Utilization Factor Of Fee-Counter In Colleges
 
Simulation Of Steady State And Dynamic Response Of Multi -Effect Evaporators ...
Simulation Of Steady State And Dynamic Response Of Multi -Effect Evaporators ...Simulation Of Steady State And Dynamic Response Of Multi -Effect Evaporators ...
Simulation Of Steady State And Dynamic Response Of Multi -Effect Evaporators ...
 
A Bi-Directional DC-DC Converter Feeding PMBLDC Motor Drive System
A Bi-Directional DC-DC Converter Feeding PMBLDC Motor Drive SystemA Bi-Directional DC-DC Converter Feeding PMBLDC Motor Drive System
A Bi-Directional DC-DC Converter Feeding PMBLDC Motor Drive System
 
Enhancing The Performance Of Multi Area AGC In Deregulatd Enviroment Tuned Wi...
Enhancing The Performance Of Multi Area AGC In Deregulatd Enviroment Tuned Wi...Enhancing The Performance Of Multi Area AGC In Deregulatd Enviroment Tuned Wi...
Enhancing The Performance Of Multi Area AGC In Deregulatd Enviroment Tuned Wi...
 
Micro -Strip Slot Antenna With High Efficiency
Micro -Strip Slot Antenna With High EfficiencyMicro -Strip Slot Antenna With High Efficiency
Micro -Strip Slot Antenna With High Efficiency
 
Analysis Of XPM-Induced Cross Talk In The Optical Order Disper-Sion With Resp...
Analysis Of XPM-Induced Cross Talk In The Optical Order Disper-Sion With Resp...Analysis Of XPM-Induced Cross Talk In The Optical Order Disper-Sion With Resp...
Analysis Of XPM-Induced Cross Talk In The Optical Order Disper-Sion With Resp...
 
Design Philosophy Of Microwave Gunn Oscillator
Design Philosophy Of Microwave Gunn OscillatorDesign Philosophy Of Microwave Gunn Oscillator
Design Philosophy Of Microwave Gunn Oscillator
 
UHF RFID Reader Antena Using Double Slot Loaded Circular Patch
UHF RFID Reader Antena Using Double Slot Loaded Circular PatchUHF RFID Reader Antena Using Double Slot Loaded Circular Patch
UHF RFID Reader Antena Using Double Slot Loaded Circular Patch
 
Planned Outline For Indian Sign Language Recognition
Planned Outline For Indian Sign Language RecognitionPlanned Outline For Indian Sign Language Recognition
Planned Outline For Indian Sign Language Recognition
 
Routing Protocol In Mobile Network : A Review
Routing Protocol In Mobile Network : A ReviewRouting Protocol In Mobile Network : A Review
Routing Protocol In Mobile Network : A Review
 
Classification Of Bug Report Using Naïve Bayes Classifier With Gain Ratio
Classification Of Bug Report Using Naïve Bayes Classifier With Gain RatioClassification Of Bug Report Using Naïve Bayes Classifier With Gain Ratio
Classification Of Bug Report Using Naïve Bayes Classifier With Gain Ratio
 

Recently uploaded

Antenna efficency lecture course chapter 3.pdf
Antenna  efficency lecture course chapter 3.pdfAntenna  efficency lecture course chapter 3.pdf
Antenna efficency lecture course chapter 3.pdfAbrahamGadissa
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Aryaabh.arya
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdfKamal Acharya
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdfKamal Acharya
 
Fruit shop management system project report.pdf
Fruit shop management system project report.pdfFruit shop management system project report.pdf
Fruit shop management system project report.pdfKamal Acharya
 
shape functions of 1D and 2 D rectangular elements.pptx
shape functions of 1D and 2 D rectangular elements.pptxshape functions of 1D and 2 D rectangular elements.pptx
shape functions of 1D and 2 D rectangular elements.pptxVishalDeshpande27
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdfPratik Pawar
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdfKamal Acharya
 
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...Amil baba
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacksgerogepatton
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdffxintegritypublishin
 
ENERGY STORAGE DEVICES INTRODUCTION UNIT-I
ENERGY STORAGE DEVICES  INTRODUCTION UNIT-IENERGY STORAGE DEVICES  INTRODUCTION UNIT-I
ENERGY STORAGE DEVICES INTRODUCTION UNIT-IVigneshvaranMech
 
Explosives Industry manufacturing process.pdf
Explosives Industry manufacturing process.pdfExplosives Industry manufacturing process.pdf
Explosives Industry manufacturing process.pdf884710SadaqatAli
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwoodseandesed
 
Laundry management system project report.pdf
Laundry management system project report.pdfLaundry management system project report.pdf
Laundry management system project report.pdfKamal Acharya
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxR&R Consult
 
Top 13 Famous Civil Engineering Scientist
Top 13 Famous Civil Engineering ScientistTop 13 Famous Civil Engineering Scientist
Top 13 Famous Civil Engineering Scientistgettygaming1
 
Online resume builder management system project report.pdf
Online resume builder management system project report.pdfOnline resume builder management system project report.pdf
Online resume builder management system project report.pdfKamal Acharya
 
fundamentals of drawing and isometric and orthographic projection
fundamentals of drawing and isometric and orthographic projectionfundamentals of drawing and isometric and orthographic projection
fundamentals of drawing and isometric and orthographic projectionjeevanprasad8
 
Introduction to Casting Processes in Manufacturing
Introduction to Casting Processes in ManufacturingIntroduction to Casting Processes in Manufacturing
Introduction to Casting Processes in Manufacturingssuser0811ec
 

Recently uploaded (20)

Antenna efficency lecture course chapter 3.pdf
Antenna  efficency lecture course chapter 3.pdfAntenna  efficency lecture course chapter 3.pdf
Antenna efficency lecture course chapter 3.pdf
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
 
Fruit shop management system project report.pdf
Fruit shop management system project report.pdfFruit shop management system project report.pdf
Fruit shop management system project report.pdf
 
shape functions of 1D and 2 D rectangular elements.pptx
shape functions of 1D and 2 D rectangular elements.pptxshape functions of 1D and 2 D rectangular elements.pptx
shape functions of 1D and 2 D rectangular elements.pptx
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
 
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
ENERGY STORAGE DEVICES INTRODUCTION UNIT-I
ENERGY STORAGE DEVICES  INTRODUCTION UNIT-IENERGY STORAGE DEVICES  INTRODUCTION UNIT-I
ENERGY STORAGE DEVICES INTRODUCTION UNIT-I
 
Explosives Industry manufacturing process.pdf
Explosives Industry manufacturing process.pdfExplosives Industry manufacturing process.pdf
Explosives Industry manufacturing process.pdf
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
Laundry management system project report.pdf
Laundry management system project report.pdfLaundry management system project report.pdf
Laundry management system project report.pdf
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
Top 13 Famous Civil Engineering Scientist
Top 13 Famous Civil Engineering ScientistTop 13 Famous Civil Engineering Scientist
Top 13 Famous Civil Engineering Scientist
 
Online resume builder management system project report.pdf
Online resume builder management system project report.pdfOnline resume builder management system project report.pdf
Online resume builder management system project report.pdf
 
fundamentals of drawing and isometric and orthographic projection
fundamentals of drawing and isometric and orthographic projectionfundamentals of drawing and isometric and orthographic projection
fundamentals of drawing and isometric and orthographic projection
 
Introduction to Casting Processes in Manufacturing
Introduction to Casting Processes in ManufacturingIntroduction to Casting Processes in Manufacturing
Introduction to Casting Processes in Manufacturing
 

DROWSINESS DETECTION SYSTEM USING MACHINE LEARNING

  • 1. NIET Journal of Engineering & Technology (NIETJET) Volume 7, Issue Winter 2018 ISSN: 2229-5828 (Print) 1 | Page Publisher: Noida Institute of Engineering & Technology, 19, Knowledge Park-II, Institutional Area, Greater Noida (UP), India. Abstract: When driving long distances, drivers who do not take frequent rests are more likely to get sleepy, a condition that experts say they often fail to identify early enough. Based on eye condition, this research proposes a system for detecting driver sleepiness in real time. A camera is often used to take a sequence of images by the system. In our system, these capture images may be saved as individual frames. The resulting frame is sent into facial recognition software as an input. The image's needed feature (eye) is then extracted. The method creates a condition for each eye and suggests a certain number of frames with the same condition that can be registered. Keywords - Handwritten recognition, CNN, deep learning, KNN, machine learning, 1. INTRODUCTION Drowsy driving occurs when a person's ability to stay attentive is impaired owing to a lack of sleep. Driving while drowsy, sleep deprived, exhausted, or weary is referred to as drowsy driving, sleep deprived driving, fatigued driving, or tired driving. According to studies, sleepy driving is more dangerous than texting while driving, distracted driving, or drunk driving combined. According to a research conducted by the Central Road Research Institute (CRRI) exhausted drivers who fall asleep while driving are responsible for roughly 40% of road accidents. In short, the majority of accidents are caused by the driver's tiredness. Depressions, grief, an irregular work schedule, stress, and travelling between time zones are all possible causes of sleepiness. So a technology called the Driver Drowsiness Detection System was created to avoid accidents caused by drowsiness. Drowsiness detection is an example of how computer science and engineering help to the progress and advancement of society by delivering beneficial services in a variety of fields. This type assists the driver in waking up if he or she falls asleep behind the wheel. 2. METHODOLOGY Driver drowsiness detection is a vehicle safety feature that helps to save a driver's life by averting accidents when the driver becomes drowsy. The primary goal is to develop a system that can identify driver sleepiness by continually monitoring the retina of the eye. The device works even if the driver is wearing glasses and under different lighting situations. By deploying a buzzer or an alarm, the driver will be notified if sleepiness is detected. With the aid of an automatically sent text message to the driver's relative or the automobile owner, the driver will be notified. The project was implemented using following technologies: 2.1 OpenCV It is a module that provides real-time vision to computers. More than 2500 optimised algorithms are included in the module which contains a comprehensive mix of both traditional and cutting-edge computer vision and machine learning techniques. These algorithms can be used to detect and recognise faces, identify objects, classify human actions in videos, track camera movements, track moving objects, extract 3D models of objects, produce 3D point clouds from stereo cameras, stitch images together to produce a high resolution image of an entire scene, remove red eyes from images taken with flash, follow eye movements, and establish markers to overlay[2]. DROWSINESS DETECTION SYSTEM USING MACHINE LEARNING Daman Bhola., Aman Ali. , Shubham Tariyal, Shubham Dubey, Vivek Ranjan Computer Science and Engineering, NIET Greater Noida, India
  • 2. NIET Journal of Engineering & Technology (NIETJET) Volume 7, Issue Winter 2018 ISSN: 2229-5828 (Print) 2 | Page Publisher: Noida Institute of Engineering & Technology, 19, Knowledge Park-II, Institutional Area, Greater Noida (UP), India. 2.2 Keras Keras is a human-centric API, not a machine-centric one. Keras adheres to best practices for lowering cognitive load by providing consistent, straightforward APIs, limiting the amount of user activities necessary for typical use cases, and providing clear and responsive error signals. There's also a lot of documentation and developer instructions. [3]. 2.3 TensorFlow TensorFlow is a machine learning software library that is free and open-source. It may be used for a variety of applications, but it focuses on deep neural network training and inference. Tensorflow is a dataflow and differentiable programming-based symbolic math toolkit. 2.4 Pygame Pygame is a suite of cross-platform Python tools for creating video games. It offers sound and graphics libraries that may be utilised with the Python programming language. 2.5 Request Requests is an Apache License 2.0-compliant Python HTTP library. The project's purpose is to make HTTP requests more human-friendly and straightforward. 2.6 Fast2API API for Microsoft's Gateway. Our Bulk SMS API is compatible with PHP, JAVA, C#, C, Python, Ruby, Javascript, NodeJS, and other programming languages. REST APIs to deliver Promotional, Transactional, and Quick Transactional SMS are secure, resilient, and simple to integrate. The four steps of our driver sleepiness detection system are as follows: 1. Detection Stage: This is the system's startup step. The system must be set up and optimised for the present user and conditions every time it is started. The effective identification of heads is the most important step in this stage. If the driver's head is accurately found, we can extract the characteristics required for the system's setup. 2. Tracking Stage: The system begins the regular tracking (monitoring) stage after the driver's head and eyes have been adequately found and all relevant characteristics have been retrieved. The constant monitoring of the driver's eyes within a dynamically allotted tracking region is a critical step in this stage. More specifically, the system will calculate the size of the tracking region based on the historical data of eye movements to reduce processing time. For example, if the eyes have been travelling horizontally to the left for a number of frames, that tendency is likely to continue in the next frame. As a result, it makes sense to enlarge the tracking area in the predicted direction of the eyes while shrinking. The system must also determine the status of the eyes at this point. All of these operations must be completed in real time; depending on the processor's capabilities and the present load, it may be necessary to miss a few frames from time to time without affecting algorithmic precision. 3. Warning Stage: The driver's attention must be enhanced if he keeps his eyes closed for an extended amount of time or begins to nod. The crucial step at this stage is to keep a tight check on the driver's eyes. The system must figure out if the eyes are still closed and where they are in relation to previously determined criteria. At this point, we can't afford to miss frames. In practice, eye tracking is done in very much the same way as the tracking stage, with the addition of the following processes: eye velocity and trajectory computation, and threshold monitoring. These extra calculations are needed to increase the system's capacity to assess whether or not the driver is sleepy. 4. Alert Stage: Once the system has decided that the driver looks to be in an aberrant driving condition, it must be proactive in alerting the driver of potential threats. To draw the driver's attention and enhance their awareness
  • 3. NIET Journal of Engineering & Technology (NIETJET) Volume 7, Issue Winter 2018 ISSN: 2229-5828 (Print) 3 | Page Publisher: Noida Institute of Engineering & Technology, 19, Knowledge Park-II, Institutional Area, Greater Noida (UP), India. level, a combination of audio/visual signals is utilized.Alerting has to be implemented in such a way as not to cause the opposite effect of intended and startle the driver into causing an accident. 3. RESULTS AND DISCUSSIONS The suggested system is based on the face, eyes, and skin of the driver. Because of its broad availability and general simplicity, we picked the popular Viola-Jones method for baseline face identification. We improved the face detection technique by using skin colour data. Human skin colour has its own characteristics. Breaking down a colour into its fundamental chroma components (red, green, and blue) and specifying component ranges is the easiest way to convey and define these characteristics. The great majority of skin colour types contain a red chroma component between 133 and 173, and a blue chroma component between 77 and 127, according to research. Present study used a classification strategy that relied on both head position and eye state to boost the overall robustness of the system.its strategy is based on the following assumptions: • When fully awake, the driver's head posture does not fluctuate much. • When tired, the driver's head position varies dramatically. Based on this the score is provided for images. Following figures shows the score based on the image. Fig 4.2: When eyes are open: score = 0
  • 4. NIET Journal of Engineering & Technology (NIETJET) Volume 7, Issue Winter 2018 ISSN: 2229-5828 (Print) 4 | Page Publisher: Noida Institute of Engineering & Technology, 19, Knowledge Park-II, Institutional Area, Greater Noida (UP), India. Fig 4.2: When eyes are closed : score = 40 4. CONCLUSION The system is deemed to be in a normal state as long as the eyes are held above the top threshold. It is considered the commencement of the nodding sequence when the head tilts vertically down and reaches the upper barrier. If the head rebounds and reaches the lower threshold, the nodding sequence is aborted; however, if the head remains down and crosses the lower threshold, we know the driver is no longer watching the road. The device also checks the status of the eyes while monitoring their location in relation to the thresholds. The sequence is cancelled if the driver opens his eyes while moving down in his nodding sequence. The present system can finely determine whether the person operating the car is dozing off or not by taking into account all of the elements and employing all of the technology we had at our disposal. Not only does it successfully notify the driver, but it also sends a message to the person whose phone number is provided so that they are aware when the person driving the can is being careless or endangering its own and others' safety. REFERENCES [1]. M Ozaki, Y. Adachi, Y. Iwahori, and N. Ishii, Application of fuzzy theory to writer recognition of Chinese characters, International Journal of Modelling and Simulation, 18(2), 1998, 112-116 [2]. O. Russakovsky, J. Deng, H. Su, J. Krause, S. Satheesh, S. Ma, S. Huang, A. Karpathy, A. Khosla,M. Bernstein, A.C. Berg, and F.F. Li. “ Imagenet large scale visual recognition challenge”. International Journal of Computer Vision” December 2015, Volume 115, Issue 3, pp 211- 252. [3]. Liu, C.L. et al.,.” Handwritten digit recognition: Benchmarking of state-of-the-art techniques”. Pattern Recognition 36, 2271–2285. 2003 17. [4]. Xiao-Xiao Niu n , Ching Y. Suen “A novel hybrid CNN–SVM classifier for recognizing handwritten digits” Pattern Recognition 45 (2012) 1318–1325, 2011 19.