SlideShare uma empresa Scribd logo
1 de 34
DROWSINESS DETECTION USING OPENCV
AND MACHINE LEARNING
Project Supervisor : Mr.,.,
Team Member : 1.
Reg.No. XXXXX
2.
Reg.No. xxxxxxx
Introduction
• In recent years, an increase in the demand for modern transportation necessitates a faster car-parc growth. At present,
the automobile is an essential mode of transportation for people. Although the automobile has changed people’s lifestyle
and improved the convenience of conducting daily activities, it is also associated with numerous negative effects, such as
traffic accidents.
• fatigued driving is a significant and latent danger in traffic accidents. In recent years, the fatigue-driving-detection system
has become a hot research topic.
• The detection methods are categorized as subjective and objective detection. In the subjective detection method, a driver
must participate in the evaluation, which is associated with the driver’s subjective perceptions through steps such as self-
questioning, The associate editor coordinating the review of this article and approving it for publication was Gustavo
Olague. evaluation and filling in questionnaires. Then, these data are used to estimate the vehicles being driven by tired
drivers, assisting the drivers to plan their schedules accordingly. However, drivers’ feedback is not required in the objective
detection method as it monitors the driver’s physiological state and driving-behavior characteristics in real time.
• The collected data are used to evaluate the driver’s level of fatigue. Furthermore, objective detection is categorized into
two: contact and non-contact. Compared with the contact method, non-contact is cheaper and more convenient because
the system that not require Computer Vision technology or sophisticate camera allow the use of the device in more cars.
Owing to easy installation and low cost, the non-contact method has been widely used for fatigue-driving detection.
• For instance, Attention Technologies and SmartEye employ the movement of the driver’s eyes and position of the driver’s
head to determine the level of their fatigue. In this study, we propose a non-contact method to detect the level of the
driver’s fatigue. Our method employs the use of only the vehicle-mounted camera, making it unnecessary for the driver to
carry any on/in-body devices. Our design uses each frame image to analyze and detect the driver’s state
Objective
• Driver drowsiness detection is a car safety technology which helps to save the life
of the driver by preventing accidents when the driver is getting drowsy.
• The main objective is to first design a system to detect driver’s drowsiness by
continuously monitoring retina of the eye.
• The system works in spite of driver wearing spectacles and in various lighting
conditions.
• To alert the driver on the detection of drowsiness by using buzzer or alarm.
• Speed of the vehicle can be reduced.
• Traffic management can be maintained by reducing the accidents
ABSTARCT:
• The face, an important part of the body, conveys a lot of information. When a
driver is in a state of fatigue, the facial expressions, e.g., the frequency of blinking
and yawning, are different from those in the normal state.
• In this project, we propose a system, which detects the drivers' fatigue status,
such as yawning, blinking, and duration of eye closure, using video images,
without equipping their bodies with devices.
• In this study, we propose a computer vision based method to detect driver’s
drowsiness from a video taken by a camera. The method attempts to recognize
the face and then detecting the eye in every frame.
• Further, we designed a new detection method for facial regions based on 68 key
points. Then we use these facial regions to evaluate the drivers' state.
• By combining the features of the eyes and mouth, we can alert the driver using a
fatigue warning with the alarm sound.
EXISTING SYSTEM:
• The paper's motive is to demonstrate the implementation of a driver’s
drowsiness detection using MATLAB through image processing. Studies suggest
that about one-fourth of all serious road accidents occur because of the vehicle
drivers' drowsiness where they need to take, confirming that drowsiness gives
rise to more road accidents than accidents occur through Drink and Drive.
• Drowsiness Detection System is designed by employing vision-based concepts.
The system’s main component is a small camera pointing towards the driver's
face scan and monitoring the driver's eyes to detect drowsiness
• There are various methods like detecting objects which are near to vehicle and
front and rear cameras for detecting vehicles approaching near to vehicle and
airbag system which can save lives after an accident is accorded.
PROBLEM STATEMENT
• Fatigue is a safety problem that has not yet been deeply tackled by any country in the
world mainly because of its nature. Fatigue, in general, is very difficult to measure or
observe unlike alcohol and drugs, which have clear key indicators and tests that are
available easily. Probably, the best solutions to this problem are awareness about fatigue-
related accidents and promoting drivers to admit fatigue when needed. The former is
hard and much more expensive to achieve, and the latter is not possible without the
former as driving for long hours is very lucrative.
• Most of the existing systems use external factors and inform the user about the problem
and save users after an accident is accord but from research most of the accidents are
due to faults in users like drowsiness, sleeping while driving.
• These methods can’t able to detect the facial expressions, yawning head nods, and
majorly on eye blink frequencies.
• Accuracy of the existing method is not good when comapred to the proposed model
PROPSOED SYTEM:
• Visual object tracking
• Facial landmarks recognition
• Driver drowsiness detection
• Determination of eyes and mouth regions : The region of the eyes, Evaluation of the
driver’s fatigue state
• Eye status recognition: (Recognition based on cnn and recognition based on angle)
• Mouth status recognition
• Alarm Sound
• Self Mode alert
Technology Used
• PYTHON - Python is an interpreted, high-level, general-purpose programming language.
Python's design philosophy emphasizes code readability with its notable use of
significant whitespace. Its language constructs and object-oriented approach aim to help
programmers write clear, logical code for small and large-scale projects. Python is
dynamically typed AND supports multiple programming paradigms, including procedural,
object-oriented, and functional programming.
• Pycharm IDE- created to develop open-source software, open-standards, and services for
interactive computing across dozens of programming languages.
• IMAGE PROCESSING - In computer science, digital image processing is the use of
computer algorithms to perform image processing on digital images.
• MACHINE LEARNING - Machine learning is the scientific study of algorithms and
statistical models that computer systems use in order to perform a specific task
effectively without using explicit instructions, relying on patterns and inference instead.
It is seen as a subset of artificial intelligence. Machine learning algorithms build a
mathematical model based on sample data, known as "training data", in order to make
predictions or decisions without being explicitly told.
ADVANTAGES:
• This method will detect a problem before any problem accord and
inform the driver and other passengers by raising an alert.
• In this OpenCV based machine learning techniques are used for
automatic detection of drowsiness.
LITERATURE REVIEW :
AUTHOR DISCRIPTION ADVANTAGE DISADVANTAGE
1 Ceerthi Bala U.K and
Sarath TV
This system will
provide an alert to the
driver in case of
drowsiness detection
Once it is detected
with the particular
sensor, the system
will alert the driver
Low accuracy
2 Rateb Jabbar et al. developed a
drowsiness detection
model using
Convolutional Neural
Network (CNN) for
mobile application.
When the developed
model applies with
the real time camera,
the drowsiness can
be detected
considerably
As a result, they
found 88% accuracy
without glass, and a
glass system detects
85% accuracy
3 Dr.K.S.Tiwari et al a study to identify
drowsiness detection
with IoT technology
A buzzer and camera
placed with a
microcontroller
continuously monitor
the drowsiness with
the necessary
parameters.
It not detect with
glass.
CON……………
S.NO AUTHOR DISCRIPTION ADVANTAGE DISADVANTAGE
4 Dr.K.S.Tiwari e The hear-beat,
temperature, and
alcoholic sensor are
placed with the wearable
device with the driver
A buzzer and camera
placed with a
microcontroller
continuously monitor the
drowsiness with the
necessary parameters.
the buzzer will be alarmed,
and a message will be sent
to the driver in slow
5 Md. Yousuf Hossain and
Fabian Parsia George
.A Raspberry Pi controller
pretends as a hub of this
system. A camera module,
buzzer, and IoT devices
are connected with the
controller
The purpose of IoT in this
2021 International
Conference on
Information system was
to get the mail services.
The camera detects the
driver, and based on the
landmark, it will identify
the drowsiness
Mail sent to other person
What is open cv ?
• OpenCV Python is nothing but a wrapper class for the original C++
library to be used with Python.
• Using this, all of the OpenCV array structures gets converted to/from
NumPy arrays.
• This makes it easier to integrate it with other libraries which use
NumPy. For example, libraries such as SciPy and Matplotlib.
• It can process images and videos to identify objects, faces, or even
the handwriting of a human.
Block diagram:
camera
Flow diagram:
Hog algorithm:
• initially, the faces are detected using a Haar Cascade Classifier on an
image in conjunction with the cropping of the cardinal section of the
face. ... The H.O.G(Histogram of Oriented Gradients) is a feature
descriptor used in computer vision for image processing for the
purpose of object detection.
• HOG, or Histogram of Oriented Gradients, is a feature descriptor that
is often used to extract features from image data. It is widely used in
computer vision tasks for object detection. ... This is done by
extracting the gradient and orientation (or you can say magnitude
and direction) of the edges.
CON……………….
• The eye aspect Ratio is an estimate of the eye opening state. Based
on Figure 2, the eye aspect ratio can be defined by the below
equation. ... A program can determine if a person's eyes are closed if
the Eye Aspect Ratio falls below a certain threshold. Clmtrackr is
another facial landmark plotter.
SOFTWARE REQUIREMENTS
• Operating system: Windows 7.
• Coding Language: python
• Libraries Used
 Numpy
