0% found this document useful (0 votes)
60 views21 pages

Capstone Project Ppt

Uploaded by

xofag86299
Copyright
© © All Rights Reserved
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% found this document useful (0 votes)
60 views21 pages

Capstone Project Ppt

Uploaded by

xofag86299
Copyright
© © All Rights Reserved
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/ 21

DRIVER

DROWSINESS
DETECTION
ABSTRACT

The main objective of this project is to detect the Drowsiness of a driver by numerical calculations like distance
between lips and eyes in Python using Camera
Traffic and population is increasing day- by-day in India. Most of the accidents occur due to drowsy driving
and drunk and drive. Many lives and families are getting affected due to this reason. To overcome these issues
we have designed this project. This project works on the main concept of eye blink detection. This project is
used to improve safety for the vehicles and reduces road accidents caused due to the driver’s drowsiness.

In this project we are using python and webcam. Web cam will continuously capture the driver’s eyes in real
time and sends the information to the python. Python will verify the frames sent from the webcam whether the
driver opened or closed his eyes. If the driver closes his eyes for the five successive frames it will detects the
person is drowsy and sends buzzer indication to alert the driver.
INTRODUCTION
Due to the threat of laziness can cause on the streets a few techniques should be produced for forestalling
checking its belongings. With the coming of present day innovation and continuous filtering frameworks utilizing
cameras we can forestall significant disasters out and about by cautioning vehicle drivers who are feeling lazy
through a languor location framework. The mark of this endeavor is to develop a model languor recognition
framework. The spotlight will be put on arranging a system that will unequivocally screen the open or shut state of
the driver's eyes constantly. By observing the eyes, it's accepted that the side effects of driver weakness are
frequently recognized early enough to stay away from a fender bender. Location of exhaustion includes the
perception of eye developments and squint examples during a grouping of pictures of a face.
Existing System with limitations:

■ Eye Tracking: Monitors blink rate, blink duration, and eye closure. Systems like those from
Seeing Machines use infrared cameras to detect when a driver’s eyes are closed for longer than
usual.
■ Head Movement: Tracks the position and movement of the driver’s head.Sudden drops in head
position might indicate drowsiness.
■ Alert: Display visual alerts when drowsiness is detected.
Proposed system :
In today's competitive automotive market, companies are constantly striving to offer
more features to attract customers. The "Driver Drowsiness Detection" application aims to
enhance vehicle safety by helping drivers avoid dangerous situations such as accidents and
impaired driving. This application provides automobile companies with a valuable tool to ensure
their customers' safety and prevent incidents related to driver fatigue and other issues.

• Real-Time Facial Recognition: Implementing facial recognition to monitor other symptoms of


drowsiness like head nodding or yawning.

• Alert Message: Implementing audio message, if the driver seems drowsy. It will repeat the audio
alert for three times with a 3-second interval.

• Customizable Audio: The driver can customize their audio by their own.
Future enhancements:
■ Automatic Control Transfer: In vehicles equipped with autonomous driving capabilities, the
system could automatically take control of the vehicle if the driver is unresponsive to drowsiness
alerts.

■ Sensors: the sensors can be placed in the driver’s seat and steering wheel so that if the driver is not
responding after the audio alert the seat or steering wheel vibrates
Hardware specifications
■ Webcam
■ Windows 10 or above
■ Processor : minimum Intel Core i5 or equivalent.

Software specifications
■ LANGUAGE USED: PYTHON
■ Tool:
I. OpenCV
II. Dlibs
III. Pyttsx3,pygame
IV. scipy.spatial.distance
V. time.
MODULES
i. import cv2
ii. import dlib
iii. import pyttsx3 from scipy.spatial
iv. Import pygame
v. import distance
Major challenges
• Lighting Conditions:The system relies on a camera to capture real-time images of the
driver's face and eyes. Variations in lighting, such as nighttime driving, shadows, or
glare, can reduce the accuracy of facial and eye detection.
• Environmental Factors:External factors, such as bumpy roads or vehicle vibrations,
may interfere with the system’s ability to accurately monitor the driver’s face and eyes.
• Handling False Positives:The system might mistakenly detect drowsiness when the
driver is simply blinking or looking away momentarily. Fine-tuning the threshold for
eye closure and duration is essential to avoid false alerts.
CONTROL FLOW DIAGRAM

CONTROL FLOW DIAGRAM


DATA FLOW DIAGRAM

DFD LEVEL 0
DFD LEVEL 1
Source Code:
Output :

OUTPUT
CAMERA DETECTOR
ANALYSING EAR
DROWSINESS DETECTED
ALERT TRIGERRED
TEAM MEMBERS:

MANEESH. C. S
HARINI.M
PRIYA TEJASWINI. K
THANK YOU

You might also like