SlideShare a Scribd company logo
2
Most read
4
Most read
12
Most read
Driver
Drowsiness
Detection
System
PRESENTER NAME:
1. CHHAVI DABAS
Abstract
It occurs when a driver is so fatigued or sleep-deprived that they are unable to maintain their full attention and
alertness while driving. Drowsy driving is a problem that affects drivers of all ages and can occur at any time of
day. There are many factors that can contribute to drowsy driving, including lack of sleep, and long driving hours,
shift work, and the use of certain medications. Drowsy driving can also be exacerbated by factors such as alcohol
or drug use, or underlying medical conditions such as sleep disorders.
The consequences of drowsy driving can be severe, with estimates suggesting that it may be a factor in up to 40%
of motor vehicle accidents. To address this issue, we aimed to develop a system for detecting and preventing
drowsy driving in real-time by using a combination of hardware and software solutions. On the hardware side, we
used a camera to collect data about the driver's behavior and physical state. This included measures such as eye
movements, facial expressions, and distance from the camera. On the software side, we developed algorithms to
analyze this data in real-time and identify patterns that are indicative of drowsy driving. When drowsy driving is
detected, the system can take various actions to alert the driver and prevent an accident from occurring. These
actions include sounding an alarm and displaying a warning message. This can prevent an accident from occurring.
Drowsy driving is a serious safety concern that can lead to accidents, injuries, and fatalities on the road.
Introduction
Every year, thousands of accidents occur due to drowsy driving, putting lives at risk on the road.
Detecting driver drowsiness is a critical aspect of ensuring road safety. In this research, we delve into
an innovative approach for drowsiness detection that utilizes Eye Aspect Ratio (EAR). Drowsy driving,
a prevalent issue, is often characterized by drivers' reduced alertness and responsiveness. As
drowsiness sets in, individuals tend to exhibit specific changes in their facial expressions, including
partially closed eyes, slightly open mouths, and alterations in their overall face shape. These subtle
but telling transformations provide valuable cues that can be harnessed to create a reliable driver
drowsiness detection system. The importance of such a drowsiness detection system cannot be
overstated. It has the potential to save lives, reduce accidents, and enhance overall road safety. As we
progress in this study, we will delve into the technical details and methodologies employed in utilizing
EAR to create an effective and practical solution for detecting driver drowsiness.
Methodology
Drowsy Driver Detection System has been developed, using the intrusive machine vision-based concepts.
The system uses a web camera that points directly towards the driver’s face and monitors the driver’s eye
movements in order to detect fatigue. In such a case when fatigue is detected, a warning signal is issued to
alert the driver. The algorithm developed is different from any currently published papers, which was a
primary objective of the project. The system deals with detecting eyes within the specific segment of the
face. If these are not found for 20 consecutive frames, the system draws the conclusion that the driver is
falling asleep. In this project we have developed drowsiness detection system by using Python. The input
video is captured by using webcam (camera) and then it will be extracted. The face and eye detection are
done by using OpenCV. By using the Euclidean eye aspect ratio, we can get eye blinking ratio, it helps to
detect either eyes are open or closed. It will detect the face and eyes of the driver by using the given
commands. Then it will detect whether the eyes of driver are open or close. If the eyes are closed more than
given time interval it will warn the driver by playing the alarm or if eyes are open it will display message
“eyes open” and then it will go to taking the video of driver and the process will go on.
Methodology
1. Data Collection – First a picture is captured
through in vehicle cameras with varying
angles and lighting conditions to simulate
real-world scenarios.
2. Preprocessing – Human face is first divided
into 68 X,Y coordinates to locate key points
on the face, including eyes and mouth. After
that cropping and resizing of facial regions is
done for consistent input to drowsiness
detection model and image is normalized
with respect to lighting and color variations.
68 Face landmarks detected by model
Methodology
3. Feature extraction- Calculate EAR:
The more the EAR, the
more widely eye is open.
We would decide a
minimum EAR value and
used this to decide if the
eye is closed or not.
Methodology
Function that would return the EAR for a single eye.
def eye_aspect_ratio(eye):
p2_minus_p6 = dist.euclidean(eye[1], eye[5])
p3_minus_p5 = dist.euclidean(eye[2], eye[4])
p1_minus_p4 = dist.euclidean(eye[0], eye[3])
ear = (p2_minus_p6 + p3_minus_p5) / (2.0 * p1_minus_p4)
return ear
Range Status
EAR <0.25 Drowsy, eyes are closed
Flow Chart
Experimental Setup
For the purpose of detection and recognition of face Eigen face algorithm is used further PCA is used to classify it.
For the detection of eyes, we are using dlib 82 landmarks.
System configuration (Hardware Requirement):
RAM: 2 GB Ram
SIZE: 300 MB of Free space
CPU: Intel Pentium Inside
GPU: Intel 82945G Express
Software Requirement: No special software is required to run the application
Experimental Setup
For the purpose of detection and recognition of face Eigen face algorithm is used further PCA is used to classify it.
For the detection of eyes, we are using dlib 82 landmarks.
System configuration (Hardware Requirement):
RAM: 2 GB Ram
SIZE: 300 MB of Free space
CPU: Intel Pentium Inside
GPU: Intel 82945G Express
Software Requirement: No special software is required to run the application
Conclusion
In this article, we provide a method for automatically classifying blink types which includes
establishing a threshold based on the Eye Aspect Ratio value. The model can be effective to
protect road accidents.
Conclusion