Scipy
Playsound
Dlib
Imutils
opencv, etc.
• Tool: pycham
HARDWARE REQUIREMENTS
• Processor: Pentium processer of 400 MHz or higher.
• RAM: minimum 64MB primary memory
• Hard disk: minimum 1 GB hard disk space.
• Monitor : preferable color monitor (16 bit color) and above.
• Web camara
• Compact disk drive
• A keybord and mouse.
EYE ASPECT RATIO:
• The Eye Aspect Ratio is an estimate of the eye opening state.
• the eye aspect ratio can be defined by the below equation. ... A
program can determine if a person's eyes are closed if the Eye Aspect
Ratio falls below a certain threshold.
• Clmtrackr is another facial landmark plotter
FORMULA
||P2-P6||+||P3-P5||
EAR= 2||P1-P4||
CON………..
Facial Landmark:
• Facial Landmark- It is a inbuilt HOG SVM classifier used to determine
the position of 68(x, y) coordinates that map to facial structures on
the face
• It is mainly used for image or video processing and also analysis
including object detection, face detection, etc. Facial landmarks
are used to localize and represent important regions of the face, such
as: · Mouth. · Eyes. · Eyebrows.
Facial Landmark:
MAR (MOUTH ASPECT RATIO)
• Using this concept, we have calculated the Mouth Aspect Ratio:
Representing the face with 68-(x,y) coordinates. As we see that the
mouth is represented by a set of 20-(x,y) coordinates. So, we have
used coordinates 62, 64, 66, and 68 to calculate the distance between
then in the same way as EAR Calculation.
MAR = |CD| + |EF| + |GH|
3 * |AB|
CON………..
RESULTS AND DISCUSSION
• The driver anomaly observing framework created is able of identifying laziness,
intoxicated and careless practices of driver in a brief time.
• The Laziness Detecting Framework created based on eye closure of the driver
can separate ordinary eye flicker and tiredness and distinguish the laziness while
driving.
• The suggested device is able to avoid the incidents when driving due to
sleepiness. The system works properly even in case of drivers sporting spectacles
and even below low light stipulations if the digital camera offers higher output.
• Information about the head and eyes position is obtained through a range of
self-developed photograph processing algorithms. During the monitoring, the
system is able to figure out if the eyes are opened or closed.
• When the eyes have been closed for too long, a warning sign is issued.
processing judges the driver’s alertness level on the groundwork of continuous
eye closures
Result(Attached your own output)
Result(Attached your own output)
Result(Attached your own output)
Result
• As a result beep sound is heard when the driver yawn and closes the
eye lid. This helps to alert the driver.
• Also self driving mode starts when the driver eye is closed for more
than 60 seconds.
CONCLUSION:
• The driver anomaly observing framework created is able of identifying laziness,
intoxicated and careless practices of driver in a brief time. The Laziness Detecting
Framework created based on eye closure of the driver can separate ordinary eye
flicker and tiredness and distinguish the laziness while driving.
• The suggested device is able to avoid the incidents when driving due to
sleepiness. The system works properly even in case of drivers sporting spectacles
and even below low light stipulations if the digital camera offers higher output.
• Information about the head and eyes position is obtained through a range of
self-developed photograph processing algorithms. During the monitoring, the
system is able to figure out if the eyes are opened or closed. When the eyes have
been closed for too long, a warning sign is issued.
• processing judges the driver’s alertness level on the groundwork of continuous
eye closures
Limitation
• Dependence on ambient light:- With helpless lighting conditions despite the fact
that face is effectively identified, now and again the framework can't identify the
eyes. So it gives an erroneous result which must be dealt with. Continuously
situation infrared backlights ought to be utilized to maintain a strategic distance
from helpless lighting conditions.
• Optimum range required When the separation among face and webcam isn't at
ideal range then certain issues are emerging.
• At the point when face is away from the webcam (more than 70cm) at that point
the backlight is deficient to light up the face appropriately. So eyes are not
identified with high exactness which shows mistake in detection of laziness.
• Orientation of face
• Problem with multiple faces
• Delay in sounding alarm
Future scope:
• The model can be improved incrementally by using other parameter
blinking rate ,state of the cars , etc.
• If all these parameter are used it can improve the accuracy by lot.
• We plan to future work on the project by adding a sensor to o track
the heart rate in order to prevent the accident caused due to sudden
heart attack to driver.
• Same model and techniques can be used for various other uses like
Netflix and other streaming services can detect when is asleep and
stop the video accordingly .
• It can also be used in application that prevent user from sleeping
REFERENCE PAPERS:
• [1] World Health Organization, “Global Status Report on Road Safety 2015,” 2015. [Online].
Available: http://www.who.int/violence_injury_prevention/road_safety_status/
2013/en/index.html. [Accessed: 29-May-2017].
• [2] Z. Ngcobo, “Over 1,700 people died on SA roads this festive season,” 2017. [Online].
Available: http://ewn.co.za/2017/01/10/over-1-700-people-died-on-sa-roadsthis- festive-
season. [Accessed: 20-May-2017].
• [3] M. Lindeque, “RTMC report reveals shocking SA road death stats,” 2015. [Online].
Available: http://ewn.co.za/2015/09/11/RTMCreport- reveals-shocking-SA-road-death-stats.
[Accessed: 20-May- 2017].
• [4] Lowveld, “The top 3 causes of accidents?,” 2017. [Online]. Available:
http://lowveld.getitonline.co.za/2017/04/12/top-3-causesaccidents/#. WS0X6WiGPIU.
[Accessed: 20-May-2017].
• [5] “Drowsy Driving.” [Online]. Available: http://sleepcenter.ucla.edu/drowsy-driving.
[Accessed: 22-Jun- 2017].
• [6] “Detection and Prevention : Drowsy Driving – Stay Alert, Arrive Alive.” [Online].
Available:

