The document discusses a driver drowsiness detection system using a webcam. It describes the objectives of the project, the scope of study including the signs of drowsiness detected, and the technologies used like Python, OpenCV, and machine learning algorithms like EAR detection.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
134 views10 pages
Drowsiness Detection Using Python Opencv
The document discusses a driver drowsiness detection system using a webcam. It describes the objectives of the project, the scope of study including the signs of drowsiness detected, and the technologies used like Python, OpenCV, and machine learning algorithms like EAR detection.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 10
{ DRIVER DROWSINESS
DETECTION BY USING WEBCAM < A Safty Based Project>
... } Table of Content
• Introduction • Objectives of this project • Scope of Study • Technology used TECHNIQUES LIBRARIES ALGORITHMS Future Enhancement Instroduction
Drowsiness is a state of near sleep, where the person has a strong desire for sleep. It has two distinct meanings, referring both to the usual state preceding falling asleep and the chronic condition referring to being in that state independent of a daily rhythm [16]. Sleepiness can be dangerous when performing tasks that require constant concentration, such as driving a vehicle. When a person is sufficiently fatigue while driving, they will experience drowsiness and this leads to increase the factor of road accident. Figure 1 shows the statistic of road accident in India from the year 2018 to 2023 provided by IIROS (Indian Institute of Road Safety). The numbers of vehicles involved in road accident keep increasing each year. From Figure 1, car and taxi type of vehicles shows about nearly 400,000 cases of road accident has been recorded. It keeps increasing every year and by the year 2021 it shows the number of road FIG 1 : Road Accidents In India accident were recorded by IIROS are nearly 500,000. Objectives of this project
To suggest ways to detect fatigue and drowsiness while driving.
The project focuses on these objectives, which are: To study on eyes and mouth from the video images of participants in the experiment of driving simulation conducted by MIROS that can be used as an indicator of fatigue and drowsiness. To investigate the physical changes of fatigue and drowsiness. To develop a system that use eyes closure and yawning as a way to detect fatigue and drowsiness. Scope of Study
• In this project, the author will focus on these following procedures:
• Basic concept of drowsiness detection system
• Familiarize with the signs of drowsiness • Determine the drowsiness from these parameters • Eye blink • Area of the pupils detect at eyes • Yawning • Data collection and measurement. • Integration of the methods chosen. • Coding development and testing. • Complete testing and improvement. TECHNOLOGY USED
1. PYTHON 2. IMAGE PROCESSING 3. MACHINE LEARNING
LIBRARIES ● OpenCV ● Dlib ● Py game ● NumPy and SciPy ALGORITHM
● Imutils • EAR Detection TECHNIQUES
PYTHON Python is an interpreted, high- level, general-purpose MACHINE LEARNING Machine learning is the scientific study programming language. of algorithms and statistical models that computer systems use in order to IMAGE PROCESSING perform a specific task effectively without using explicit instructions, digital image processing is the use of relying on patterns and inference computer algorithms to perform image instead. processing on digital images. { .. LIBRARIES
OpenCV Dlib Py game
OpenCV (Open Source Computer Vision This program is used to find It is used for Sounding the alarm. Library) is essential for image and video the frontal human face and Pygame is a set of python modules processing tasks etc. In driver estimate its poses using 68 designed for writing video games drowsiness detection landmarks
NumPy and SciPy Imutils
These libraries may be used for Imutils is a Python library numerical computations and that simplifies common statistical analysis if advanced image processing tasks, often
} algorithms or statistical models are used alongside OpenCV incorporated into the drowsiness detection system. .. ALGORITHM
EAR Detection • Time-of-Day Analysis: By analyzing the time of day, the system can infer patterns in driver behavior, such as increased drowsiness during late-night or early-morning hours, allowing for adaptive alertness thresholds. • Duration of Alertness: Monitoring the duration of continuous driving without breaks helps identify fatigue buildup, triggering alerts when prolonged periods of driving occur without rest. • Blink Frequency and Duration: Tracking the frequency and duration of eye blinks over time provides insights into changes in alertness levels, with longer or more frequent blinks indicating potential drowsiness. • Reaction Time Analysis: Monitoring the driver's reaction time to external stimuli over time helps detect delays, which could be indicative of decreased alertness or fatigue. • Session Logging and Analysis: Recording timestamps of significant events such as alerts, driver interventions, or environmental changes allows for post-session analysis to identify patterns and trends in drowsiness occurrence. By integrating time-related functions into the drowsiness detection system, it becomes more robust and capable of providing timely alerts and interventions to ensure driver safety on the road.