More Related Content

PPTX
Driver Drowsiness Detection Review
PDF
Real Time Eye Blinking and Yawning Detection
PPTX
Driver drowsinees detection and alert.pptx slide
PPT
Artificial Passenger
PPTX
Drowsiness State Detection of Driver using Eyelid Movement- IRE Journal Confe...
PPTX
Driver DrowsiNess System
PPTX
Drowsiness Detection using machine learning (1).pptx
PDF
EYE TRACKING BASED DRIVER DROWSINESS MONITORING AND WARNING SYSTEM
Driver Drowsiness Detection Review
Real Time Eye Blinking and Yawning Detection
Driver drowsinees detection and alert.pptx slide
Artificial Passenger
Drowsiness State Detection of Driver using Eyelid Movement- IRE Journal Confe...
Driver DrowsiNess System
Drowsiness Detection using machine learning (1).pptx
EYE TRACKING BASED DRIVER DROWSINESS MONITORING AND WARNING SYSTEM

What's hot (20)

PPTX
Automated Driver Fatigue Detection
PPTX
Lane detection sensors
PPTX
Drowsiness detection and updating system
PPTX
Design of Lane Keeping Assist
PPT
Driver detection system_final.ppt
PPTX
Self driving cars -
PPTX
Eye Movement based Human Computer Interaction Technique
PPT
Artificial Passenger Fair
PPTX
Driver fatigue detection system
PDF
Artificial passenger
PPTX
Jatin sharma (42162)
PPTX
Autonomous Car
PPTX
Autonomous car
PDF
Driver Fatigue Monitoring System Using Eye Closure
PPTX
Drowsiness Detection Presentation
PPTX
Vision based system for monitoring the loss of attention in automotive driver
DOCX
Suspicious Activity Detection python Project Abstract
PDF
Blind spot detection with automatic steering
PPTX
Iris scanning
PDF
DRIVER DROWSINESS ALERT SYSTEM
Automated Driver Fatigue Detection
Lane detection sensors
Drowsiness detection and updating system
Design of Lane Keeping Assist
Driver detection system_final.ppt
Self driving cars -
Eye Movement based Human Computer Interaction Technique
Artificial Passenger Fair
Driver fatigue detection system
Artificial passenger
Jatin sharma (42162)
Autonomous Car
Autonomous car
Driver Fatigue Monitoring System Using Eye Closure
Drowsiness Detection Presentation
Vision based system for monitoring the loss of attention in automotive driver
Suspicious Activity Detection python Project Abstract
Blind spot detection with automatic steering
Iris scanning
DRIVER DROWSINESS ALERT SYSTEM
Ad

Similar to Driver Drowsiness Detection System using machine learning ppt. (20)