Mais conteúdo relacionado

Mais procurados

automatic number plate recognition
automatic number plate recognitionautomatic number plate recognition
automatic number plate recognitionSairam Taduvai
 
Driver drowsinees detection and alert.pptx slide
Driver drowsinees detection and alert.pptx slideDriver drowsinees detection and alert.pptx slide
Driver drowsinees detection and alert.pptx slidekavinakshi
 
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
 
Driver detection system_final.ppt
Driver detection system_final.pptDriver detection system_final.ppt
Driver detection system_final.pptMaseeraAhmed1
 
Download as PPTX - PowerPoint Presentation
Download as PPTX - PowerPoint PresentationDownload as PPTX - PowerPoint Presentation
Download as PPTX - PowerPoint Presentationbutest
 
Drowsiness detection ppt
Drowsiness detection pptDrowsiness detection ppt
Drowsiness detection pptsafepassage
 
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
 
Vehicle Detection using Camera
Vehicle Detection using CameraVehicle Detection using Camera
Vehicle Detection using CameraShubham Agrahari
 
Face recognition attendance system
Face recognition attendance systemFace recognition attendance system
Face recognition attendance systemNaomi Kulkarni
 
Face detection presentation slide
Face detection  presentation slideFace detection  presentation slide
Face detection presentation slideSanjoy Dutta
 
Smart car parking system
Smart car parking systemSmart car parking system
Smart car parking systemAmit Shukla
 
A Smart Parking System using Raspberry pi
A Smart Parking System using Raspberry piA Smart Parking System using Raspberry pi
A Smart Parking System using Raspberry piAzharo7
 
Vehicle counting for traffic management
Vehicle counting for traffic management Vehicle counting for traffic management
Vehicle counting for traffic management ADEEBANADEEM
 
SMART CAR-PARKING SYSTEM USING IOT
SMART CAR-PARKING SYSTEM USING IOTSMART CAR-PARKING SYSTEM USING IOT
SMART CAR-PARKING SYSTEM USING IOTSaipandu143
 
Attendance system based on face recognition using python by Raihan Sikdar
Attendance system based on face recognition using python by Raihan SikdarAttendance system based on face recognition using python by Raihan Sikdar
Attendance system based on face recognition using python by Raihan Sikdarraihansikdar
 
Vision based system for monitoring the loss of attention in automotive driver
Vision based system for monitoring the loss of attention in automotive driverVision based system for monitoring the loss of attention in automotive driver
Vision based system for monitoring the loss of attention in automotive driverVinay Diddi
 
Smart parking system
Smart parking systemSmart parking system
Smart parking systemslmnsvn
 
Face recognition technology - BEST PPT
Face recognition technology - BEST PPTFace recognition technology - BEST PPT
Face recognition technology - BEST PPTSiddharth Modi
 

Mais procurados (20)

automatic number plate recognition
automatic number plate recognitionautomatic number plate recognition
automatic number plate recognition
 
Driver drowsinees detection and alert.pptx slide
Driver drowsinees detection and alert.pptx slideDriver drowsinees detection and alert.pptx slide
Driver drowsinees detection and alert.pptx slide
 
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
 
DRIVER DROWSINESS ALERT SYSTEM
DRIVER DROWSINESS ALERT SYSTEMDRIVER DROWSINESS ALERT SYSTEM
DRIVER DROWSINESS ALERT SYSTEM
 
Driver detection system_final.ppt
Driver detection system_final.pptDriver detection system_final.ppt
Driver detection system_final.ppt
 
Download as PPTX - PowerPoint Presentation
Download as PPTX - PowerPoint PresentationDownload as PPTX - PowerPoint Presentation
Download as PPTX - PowerPoint Presentation
 
Drowsiness detection ppt
Drowsiness detection pptDrowsiness detection ppt
Drowsiness detection ppt
 
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
 
Vehicle Detection using Camera
Vehicle Detection using CameraVehicle Detection using Camera
Vehicle Detection using Camera
 
Face recognition attendance system
Face recognition attendance systemFace recognition attendance system
Face recognition attendance system
 
Drowsy Driver detection system
Drowsy Driver detection systemDrowsy Driver detection system
Drowsy Driver detection system
 
Face detection presentation slide
Face detection  presentation slideFace detection  presentation slide
Face detection presentation slide
 
Smart car parking system
Smart car parking systemSmart car parking system
Smart car parking system
 
A Smart Parking System using Raspberry pi
A Smart Parking System using Raspberry piA Smart Parking System using Raspberry pi
A Smart Parking System using Raspberry pi
 
Vehicle counting for traffic management
Vehicle counting for traffic management Vehicle counting for traffic management
Vehicle counting for traffic management
 
SMART CAR-PARKING SYSTEM USING IOT
SMART CAR-PARKING SYSTEM USING IOTSMART CAR-PARKING SYSTEM USING IOT
SMART CAR-PARKING SYSTEM USING IOT
 
Attendance system based on face recognition using python by Raihan Sikdar
Attendance system based on face recognition using python by Raihan SikdarAttendance system based on face recognition using python by Raihan Sikdar
Attendance system based on face recognition using python by Raihan Sikdar
 
Vision based system for monitoring the loss of attention in automotive driver
Vision based system for monitoring the loss of attention in automotive driverVision based system for monitoring the loss of attention in automotive driver
Vision based system for monitoring the loss of attention in automotive driver
 
Smart parking system
Smart parking systemSmart parking system
Smart parking system
 
Face recognition technology - BEST PPT
Face recognition technology - BEST PPTFace recognition technology - BEST PPT
Face recognition technology - BEST PPT
 

Semelhante a Drowsiness Detection using machine learning (1).pptx

Introduction to Java Programming for High School by Slidesgo.pptx
Introduction to Java Programming for High School by Slidesgo.pptxIntroduction to Java Programming for High School by Slidesgo.pptx
Introduction to Java Programming for High School by Slidesgo.pptxtestorretest
 
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 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
 
Application Oriented Computer Vision Pipeline for Automotive Industry
Application Oriented Computer Vision Pipeline for Automotive IndustryApplication Oriented Computer Vision Pipeline for Automotive Industry
Application Oriented Computer Vision Pipeline for Automotive IndustryOytun Eren Sengul
 
sleep booster
sleep boostersleep booster
sleep boosterRanicafe
 
Driver Drowsiness.pptx
Driver Drowsiness.pptxDriver Drowsiness.pptx
Driver Drowsiness.pptxIsi India
 
Automated Framework for Vision based Driver Fatigue Detection by using Multi-...
Automated Framework for Vision based Driver Fatigue Detection by using Multi-...Automated Framework for Vision based Driver Fatigue Detection by using Multi-...
Automated Framework for Vision based Driver Fatigue Detection by using Multi-...IRJET Journal
 
Batch 5.pptxjhjjjkmmmmmmmmmmmmmmmmmmmmmmmm
Batch 5.pptxjhjjjkmmmmmmmmmmmmmmmmmmmmmmmmBatch 5.pptxjhjjjkmmmmmmmmmmmmmmmmmmmmmmmm
Batch 5.pptxjhjjjkmmmmmmmmmmmmmmmmmmmmmmmmysrinuvasrao1980
 
DROWSINESS DETECTION MODEL USING PYTHON
DROWSINESS DETECTION MODEL USING PYTHONDROWSINESS DETECTION MODEL USING PYTHON
DROWSINESS DETECTION MODEL USING PYTHONIRJET Journal
 
Driver Dormant Monitoring System to Avert Fatal Accidents Using Image Processing
Driver Dormant Monitoring System to Avert Fatal Accidents Using Image ProcessingDriver Dormant Monitoring System to Avert Fatal Accidents Using Image Processing
Driver Dormant Monitoring System to Avert Fatal Accidents Using Image ProcessingIRJET Journal
 
Driver Dormant Monitoring System to Avert Fatal Accidents Using Image Processing
Driver Dormant Monitoring System to Avert Fatal Accidents Using Image ProcessingDriver Dormant Monitoring System to Avert Fatal Accidents Using Image Processing
Driver Dormant Monitoring System to Avert Fatal Accidents Using Image ProcessingIRJET Journal
 
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
 
REAL TIME DROWSINESS DETECTION
REAL TIME DROWSINESS DETECTIONREAL TIME DROWSINESS DETECTION
REAL TIME DROWSINESS DETECTIONIRJET Journal
 
A Real-Time Monitoring System for the Drivers using PCA and SVM
A Real-Time Monitoring System for the Drivers using PCA and SVMA Real-Time Monitoring System for the Drivers using PCA and SVM
A Real-Time Monitoring System for the Drivers using PCA and SVMIRJET Journal
 
IRJET- Driver’s Sleep Detection
IRJET-  	  Driver’s Sleep DetectionIRJET-  	  Driver’s Sleep Detection
IRJET- Driver’s Sleep DetectionIRJET 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
 

Semelhante a Drowsiness Detection using machine learning (1).pptx (20)

Introduction to Java Programming for High School by Slidesgo.pptx
Introduction to Java Programming for High School by Slidesgo.pptxIntroduction to Java Programming for High School by Slidesgo.pptx
Introduction to Java Programming for High School by Slidesgo.pptx
 
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 System Using Image Processing
Driver Drowsiness Detection System Using Image ProcessingDriver Drowsiness Detection System Using Image Processing
Driver Drowsiness Detection System Using Image Processing
 
Application Oriented Computer Vision Pipeline for Automotive Industry
Application Oriented Computer Vision Pipeline for Automotive IndustryApplication Oriented Computer Vision Pipeline for Automotive Industry
Application Oriented Computer Vision Pipeline for Automotive Industry
 
sleep booster
sleep boostersleep booster
sleep booster
 
DDD_ML.docx
DDD_ML.docxDDD_ML.docx
DDD_ML.docx
 
Driver Drowsiness.pptx
Driver Drowsiness.pptxDriver Drowsiness.pptx
Driver Drowsiness.pptx
 
Drowsi(1).pptx
Drowsi(1).pptxDrowsi(1).pptx
Drowsi(1).pptx
 
Automated Framework for Vision based Driver Fatigue Detection by using Multi-...
Automated Framework for Vision based Driver Fatigue Detection by using Multi-...Automated Framework for Vision based Driver Fatigue Detection by using Multi-...
Automated Framework for Vision based Driver Fatigue Detection by using Multi-...
 
Batch 5.pptxjhjjjkmmmmmmmmmmmmmmmmmmmmmmmm
Batch 5.pptxjhjjjkmmmmmmmmmmmmmmmmmmmmmmmmBatch 5.pptxjhjjjkmmmmmmmmmmmmmmmmmmmmmmmm
Batch 5.pptxjhjjjkmmmmmmmmmmmmmmmmmmmmmmmm
 
DROWSINESS DETECTION MODEL USING PYTHON
DROWSINESS DETECTION MODEL USING PYTHONDROWSINESS DETECTION MODEL USING PYTHON
DROWSINESS DETECTION MODEL USING PYTHON
 
Driver Dormant Monitoring System to Avert Fatal Accidents Using Image Processing
Driver Dormant Monitoring System to Avert Fatal Accidents Using Image ProcessingDriver Dormant Monitoring System to Avert Fatal Accidents 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
Driver Dormant Monitoring System to Avert Fatal Accidents Using Image ProcessingDriver Dormant Monitoring System to Avert Fatal Accidents Using Image Processing
Driver Dormant Monitoring System to Avert Fatal Accidents Using Image Processing
 
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
 
J42025053
J42025053J42025053
J42025053
 
REAL TIME DROWSINESS DETECTION
REAL TIME DROWSINESS DETECTIONREAL TIME DROWSINESS DETECTION
REAL TIME DROWSINESS DETECTION
 
A Real-Time Monitoring System for the Drivers using PCA and SVM
A Real-Time Monitoring System for the Drivers using PCA and SVMA Real-Time Monitoring System for the Drivers using PCA and SVM
A Real-Time Monitoring System for the Drivers using PCA and SVM
 