PDF
PBL-2 pptx.pdf
PDF
Real Time Driver Drowsiness Detection System for Road Safety
PDF
content pdf.pdferjwpeorjm jsdfoeifj owejoe
PDF
DROWSINESS DETECTION MODEL USING PYTHON
PDF
REAL TIME DROWSINESS DETECTION
PDF
Driver’s Drowsiness Detection by Analyzing Yawning and Eye Closure
PPTX
Driver Drowsiness.pptx
PDF
Human Driver’s Drowsiness Detection System
PDF
A Proposed Accident Preventive Model For Smart Vehicles
PPTX
MUNIYAMMA ppt-1.pptx
PDF
DRIVER DROWSINESS DETECTION SYSTEM
PPTX
ppt_Drowsin ess.pptx
PPTX
IoT and Computer Vision Based Driver Safety Monitoring System with Risk Predi...
PDF
IRJET - Drowsiness Detection System using ML & IP
PPTX
How to publish a proper research paper in data science field
PDF
IRJET- Robust Visual Analysis of Eye State
PDF
Driver Drowsiness Detection System Using Image Processing
PDF
Driver Dormant Monitoring System to Avert Fatal Accidents Using Image Processing
PDF
Driver Dormant Monitoring System to Avert Fatal Accidents Using Image Processing
PPTX
Drowsi(1).pptx
PBL-2 pptx.pdf
Real Time Driver Drowsiness Detection System for Road Safety
content pdf.pdferjwpeorjm jsdfoeifj owejoe
DROWSINESS DETECTION MODEL USING PYTHON
REAL TIME DROWSINESS DETECTION
Driver’s Drowsiness Detection by Analyzing Yawning and Eye Closure
Driver Drowsiness.pptx
Human Driver’s Drowsiness Detection System
A Proposed Accident Preventive Model For Smart Vehicles
MUNIYAMMA ppt-1.pptx
DRIVER DROWSINESS DETECTION SYSTEM
ppt_Drowsin ess.pptx
IoT and Computer Vision Based Driver Safety Monitoring System with Risk Predi...
IRJET - Drowsiness Detection System using ML & IP
How to publish a proper research paper in data science field
IRJET- Robust Visual Analysis of Eye State
Driver Drowsiness Detection System Using Image Processing
Driver Dormant Monitoring System to Avert Fatal Accidents Using Image Processing
Driver Dormant Monitoring System to Avert Fatal Accidents Using Image Processing
Drowsi(1).pptx
Ad

Recently uploaded (20)

PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
DOCX
573137875-Attendance-Management-System-original
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPT
introduction to datamining and warehousing
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPT
Project quality management in manufacturing
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
Well-logging-methods_new................
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
Current and future trends in Computer Vision.pptx
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
CYBER-CRIMES AND SECURITY A guide to understanding
Embodied AI: Ushering in the Next Era of Intelligent Systems
Operating System & Kernel Study Guide-1 - converted.pdf
573137875-Attendance-Management-System-original
bas. eng. economics group 4 presentation 1.pptx
introduction to datamining and warehousing
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
CH1 Production IntroductoryConcepts.pptx
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Project quality management in manufacturing
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Well-logging-methods_new................
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Foundation to blockchain - A guide to Blockchain Tech
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Current and future trends in Computer Vision.pptx
Automation-in-Manufacturing-Chapter-Introduction.pdf
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT

Driver Drowsiness Detection System using machine learning ppt.

  • 2. Abstract It occurs when a driver is so fatigued or sleep-deprived that they are unable to maintain their full attention and alertness while driving. Drowsy driving is a problem that affects drivers of all ages and can occur at any time of day. There are many factors that can contribute to drowsy driving, including lack of sleep, and long driving hours, shift work, and the use of certain medications. Drowsy driving can also be exacerbated by factors such as alcohol or drug use, or underlying medical conditions such as sleep disorders. The consequences of drowsy driving can be severe, with estimates suggesting that it may be a factor in up to 40% of motor vehicle accidents. To address this issue, we aimed to develop a system for detecting and preventing drowsy driving in real-time by using a combination of hardware and software solutions. On the hardware side, we used a camera to collect data about the driver's behavior and physical state. This included measures such as eye movements, facial expressions, and distance from the camera. On the software side, we developed algorithms to analyze this data in real-time and identify patterns that are indicative of drowsy driving. When drowsy driving is detected, the system can take various actions to alert the driver and prevent an accident from occurring. These actions include sounding an alarm and displaying a warning message. This can prevent an accident from occurring. Drowsy driving is a serious safety concern that can lead to accidents, injuries, and fatalities on the road.
  • 3. Introduction Every year, thousands of accidents occur due to drowsy driving, putting lives at risk on the road. Detecting driver drowsiness is a critical aspect of ensuring road safety. In this research, we delve into an innovative approach for drowsiness detection that utilizes Eye Aspect Ratio (EAR). Drowsy driving, a prevalent issue, is often characterized by drivers' reduced alertness and responsiveness. As drowsiness sets in, individuals tend to exhibit specific changes in their facial expressions, including partially closed eyes, slightly open mouths, and alterations in their overall face shape. These subtle but telling transformations provide valuable cues that can be harnessed to create a reliable driver drowsiness detection system. The importance of such a drowsiness detection system cannot be overstated. It has the potential to save lives, reduce accidents, and enhance overall road safety. As we progress in this study, we will delve into the technical details and methodologies employed in utilizing EAR to create an effective and practical solution for detecting driver drowsiness.
  • 4. Methodology Drowsy Driver Detection System has been developed, using the intrusive machine vision-based concepts. The system uses a web camera that points directly towards the driver’s face and monitors the driver’s eye movements in order to detect fatigue. In such a case when fatigue is detected, a warning signal is issued to alert the driver. The algorithm developed is different from any currently published papers, which was a primary objective of the project. The system deals with detecting eyes within the specific segment of the face. If these are not found for 20 consecutive frames, the system draws the conclusion that the driver is falling asleep. In this project we have developed drowsiness detection system by using Python. The input video is captured by using webcam (camera) and then it will be extracted. The face and eye detection are done by using OpenCV. By using the Euclidean eye aspect ratio, we can get eye blinking ratio, it helps to detect either eyes are open or closed. It will detect the face and eyes of the driver by using the given commands. Then it will detect whether the eyes of driver are open or close. If the eyes are closed more than given time interval it will warn the driver by playing the alarm or if eyes are open it will display message “eyes open” and then it will go to taking the video of driver and the process will go on.
  • 5. Methodology 1. Data Collection – First a picture is captured through in vehicle cameras with varying angles and lighting conditions to simulate real-world scenarios. 2. Preprocessing – Human face is first divided into 68 X,Y coordinates to locate key points on the face, including eyes and mouth. After that cropping and resizing of facial regions is done for consistent input to drowsiness detection model and image is normalized with respect to lighting and color variations. 68 Face landmarks detected by model
  • 6. Methodology 3. Feature extraction- Calculate EAR: The more the EAR, the more widely eye is open. We would decide a minimum EAR value and used this to decide if the eye is closed or not.
  • 7. Methodology Function that would return the EAR for a single eye. def eye_aspect_ratio(eye): p2_minus_p6 = dist.euclidean(eye[1], eye[5]) p3_minus_p5 = dist.euclidean(eye[2], eye[4]) p1_minus_p4 = dist.euclidean(eye[0], eye[3]) ear = (p2_minus_p6 + p3_minus_p5) / (2.0 * p1_minus_p4) return ear Range Status EAR <0.25 Drowsy, eyes are closed
  • 9. Experimental Setup For the purpose of detection and recognition of face Eigen face algorithm is used further PCA is used to classify it. For the detection of eyes, we are using dlib 82 landmarks. System configuration (Hardware Requirement): RAM: 2 GB Ram SIZE: 300 MB of Free space CPU: Intel Pentium Inside GPU: Intel 82945G Express Software Requirement: No special software is required to run the application
  • 10. Experimental Setup For the purpose of detection and recognition of face Eigen face algorithm is used further PCA is used to classify it. For the detection of eyes, we are using dlib 82 landmarks. System configuration (Hardware Requirement): RAM: 2 GB Ram SIZE: 300 MB of Free space CPU: Intel Pentium Inside GPU: Intel 82945G Express Software Requirement: No special software is required to run the application
  • 11. Conclusion In this article, we provide a method for automatically classifying blink types which includes establishing a threshold based on the Eye Aspect Ratio value. The model can be effective to protect road accidents.