IRJET- Driver’s Sleep Detection
IRJET-  	  Driver’s Sleep DetectionIRJET-  	  Driver’s Sleep Detection
IRJET- Driver’s Sleep Detection
 
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
 

Último

SOC Analyst Guide For Beginners SOC analysts work as members of a managed sec...
SOC Analyst Guide For Beginners SOC analysts work as members of a managed sec...SOC Analyst Guide For Beginners SOC analysts work as members of a managed sec...
SOC Analyst Guide For Beginners SOC analysts work as members of a managed sec...Varun Mithran
 
一比一原版(Polytechnic毕业证书)新加坡理工学院毕业证原件一模一样
一比一原版(Polytechnic毕业证书)新加坡理工学院毕业证原件一模一样一比一原版(Polytechnic毕业证书)新加坡理工学院毕业证原件一模一样
一比一原版(Polytechnic毕业证书)新加坡理工学院毕业证原件一模一样AS
 
原版定制(爱大毕业证书)英国爱丁堡大学毕业证原件一模一样
原版定制(爱大毕业证书)英国爱丁堡大学毕业证原件一模一样原版定制(爱大毕业证书)英国爱丁堡大学毕业证原件一模一样
原版定制(爱大毕业证书)英国爱丁堡大学毕业证原件一模一样gfhdsfr
 
Statistical Analysis of DNS Latencies.pdf
Statistical Analysis of DNS Latencies.pdfStatistical Analysis of DNS Latencies.pdf
Statistical Analysis of DNS Latencies.pdfOndejSur
 
一比一原版布兰迪斯大学毕业证如何办理
一比一原版布兰迪斯大学毕业证如何办理一比一原版布兰迪斯大学毕业证如何办理
一比一原版布兰迪斯大学毕业证如何办理A
 
一比一原版(PSU毕业证书)美国宾州州立大学毕业证如何办理
一比一原版(PSU毕业证书)美国宾州州立大学毕业证如何办理一比一原版(PSU毕业证书)美国宾州州立大学毕业证如何办理
一比一原版(PSU毕业证书)美国宾州州立大学毕业证如何办理Fir
 
一比一定制加州大学欧文分校毕业证学位证书
一比一定制加州大学欧文分校毕业证学位证书一比一定制加州大学欧文分校毕业证学位证书
一比一定制加州大学欧文分校毕业证学位证书A
 
🍑👄Dehradun Esℂorts Serviℂe☎️9315791090🍑👄 ℂall Girl serviℂe in ☎️Dehradun ℂall...
🍑👄Dehradun Esℂorts Serviℂe☎️9315791090🍑👄 ℂall Girl serviℂe in ☎️Dehradun ℂall...🍑👄Dehradun Esℂorts Serviℂe☎️9315791090🍑👄 ℂall Girl serviℂe in ☎️Dehradun ℂall...
🍑👄Dehradun Esℂorts Serviℂe☎️9315791090🍑👄 ℂall Girl serviℂe in ☎️Dehradun ℂall...Mumbai Escorts
 
Free on Wednesdays T Shirts Free on Wednesdays Sweatshirts
Free on Wednesdays T Shirts Free on Wednesdays SweatshirtsFree on Wednesdays T Shirts Free on Wednesdays Sweatshirts
Free on Wednesdays T Shirts Free on Wednesdays Sweatshirtsrahman018755
 
The Rise of Subscription-Based Digital Services.pdf
The Rise of Subscription-Based Digital Services.pdfThe Rise of Subscription-Based Digital Services.pdf
The Rise of Subscription-Based Digital Services.pdfe-Market Hub
 
原版定制英国赫瑞瓦特大学毕业证原件一模一样
原版定制英国赫瑞瓦特大学毕业证原件一模一样原版定制英国赫瑞瓦特大学毕业证原件一模一样
原版定制英国赫瑞瓦特大学毕业证原件一模一样AS
 
Reggie miller choke t shirtsReggie miller choke t shirts
Reggie miller choke t shirtsReggie miller choke t shirtsReggie miller choke t shirtsReggie miller choke t shirts
Reggie miller choke t shirtsReggie miller choke t shirtsrahman018755
 
Thank You Luv I’ll Never Walk Alone Again T shirts
Thank You Luv I’ll Never Walk Alone Again T shirtsThank You Luv I’ll Never Walk Alone Again T shirts
Thank You Luv I’ll Never Walk Alone Again T shirtsrahman018755
 
一比一定制波士顿学院毕业证学位证书
一比一定制波士顿学院毕业证学位证书一比一定制波士顿学院毕业证学位证书
一比一定制波士顿学院毕业证学位证书A
 
一比一定制(Temasek毕业证书)新加坡淡马锡理工学院毕业证学位证书
一比一定制(Temasek毕业证书)新加坡淡马锡理工学院毕业证学位证书一比一定制(Temasek毕业证书)新加坡淡马锡理工学院毕业证学位证书
一比一定制(Temasek毕业证书)新加坡淡马锡理工学院毕业证学位证书B
 
一比一原版(Wintec毕业证书)新西兰怀卡托理工学院毕业证原件一模一样
一比一原版(Wintec毕业证书)新西兰怀卡托理工学院毕业证原件一模一样一比一原版(Wintec毕业证书)新西兰怀卡托理工学院毕业证原件一模一样
一比一原版(Wintec毕业证书)新西兰怀卡托理工学院毕业证原件一模一样AS
 
一比一原版(Bath毕业证书)英国桑德兰大学毕业证如何办理
一比一原版(Bath毕业证书)英国桑德兰大学毕业证如何办理一比一原版(Bath毕业证书)英国桑德兰大学毕业证如何办理
一比一原版(Bath毕业证书)英国桑德兰大学毕业证如何办理B
 
原版定制(Management毕业证书)新加坡管理大学毕业证原件一模一样
原版定制(Management毕业证书)新加坡管理大学毕业证原件一模一样原版定制(Management毕业证书)新加坡管理大学毕业证原件一模一样
原版定制(Management毕业证书)新加坡管理大学毕业证原件一模一样asdafd
 
Discovering OfficialUSA.com Your Go-To Resource.pdf
Discovering OfficialUSA.com Your Go-To Resource.pdfDiscovering OfficialUSA.com Your Go-To Resource.pdf
Discovering OfficialUSA.com Your Go-To Resource.pdfSadaf Khan
 

Último (20)

SOC Analyst Guide For Beginners SOC analysts work as members of a managed sec...
SOC Analyst Guide For Beginners SOC analysts work as members of a managed sec...SOC Analyst Guide For Beginners SOC analysts work as members of a managed sec...
SOC Analyst Guide For Beginners SOC analysts work as members of a managed sec...
 
一比一原版(Polytechnic毕业证书)新加坡理工学院毕业证原件一模一样
一比一原版(Polytechnic毕业证书)新加坡理工学院毕业证原件一模一样一比一原版(Polytechnic毕业证书)新加坡理工学院毕业证原件一模一样
一比一原版(Polytechnic毕业证书)新加坡理工学院毕业证原件一模一样
 
原版定制(爱大毕业证书)英国爱丁堡大学毕业证原件一模一样
原版定制(爱大毕业证书)英国爱丁堡大学毕业证原件一模一样原版定制(爱大毕业证书)英国爱丁堡大学毕业证原件一模一样
原版定制(爱大毕业证书)英国爱丁堡大学毕业证原件一模一样
 
Statistical Analysis of DNS Latencies.pdf
Statistical Analysis of DNS Latencies.pdfStatistical Analysis of DNS Latencies.pdf
Statistical Analysis of DNS Latencies.pdf
 
GOOGLE Io 2024 At takes center stage.pdf
GOOGLE Io 2024 At takes center stage.pdfGOOGLE Io 2024 At takes center stage.pdf
GOOGLE Io 2024 At takes center stage.pdf
 
一比一原版布兰迪斯大学毕业证如何办理
一比一原版布兰迪斯大学毕业证如何办理一比一原版布兰迪斯大学毕业证如何办理
一比一原版布兰迪斯大学毕业证如何办理
 
一比一原版(PSU毕业证书)美国宾州州立大学毕业证如何办理
一比一原版(PSU毕业证书)美国宾州州立大学毕业证如何办理一比一原版(PSU毕业证书)美国宾州州立大学毕业证如何办理
一比一原版(PSU毕业证书)美国宾州州立大学毕业证如何办理
 
一比一定制加州大学欧文分校毕业证学位证书
一比一定制加州大学欧文分校毕业证学位证书一比一定制加州大学欧文分校毕业证学位证书
一比一定制加州大学欧文分校毕业证学位证书
 
🍑👄Dehradun Esℂorts Serviℂe☎️9315791090🍑👄 ℂall Girl serviℂe in ☎️Dehradun ℂall...
🍑👄Dehradun Esℂorts Serviℂe☎️9315791090🍑👄 ℂall Girl serviℂe in ☎️Dehradun ℂall...🍑👄Dehradun Esℂorts Serviℂe☎️9315791090🍑👄 ℂall Girl serviℂe in ☎️Dehradun ℂall...
🍑👄Dehradun Esℂorts Serviℂe☎️9315791090🍑👄 ℂall Girl serviℂe in ☎️Dehradun ℂall...
 
Free on Wednesdays T Shirts Free on Wednesdays Sweatshirts
Free on Wednesdays T Shirts Free on Wednesdays SweatshirtsFree on Wednesdays T Shirts Free on Wednesdays Sweatshirts
Free on Wednesdays T Shirts Free on Wednesdays Sweatshirts
 
The Rise of Subscription-Based Digital Services.pdf
The Rise of Subscription-Based Digital Services.pdfThe Rise of Subscription-Based Digital Services.pdf
The Rise of Subscription-Based Digital Services.pdf
 
原版定制英国赫瑞瓦特大学毕业证原件一模一样
原版定制英国赫瑞瓦特大学毕业证原件一模一样原版定制英国赫瑞瓦特大学毕业证原件一模一样
原版定制英国赫瑞瓦特大学毕业证原件一模一样
 
Reggie miller choke t shirtsReggie miller choke t shirts
Reggie miller choke t shirtsReggie miller choke t shirtsReggie miller choke t shirtsReggie miller choke t shirts
Reggie miller choke t shirtsReggie miller choke t shirts
 
Thank You Luv I’ll Never Walk Alone Again T shirts
Thank You Luv I’ll Never Walk Alone Again T shirtsThank You Luv I’ll Never Walk Alone Again T shirts
Thank You Luv I’ll Never Walk Alone Again T shirts
 
一比一定制波士顿学院毕业证学位证书
一比一定制波士顿学院毕业证学位证书一比一定制波士顿学院毕业证学位证书
一比一定制波士顿学院毕业证学位证书
 
一比一定制(Temasek毕业证书)新加坡淡马锡理工学院毕业证学位证书
一比一定制(Temasek毕业证书)新加坡淡马锡理工学院毕业证学位证书一比一定制(Temasek毕业证书)新加坡淡马锡理工学院毕业证学位证书
一比一定制(Temasek毕业证书)新加坡淡马锡理工学院毕业证学位证书
 
一比一原版(Wintec毕业证书)新西兰怀卡托理工学院毕业证原件一模一样
一比一原版(Wintec毕业证书)新西兰怀卡托理工学院毕业证原件一模一样一比一原版(Wintec毕业证书)新西兰怀卡托理工学院毕业证原件一模一样
一比一原版(Wintec毕业证书)新西兰怀卡托理工学院毕业证原件一模一样
 
一比一原版(Bath毕业证书)英国桑德兰大学毕业证如何办理
一比一原版(Bath毕业证书)英国桑德兰大学毕业证如何办理一比一原版(Bath毕业证书)英国桑德兰大学毕业证如何办理
一比一原版(Bath毕业证书)英国桑德兰大学毕业证如何办理
 
原版定制(Management毕业证书)新加坡管理大学毕业证原件一模一样
原版定制(Management毕业证书)新加坡管理大学毕业证原件一模一样原版定制(Management毕业证书)新加坡管理大学毕业证原件一模一样
原版定制(Management毕业证书)新加坡管理大学毕业证原件一模一样
 
Discovering OfficialUSA.com Your Go-To Resource.pdf
Discovering OfficialUSA.com Your Go-To Resource.pdfDiscovering OfficialUSA.com Your Go-To Resource.pdf
Discovering OfficialUSA.com Your Go-To Resource.pdf
 

Drowsiness Detection using machine learning (1).pptx

  • 1. DROWSINESS DETECTION USING OPENCV AND MACHINE LEARNING Project Supervisor : Mr.,., Team Member : 1. Reg.No. XXXXX 2. Reg.No. xxxxxxx
  • 2. Introduction • In recent years, an increase in the demand for modern transportation necessitates a faster car-parc growth. At present, the automobile is an essential mode of transportation for people. Although the automobile has changed people’s lifestyle and improved the convenience of conducting daily activities, it is also associated with numerous negative effects, such as traffic accidents. • fatigued driving is a significant and latent danger in traffic accidents. In recent years, the fatigue-driving-detection system has become a hot research topic. • The detection methods are categorized as subjective and objective detection. In the subjective detection method, a driver must participate in the evaluation, which is associated with the driver’s subjective perceptions through steps such as self- questioning, The associate editor coordinating the review of this article and approving it for publication was Gustavo Olague. evaluation and filling in questionnaires. Then, these data are used to estimate the vehicles being driven by tired drivers, assisting the drivers to plan their schedules accordingly. However, drivers’ feedback is not required in the objective detection method as it monitors the driver’s physiological state and driving-behavior characteristics in real time. • The collected data are used to evaluate the driver’s level of fatigue. Furthermore, objective detection is categorized into two: contact and non-contact. Compared with the contact method, non-contact is cheaper and more convenient because the system that not require Computer Vision technology or sophisticate camera allow the use of the device in more cars. Owing to easy installation and low cost, the non-contact method has been widely used for fatigue-driving detection. • For instance, Attention Technologies and SmartEye employ the movement of the driver’s eyes and position of the driver’s head to determine the level of their fatigue. In this study, we propose a non-contact method to detect the level of the driver’s fatigue. Our method employs the use of only the vehicle-mounted camera, making it unnecessary for the driver to carry any on/in-body devices. Our design uses each frame image to analyze and detect the driver’s state
  • 3. Objective • Driver drowsiness detection is a car safety technology which helps to save the life of the driver by preventing accidents when the driver is getting drowsy. • The main objective is to first design a system to detect driver’s drowsiness by continuously monitoring retina of the eye. • The system works in spite of driver wearing spectacles and in various lighting conditions. • To alert the driver on the detection of drowsiness by using buzzer or alarm. • Speed of the vehicle can be reduced. • Traffic management can be maintained by reducing the accidents
  • 4. ABSTARCT: • The face, an important part of the body, conveys a lot of information. When a driver is in a state of fatigue, the facial expressions, e.g., the frequency of blinking and yawning, are different from those in the normal state. • In this project, we propose a system, which detects the drivers' fatigue status, such as yawning, blinking, and duration of eye closure, using video images, without equipping their bodies with devices. • In this study, we propose a computer vision based method to detect driver’s drowsiness from a video taken by a camera. The method attempts to recognize the face and then detecting the eye in every frame. • Further, we designed a new detection method for facial regions based on 68 key points. Then we use these facial regions to evaluate the drivers' state. • By combining the features of the eyes and mouth, we can alert the driver using a fatigue warning with the alarm sound.
  • 5. EXISTING SYSTEM: • The paper's motive is to demonstrate the implementation of a driver’s drowsiness detection using MATLAB through image processing. Studies suggest that about one-fourth of all serious road accidents occur because of the vehicle drivers' drowsiness where they need to take, confirming that drowsiness gives rise to more road accidents than accidents occur through Drink and Drive. • Drowsiness Detection System is designed by employing vision-based concepts. The system’s main component is a small camera pointing towards the driver's face scan and monitoring the driver's eyes to detect drowsiness • There are various methods like detecting objects which are near to vehicle and front and rear cameras for detecting vehicles approaching near to vehicle and airbag system which can save lives after an accident is accorded.
  • 6. PROBLEM STATEMENT • Fatigue is a safety problem that has not yet been deeply tackled by any country in the world mainly because of its nature. Fatigue, in general, is very difficult to measure or observe unlike alcohol and drugs, which have clear key indicators and tests that are available easily. Probably, the best solutions to this problem are awareness about fatigue- related accidents and promoting drivers to admit fatigue when needed. The former is hard and much more expensive to achieve, and the latter is not possible without the former as driving for long hours is very lucrative. • Most of the existing systems use external factors and inform the user about the problem and save users after an accident is accord but from research most of the accidents are due to faults in users like drowsiness, sleeping while driving. • These methods can’t able to detect the facial expressions, yawning head nods, and majorly on eye blink frequencies. • Accuracy of the existing method is not good when comapred to the proposed model
  • 7. PROPSOED SYTEM: • Visual object tracking • Facial landmarks recognition • Driver drowsiness detection • Determination of eyes and mouth regions : The region of the eyes, Evaluation of the driver’s fatigue state • Eye status recognition: (Recognition based on cnn and recognition based on angle) • Mouth status recognition • Alarm Sound • Self Mode alert
  • 8. Technology Used • PYTHON - Python is an interpreted, high-level, general-purpose programming language. Python's design philosophy emphasizes code readability with its notable use of significant whitespace. Its language constructs and object-oriented approach aim to help programmers write clear, logical code for small and large-scale projects. Python is dynamically typed AND supports multiple programming paradigms, including procedural, object-oriented, and functional programming. • Pycharm IDE- created to develop open-source software, open-standards, and services for interactive computing across dozens of programming languages. • IMAGE PROCESSING - In computer science, digital image processing is the use of computer algorithms to perform image processing on digital images. • MACHINE LEARNING - Machine learning is the scientific study of algorithms and statistical models that computer systems use in order to perform a specific task effectively without using explicit instructions, relying on patterns and inference instead. It is seen as a subset of artificial intelligence. Machine learning algorithms build a mathematical model based on sample data, known as "training data", in order to make predictions or decisions without being explicitly told.
  • 9. ADVANTAGES: • This method will detect a problem before any problem accord and inform the driver and other passengers by raising an alert. • In this OpenCV based machine learning techniques are used for automatic detection of drowsiness.
  • 10. LITERATURE REVIEW : AUTHOR DISCRIPTION ADVANTAGE DISADVANTAGE 1 Ceerthi Bala U.K and Sarath TV This system will provide an alert to the driver in case of drowsiness detection Once it is detected with the particular sensor, the system will alert the driver Low accuracy 2 Rateb Jabbar et al. developed a drowsiness detection model using Convolutional Neural Network (CNN) for mobile application. When the developed model applies with the real time camera, the drowsiness can be detected considerably As a result, they found 88% accuracy without glass, and a glass system detects 85% accuracy 3 Dr.K.S.Tiwari et al a study to identify drowsiness detection with IoT technology A buzzer and camera placed with a microcontroller continuously monitor the drowsiness with the necessary parameters. It not detect with glass.
  • 11. CON…………… S.NO AUTHOR DISCRIPTION ADVANTAGE DISADVANTAGE 4 Dr.K.S.Tiwari e The hear-beat, temperature, and alcoholic sensor are placed with the wearable device with the driver A buzzer and camera placed with a microcontroller continuously monitor the drowsiness with the necessary parameters. the buzzer will be alarmed, and a message will be sent to the driver in slow 5 Md. Yousuf Hossain and Fabian Parsia George .A Raspberry Pi controller pretends as a hub of this system. A camera module, buzzer, and IoT devices are connected with the controller The purpose of IoT in this 2021 International Conference on Information system was to get the mail services. The camera detects the driver, and based on the landmark, it will identify the drowsiness Mail sent to other person
  • 12. What is open cv ? • OpenCV Python is nothing but a wrapper class for the original C++ library to be used with Python. • Using this, all of the OpenCV array structures gets converted to/from NumPy arrays. • This makes it easier to integrate it with other libraries which use NumPy. For example, libraries such as SciPy and Matplotlib. • It can process images and videos to identify objects, faces, or even the handwriting of a human.
  • 14.
  • 16. Hog algorithm: • initially, the faces are detected using a Haar Cascade Classifier on an image in conjunction with the cropping of the cardinal section of the face. ... The H.O.G(Histogram of Oriented Gradients) is a feature descriptor used in computer vision for image processing for the purpose of object detection. • HOG, or Histogram of Oriented Gradients, is a feature descriptor that is often used to extract features from image data. It is widely used in computer vision tasks for object detection. ... This is done by extracting the gradient and orientation (or you can say magnitude and direction) of the edges.
  • 17. CON………………. • The eye aspect Ratio is an estimate of the eye opening state. Based on Figure 2, the eye aspect ratio can be defined by the below equation. ... A program can determine if a person's eyes are closed if the Eye Aspect Ratio falls below a certain threshold. Clmtrackr is another facial landmark plotter.
  • 18. SOFTWARE REQUIREMENTS • Operating system: Windows 7. • Coding Language: python • Libraries Used  Numpy Scipy Playsound Dlib Imutils opencv, etc. • Tool: pycham
  • 19. HARDWARE REQUIREMENTS • Processor: Pentium processer of 400 MHz or higher. • RAM: minimum 64MB primary memory • Hard disk: minimum 1 GB hard disk space. • Monitor : preferable color monitor (16 bit color) and above. • Web camara • Compact disk drive • A keybord and mouse.
  • 20. EYE ASPECT RATIO: • The Eye Aspect Ratio is an estimate of the eye opening state. • the eye aspect ratio can be defined by the below equation. ... A program can determine if a person's eyes are closed if the Eye Aspect Ratio falls below a certain threshold. • Clmtrackr is another facial landmark plotter FORMULA ||P2-P6||+||P3-P5|| EAR= 2||P1-P4||
  • 22. Facial Landmark: • Facial Landmark- It is a inbuilt HOG SVM classifier used to determine the position of 68(x, y) coordinates that map to facial structures on the face • It is mainly used for image or video processing and also analysis including object detection, face detection, etc. Facial landmarks are used to localize and represent important regions of the face, such as: · Mouth. · Eyes. · Eyebrows.
  • 24. MAR (MOUTH ASPECT RATIO) • Using this concept, we have calculated the Mouth Aspect Ratio: Representing the face with 68-(x,y) coordinates. As we see that the mouth is represented by a set of 20-(x,y) coordinates. So, we have used coordinates 62, 64, 66, and 68 to calculate the distance between then in the same way as EAR Calculation. MAR = |CD| + |EF| + |GH| 3 * |AB|
  • 26. RESULTS AND DISCUSSION • The driver anomaly observing framework created is able of identifying laziness, intoxicated and careless practices of driver in a brief time. • The Laziness Detecting Framework created based on eye closure of the driver can separate ordinary eye flicker and tiredness and distinguish the laziness while driving. • The suggested device is able to avoid the incidents when driving due to sleepiness. The system works properly even in case of drivers sporting spectacles and even below low light stipulations if the digital camera offers higher output. • Information about the head and eyes position is obtained through a range of self-developed photograph processing algorithms. During the monitoring, the system is able to figure out if the eyes are opened or closed. • When the eyes have been closed for too long, a warning sign is issued. processing judges the driver’s alertness level on the groundwork of continuous eye closures
  • 30. Result • As a result beep sound is heard when the driver yawn and closes the eye lid. This helps to alert the driver. • Also self driving mode starts when the driver eye is closed for more than 60 seconds.
  • 31. CONCLUSION: • The driver anomaly observing framework created is able of identifying laziness, intoxicated and careless practices of driver in a brief time. The Laziness Detecting Framework created based on eye closure of the driver can separate ordinary eye flicker and tiredness and distinguish the laziness while driving. • The suggested device is able to avoid the incidents when driving due to sleepiness. The system works properly even in case of drivers sporting spectacles and even below low light stipulations if the digital camera offers higher output. • Information about the head and eyes position is obtained through a range of self-developed photograph processing algorithms. During the monitoring, the system is able to figure out if the eyes are opened or closed. When the eyes have been closed for too long, a warning sign is issued. • processing judges the driver’s alertness level on the groundwork of continuous eye closures
  • 32. Limitation • Dependence on ambient light:- With helpless lighting conditions despite the fact that face is effectively identified, now and again the framework can't identify the eyes. So it gives an erroneous result which must be dealt with. Continuously situation infrared backlights ought to be utilized to maintain a strategic distance from helpless lighting conditions. • Optimum range required When the separation among face and webcam isn't at ideal range then certain issues are emerging. • At the point when face is away from the webcam (more than 70cm) at that point the backlight is deficient to light up the face appropriately. So eyes are not identified with high exactness which shows mistake in detection of laziness. • Orientation of face • Problem with multiple faces • Delay in sounding alarm
  • 33. Future scope: • The model can be improved incrementally by using other parameter blinking rate ,state of the cars , etc. • If all these parameter are used it can improve the accuracy by lot. • We plan to future work on the project by adding a sensor to o track the heart rate in order to prevent the accident caused due to sudden heart attack to driver. • Same model and techniques can be used for various other uses like Netflix and other streaming services can detect when is asleep and stop the video accordingly . • It can also be used in application that prevent user from sleeping
  • 34. REFERENCE PAPERS: • [1] World Health Organization, “Global Status Report on Road Safety 2015,” 2015. [Online]. Available: http://www.who.int/violence_injury_prevention/road_safety_status/ 2013/en/index.html. [Accessed: 29-May-2017]. • [2] Z. Ngcobo, “Over 1,700 people died on SA roads this festive season,” 2017. [Online]. Available: http://ewn.co.za/2017/01/10/over-1-700-people-died-on-sa-roadsthis- festive- season. [Accessed: 20-May-2017]. • [3] M. Lindeque, “RTMC report reveals shocking SA road death stats,” 2015. [Online]. Available: http://ewn.co.za/2015/09/11/RTMCreport- reveals-shocking-SA-road-death-stats. [Accessed: 20-May- 2017]. • [4] Lowveld, “The top 3 causes of accidents?,” 2017. [Online]. Available: http://lowveld.getitonline.co.za/2017/04/12/top-3-causesaccidents/#. WS0X6WiGPIU. [Accessed: 20-May-2017]. • [5] “Drowsy Driving.” [Online]. Available: http://sleepcenter.ucla.edu/drowsy-driving. [Accessed: 22-Jun- 2017]. • [6] “Detection and Prevention : Drowsy Driving – Stay Alert, Arrive Alive.” [Online]. Available: