SlideShare a Scribd company logo
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 09 Issue: 04 | Apr 2022 www.irjet.net p-ISSN: 2395-0072
© 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 1096
DROWSINESS DETECTION MODEL USING PYTHON
1,2 Student of B. Tech Third Year, Department of Computer Science, Rameshwaram Institute of Technology &
Management, Lucknow, India
3Student of B. Tech Third Year, Department of Computer Science, Babu Banarasi Das Engineering College,
Lucknow, India
4 Assistant Professor & Head of Department Computer Science, Rameshwaram Institute of Technology &
Management, Lucknow, India
5 Assistant Professor, Department Computer Science, Rameshwaram Institute of Technology & Management,
Lucknow, India
--------------------------------------------------------***-------------------------------------------------------------
Abstract: In today’s time, the accidents due to the
sleepiness of the driver are increasing heavily. Due the
tiredness or fatigue of all the work, most of the drivers feel
low in terms of energy. As a result, they tend to feel sleepy
during the drive time. Because of these fatigues, the
chances of accidents to happen increase immensely. So, the
aim of this project is to design a model such that it detects
the drowsiness of the driver and generate alarm whenever
the driver feels drowsy or sleepy. In most of the high-end
cars, these models are integrated within itself but for the
cars which are used by general public lacks this
technology. In this project, we are using Python as an
implementation language. This project we are focusing on
creating an affordable model for the drowsiness detection
which will be efficient as well as cheap in terms of cost and
availability. The focus of this project is heavily based on
the facial detection with the ROI of both eyes instead of the
whole face.
Key words: Drowsiness, Python, ROI (Region of
Interest).
INTRODUCTION
The most common type accident in today’s world is the
accident occurring due to the sleepiness of the driver
irrespective of day and night. The death rate of accidents
due to this has spiked to 21% over the world. This shows
how serious this problem is. The Drowsiness Detection is
a safe technology that can prevent accidents that are
caused by drivers who fall asleep while driving. The
objective of this python project is to build a Drowsiness
Detection Model which will detect that a driver’s eyes
are closed for a few seconds. The implementation of this
project uses a pre-built model of face landmark for easy
deployment on edge of computationally less efficient
devices. The project has a direct application in the
automotive sector. This paper is aimed at designing a
Drowsiness Detection Model, which takes the driver’s
eyes as ROI (Region of Interest) and continuously senses
(in real-time) the eye lid to detect whether the driver is
feeling sleepy or not. If the driver feels sleepy, the model
will generate Sound Alarm to bring the driver back to
his/her conscious state. This model is also effective even
when the driver is wearing a spectacle. The number of
accidents show just how much grave this matter is and
that’s why we chose to develop this project that is
intended to reduce these accidents.
LITERATURE REVIEW
The survey has been done which consists of present
research and technologies on this Drowsiness Detection.
The idea of this survey is to understand the field of study,
and also to understand where we should be putting our
efforts while designing this project. [1]Driver Drowsiness
Detection System Using Computer Vision (2021), this
paper includes to detect a driver’s drowsiness based on
eyelid movement and yawning and is reliable to give
appropriate voice alerts in real-time. [2]The Detection of
Drowsiness using a Driver Monitoring System (2019),
research has established the ability to detect drowsiness
with various kind of sensors. The author studied drowsy
driving in a high-fidelity driving simulator and evaluated
the ability of an automotive production ready Driver
Monitoring System to detect drowsy driving.
Additionally, this feature was compared to and combined
with signals from vehicles-based sensors. [3]Real-time
Driver Drowsiness Detection based on Driver’s Face Image
Behavior using a System of Computer Interaction
Implemented in a Smartphone (2018), this study has
shown promising result in applying the vehicular driver
surveillance based on Artificial Vision Techniques and
implemented in a smart-phone. The implemented system
allows an efficient detection of the indicators that appear
in drowsiness, as long as the measurements are carried
out under the established conditions. The correct
functioning of the system depends on these conditions.
PROJECT OBJECTIVES
The principal objective is to design or develop a
Drowsiness Detection Model which detects the
Nishant Prajapati1, Yash Srivastav2, Apoorva Mishra3, Shyam Dwivedi4, Brajesh Mishra5
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 09 Issue: 04 | Apr 2022 www.irjet.net p-ISSN: 2395-0072
© 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 1097
eye movements of the driver to acknowledge the
sleepy pattern and generate the Sound Alarm
whenever the driver feels drowsy.
The secondary objective of this project is to
make the model platform independent,
computationally less efficient devices and cheap
for the low-end spec platform. Also, to make
detection algorithm accurate in terms of sensing
the face.
RESEARCH METHODOLOGY
In the past, the facial detection was not prominent and if
it was carried out, it was not accurate. So, the previous
model of drowsiness detection was of average
performance. At that time multiple problems were
loaded these systems, one of the most important was the
accuracy of the facial detection algorithm. Because of
which the performance of the system was heavily
compromised.
So now in this model, the facial detection process is
carried out by the facial detection algorithm,
[4]shape_predictor_68_face_landmarks.dat which is
pre-trained by the Dlib model for face landmark
detection. Dlib has excellent Face Detection and Face
Landmarks algorithms built in. Also, it provides pre-
trained model for facial landmark detection. The ROI
(Region of Interest), that is the eyes of driver is created
using the face_utils of the imutils module of Python. The
Euclidean distance for eye ratio is calculated using the
distance of the scipy.spatial module. The alarm sound is
carried out by the pygame module which is initiated
when driver is detected to be drowsy or sleepy.
SOFTWARE REQUIREMENTS SPECIFICATION
The presented model’s performance will be based on
quality of the camera. The Graphical User Interface is
provided so the user can easily interact with model by
just clicking on the interface provided. The front end is
made user-friendly so that it isn’t too complex for the
non-technical user. The model requires a web-cam
(camera) & a speaker as its basic entity. The complete
model is built on Python 3 and is implemented along
with the necessary peripheral devices.
DROWSINESS DETECTION DESIGN
System Architecture
During the driving of heavy vehicle (including car), this
model uses web-cam to take live video feed as input. This
feed will be used as an input for the detection of
drowsiness in the driver. The feed will be processed by
the OpenCV module and with the help of Dlib the
landmarks are established, which in this case are eyes.
The calculation of eye aspect ratio is calculated by the
Euclidean distance formula which is used to measure the
eye closure and generate warning if the value is
decreased than the defined threshold value and
ultimately the alarm will set off.
Figure 1. Flow chart of DDM.
Detailed Design
Take Image as Input from a Camera: With a
webcam, we will take images as input. We use the
method provided by
OpenCV, cv2.VideoCapture(0) to access the
camera and set the capture object cap.read() will
read each frame and we store the image in a frame
variable.
 Detect Face in the Image and Create a Region of
Interest (ROI):OpenCV algorithm for object
detection takes grey images in the input.
face_utils.FACIAL_LANDMARKS_68_IDXS[“EYE_L/
R"] is used to define eyes from the Model itself.
Figure 2. Eye Detection.
 Detect the eyes from ROI and feed it to the
classifier: The same procedure to detect faces is
used to detect eyes. We can use an OpenCV
Cascade Classifier to detect a face and eye and
use it to get the face bounding box.
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 09 Issue: 04 | Apr 2022 www.irjet.net p-ISSN: 2395-0072
© 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 1098
Figure 3. Flow of Detection Process.
 Classifier will Categorize whether Eyes are Open
or Closed: The Classifier will detect the eye
aspect ratio to whether the eyes are open or not.
This is done by a simple Euclidean formula.
Calculate Score to Check whether Person is
Drowsy: The score is basically a value we will
use to determine how long the person has closed
his eyes. We are drawing the result on the
screen using cv2.putText() function which will
display real time status of the person.
RESULT AND DISCUSSION
In this project, there is no dataset training as the model
used for facial recognition is pre trained. The
4shape_predictor_68_face_landmarks.dat is used to
detect the face in a frame or image. The output is based
on status of the object created for the algorithm (i.e.,
driver’s eyes). The following result is generated as per
the positioning of the eyes:
Table I: Model Testing
Test
Case
Eye
Status
Eye-lid
Position
Result
Case 1
Not
detected
Open No
Alarm
Case 2
Detected Open No
Alarm
Case 3
Not
detected
Close No
Alarm
Case 4
Detected Close Alarm
Figure 4. Region of Interest (ROI) &
Euclidean Distance
According to the approach of the model, if the eye-lids
are closed for more than the pre-defined threshold value,
the model will start to generate alert message with
alarm. Subsequently, one of the different cases arises, the
result will be generated as per the above table.
The live testing of the model has shown the following
results:
Figure 5. Ideal detection of eye.
The above image shows the ideal positioning of the face
as well as the eyes. It defines the case in which the Eye
Status is Detected and the Eye-lid Position is Open. The
counter value is generated sidewise to the image frame
and when the eyes are closed for more than 20 (i.e., the
threshold value defined in the model), the alert message
along with the alarm. The Fig. 2 shows the alert
generation case as stated above.
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 09 Issue: 04 | Apr 2022 www.irjet.net p-ISSN: 2395-0072
© 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 1099
Figure 6. Detection and Alert Generation.
CONCLUSION
The Drowsiness Detection Model is competent of
detecting the sleepiness by keeping track of the eye’s
movement of the driver. The inputs are obtained from
the facial detection algorithm which is pre trained by the
Dlib model of facial recognition. The model deals with
the eye’s aspect ratio to detect the region of interest. The
eye’s aspect ratio is calculated using the EAR function.
The alert is generated if the value of the detection
counter exceeds the threshold value defines inside the
driver code. The main focus for developing this project is
to reduce the number of accidents which occur due to
the sleepiness of the drivers.
FUTURE SCOPE
The correctness of this model is hugely dependent on the
quality of camera. The quality of detection degrades if
the driver’s eyes are not clearly visible for the detection.
It can happen because of the Sunglasses or spectacles
having light reflection or any other kind of obstacles
between the eyes and the camera. Also, if the driver is
not facing the camera properly, the accuracy is
compromised.
REFERENCES
[1]. Mahek Jain, Bhavya Bhagerathi, Sowmyarani C N,
“Driver Drowsiness Detection System Using Computer
Vision”, International Journal of Engineering and
Advanced Technology (IJEAT), ISSN: 2249-8958
(Online), Volume – 11 Issue – 1, October 2021.
[2]. Chris Schwarz, John Gaspar, Thomas Miller, Reza
Yousefian, “The Detection of Drowsiness using a Driver
Monitoring System (2019)”, Traffic Injury Prevention,
2019, Volume 20, No. SUP1, S157-S161.
[3]. Eddie E. Galarza, Fabricio D. Egas, Franklin M. Silva,
Paola M. Velasco, Eddie D. Galarza, “Real-time Driver
Drowsiness Detection based on Driver’s Face Image
Behavior using a System of Computer Interaction
Implemented in a Smartphone (2018)”, Universidad de
las Fuerzas Armadas –ESPE, Sangolquí, Ecuador.
[4]. Shape_predictor_68_face_landmarks.dat, is a tool
that takes in an image containing some object and
outputs a set of points location that define the pose of
the object. It is also used in detecting the face in a frame
or image.
BIOGRAPHIES
Nishant Prajapati –He is
currently student of B. Tech third
year, Department of Computer
Science, Rameshwaram Institute of
technology & Management,
Lucknow, India. And working on
Drowsiness Detection Model.
Yash Srivastav –He is currently
student of B. Tech third year,
Department of Computer Science,
Rameshwaram Institute of
Technology & Management,
Lucknow, India. And working on
Drowsiness Detection Model.
Apoorva Mishra –She is
currently student of B. Tech third
year, Department of Computer
Science, Babu Banarasi Das
Engineering College, Lucknow,
India. And working on Drowsiness
Detection Model.
Shyam Dwivedi – He is
currently working as an Assistant
Professor and Head of Department
in Rameshwaram Institute of
Technology & Management,
Lucknow, India. He is M. Tech –
2012 BIT Mesra, Ranchi, he has a
teaching experience of 10 years
and 1-year TCS Industrial
experience.
Brajesh Mishra - He is
currently working as an Assistant
Professor in Rameshwaram
Institute of Technology &
Management, Lucknow, India. He is
M. Tech (ENV) IET 2011 and M.
Tech (CSE) Integral University
2015 and pursuing PhD (CSE)
Rama University.

More Related Content

Similar to 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 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
 
IRJET- Driver Drowsiness Detection System using Computer Vision
IRJET- Driver Drowsiness Detection System using Computer VisionIRJET- Driver Drowsiness Detection System using Computer Vision
IRJET- Driver Drowsiness Detection System using Computer Vision
IRJET Journal
 
Human Driver’s Drowsiness Detection System
Human Driver’s Drowsiness Detection SystemHuman Driver’s Drowsiness Detection System
Human Driver’s Drowsiness Detection System
IRJET Journal
 
DROWSINESS DETECTION SYSTEM USING MACHINE LEARNING
DROWSINESS DETECTION SYSTEM USING MACHINE LEARNINGDROWSINESS DETECTION SYSTEM USING MACHINE LEARNING
DROWSINESS DETECTION SYSTEM USING MACHINE LEARNING
NIET Journal of Engineering & Technology (NIETJET)
 
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 Journal
 
IRJET- Free & Generic Facial Attendance System using Android
IRJET- Free & Generic Facial Attendance System using AndroidIRJET- Free & Generic Facial Attendance System using Android
IRJET- Free & Generic Facial Attendance System using Android
IRJET 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 & IP
IRJET Journal
 
Face Recognition Based Payment Processing System
Face Recognition Based Payment Processing SystemFace Recognition Based Payment Processing System
Face Recognition Based Payment Processing System
IRJET Journal
 
IRJET- Robust Visual Analysis of Eye State
IRJET-  	  Robust Visual Analysis of Eye StateIRJET-  	  Robust Visual Analysis of Eye State
IRJET- Robust Visual Analysis of Eye State
IRJET Journal
 
IRJET- Face Detection and Tracking Algorithm using Open CV with Raspberry Pi
IRJET- Face Detection and Tracking Algorithm using Open CV with Raspberry PiIRJET- Face Detection and Tracking Algorithm using Open CV with Raspberry Pi
IRJET- Face Detection and Tracking Algorithm using Open CV with Raspberry Pi
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 System
IRJET Journal
 
Real Time Moving Object Detection for Day-Night Surveillance using AI
Real Time Moving Object Detection for Day-Night Surveillance using AIReal Time Moving Object Detection for Day-Night Surveillance using AI
Real Time Moving Object Detection for Day-Night Surveillance using AI
IRJET Journal
 
Review Paper on Attendance Capturing System using Face Recognition
Review Paper on Attendance Capturing System using Face RecognitionReview Paper on Attendance Capturing System using Face Recognition
Review Paper on Attendance Capturing System using Face Recognition
IRJET Journal
 
IRJET- Build and Integrate Perception Features on Freescale Platform
IRJET-  	  Build and Integrate Perception Features on Freescale PlatformIRJET-  	  Build and Integrate Perception Features on Freescale Platform
IRJET- Build and Integrate Perception Features on Freescale Platform
IRJET Journal
 
A VISUAL ATTENDANCE SYSTEM USING FACE RECOGNITION
A VISUAL ATTENDANCE SYSTEM USING FACE RECOGNITIONA VISUAL ATTENDANCE SYSTEM USING FACE RECOGNITION
A VISUAL ATTENDANCE SYSTEM USING FACE RECOGNITION
IRJET Journal
 
Next generation engine immobiliser
Next generation engine immobiliserNext generation engine immobiliser
Next generation engine immobiliser
eSAT Journals
 
Next generation engine immobiliser
Next generation engine immobiliserNext generation engine immobiliser
Next generation engine immobiliser
eSAT Publishing House
 
Self Driving Car
Self Driving CarSelf Driving Car
Self Driving Car
IRJET Journal
 
IRJET - Smart Assistance System for Drivers
IRJET - Smart Assistance System for DriversIRJET - Smart Assistance System for Drivers
IRJET - Smart Assistance System for Drivers
IRJET Journal
 

Similar to DROWSINESS DETECTION MODEL USING PYTHON (20)

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- 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- Driver Drowsiness Detection System using Computer Vision
IRJET- Driver Drowsiness Detection System using Computer VisionIRJET- Driver Drowsiness Detection System using Computer Vision
IRJET- Driver Drowsiness Detection System using Computer Vision
 
Human Driver’s Drowsiness Detection System
Human Driver’s Drowsiness Detection SystemHuman Driver’s Drowsiness Detection System
Human Driver’s Drowsiness Detection System
 
DROWSINESS DETECTION SYSTEM USING MACHINE LEARNING
DROWSINESS DETECTION SYSTEM USING MACHINE LEARNINGDROWSINESS DETECTION SYSTEM USING MACHINE LEARNING
DROWSINESS DETECTION SYSTEM USING MACHINE LEARNING
 
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- Free & Generic Facial Attendance System using Android
IRJET- Free & Generic Facial Attendance System using AndroidIRJET- Free & Generic Facial Attendance System using Android
IRJET- Free & Generic Facial Attendance System using Android
 
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
 
Face Recognition Based Payment Processing System
Face Recognition Based Payment Processing SystemFace Recognition Based Payment Processing System
Face Recognition Based Payment Processing System
 
IRJET- Robust Visual Analysis of Eye State
IRJET-  	  Robust Visual Analysis of Eye StateIRJET-  	  Robust Visual Analysis of Eye State
IRJET- Robust Visual Analysis of Eye State
 
IRJET- Face Detection and Tracking Algorithm using Open CV with Raspberry Pi
IRJET- Face Detection and Tracking Algorithm using Open CV with Raspberry PiIRJET- Face Detection and Tracking Algorithm using Open CV with Raspberry Pi
IRJET- Face Detection and Tracking Algorithm using Open CV with Raspberry Pi
 
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
 
Real Time Moving Object Detection for Day-Night Surveillance using AI
Real Time Moving Object Detection for Day-Night Surveillance using AIReal Time Moving Object Detection for Day-Night Surveillance using AI
Real Time Moving Object Detection for Day-Night Surveillance using AI
 
Review Paper on Attendance Capturing System using Face Recognition
Review Paper on Attendance Capturing System using Face RecognitionReview Paper on Attendance Capturing System using Face Recognition
Review Paper on Attendance Capturing System using Face Recognition
 
IRJET- Build and Integrate Perception Features on Freescale Platform
IRJET-  	  Build and Integrate Perception Features on Freescale PlatformIRJET-  	  Build and Integrate Perception Features on Freescale Platform
IRJET- Build and Integrate Perception Features on Freescale Platform
 
A VISUAL ATTENDANCE SYSTEM USING FACE RECOGNITION
A VISUAL ATTENDANCE SYSTEM USING FACE RECOGNITIONA VISUAL ATTENDANCE SYSTEM USING FACE RECOGNITION
A VISUAL ATTENDANCE SYSTEM USING FACE RECOGNITION
 
Next generation engine immobiliser
Next generation engine immobiliserNext generation engine immobiliser
Next generation engine immobiliser
 
Next generation engine immobiliser
Next generation engine immobiliserNext generation engine immobiliser
Next generation engine immobiliser
 
Self Driving Car
Self Driving CarSelf Driving Car
Self Driving Car
 
IRJET - Smart Assistance System for Drivers
IRJET - Smart Assistance System for DriversIRJET - Smart Assistance System for Drivers
IRJET - Smart Assistance System for Drivers
 

More from IRJET Journal

TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...
TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...
TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...
IRJET Journal
 
STUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURE
STUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURESTUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURE
STUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURE
IRJET Journal
 
A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...
A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...
A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...
IRJET Journal
 
Effect of Camber and Angles of Attack on Airfoil Characteristics
Effect of Camber and Angles of Attack on Airfoil CharacteristicsEffect of Camber and Angles of Attack on Airfoil Characteristics
Effect of Camber and Angles of Attack on Airfoil Characteristics
IRJET Journal
 
A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...
A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...
A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...
IRJET Journal
 
Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...
Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...
Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...
IRJET Journal
 
Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...
Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...
Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...
IRJET Journal
 
A Review of “Seismic Response of RC Structures Having Plan and Vertical Irreg...
A Review of “Seismic Response of RC Structures Having Plan and Vertical Irreg...A Review of “Seismic Response of RC Structures Having Plan and Vertical Irreg...
A Review of “Seismic Response of RC Structures Having Plan and Vertical Irreg...
IRJET Journal
 
A REVIEW ON MACHINE LEARNING IN ADAS
A REVIEW ON MACHINE LEARNING IN ADASA REVIEW ON MACHINE LEARNING IN ADAS
A REVIEW ON MACHINE LEARNING IN ADAS
IRJET Journal
 
Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...
Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...
Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...
IRJET Journal
 
P.E.B. Framed Structure Design and Analysis Using STAAD Pro
P.E.B. Framed Structure Design and Analysis Using STAAD ProP.E.B. Framed Structure Design and Analysis Using STAAD Pro
P.E.B. Framed Structure Design and Analysis Using STAAD Pro
IRJET Journal
 
A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...
A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...
A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...
IRJET Journal
 
Survey Paper on Cloud-Based Secured Healthcare System
Survey Paper on Cloud-Based Secured Healthcare SystemSurvey Paper on Cloud-Based Secured Healthcare System
Survey Paper on Cloud-Based Secured Healthcare System
IRJET Journal
 
Review on studies and research on widening of existing concrete bridges
Review on studies and research on widening of existing concrete bridgesReview on studies and research on widening of existing concrete bridges
Review on studies and research on widening of existing concrete bridges
IRJET Journal
 
React based fullstack edtech web application
React based fullstack edtech web applicationReact based fullstack edtech web application
React based fullstack edtech web application
IRJET Journal
 
A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...
A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...
A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...
IRJET Journal
 
A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.
A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.
A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.
IRJET Journal
 
Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...
Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...
Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...
IRJET Journal
 
Multistoried and Multi Bay Steel Building Frame by using Seismic Design
Multistoried and Multi Bay Steel Building Frame by using Seismic DesignMultistoried and Multi Bay Steel Building Frame by using Seismic Design
Multistoried and Multi Bay Steel Building Frame by using Seismic Design
IRJET Journal
 
Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...
Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...
Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...
IRJET Journal
 

More from IRJET Journal (20)

TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...
TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...
TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...
 
STUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURE
STUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURESTUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURE
STUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURE
 
A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...
A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...
A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...
 
Effect of Camber and Angles of Attack on Airfoil Characteristics
Effect of Camber and Angles of Attack on Airfoil CharacteristicsEffect of Camber and Angles of Attack on Airfoil Characteristics
Effect of Camber and Angles of Attack on Airfoil Characteristics
 
A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...
A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...
A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...
 
Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...
Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...
Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...
 
Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...
Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...
Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...
 
A Review of “Seismic Response of RC Structures Having Plan and Vertical Irreg...
A Review of “Seismic Response of RC Structures Having Plan and Vertical Irreg...A Review of “Seismic Response of RC Structures Having Plan and Vertical Irreg...
A Review of “Seismic Response of RC Structures Having Plan and Vertical Irreg...
 
A REVIEW ON MACHINE LEARNING IN ADAS
A REVIEW ON MACHINE LEARNING IN ADASA REVIEW ON MACHINE LEARNING IN ADAS
A REVIEW ON MACHINE LEARNING IN ADAS
 
Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...
Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...
Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...
 
P.E.B. Framed Structure Design and Analysis Using STAAD Pro
P.E.B. Framed Structure Design and Analysis Using STAAD ProP.E.B. Framed Structure Design and Analysis Using STAAD Pro
P.E.B. Framed Structure Design and Analysis Using STAAD Pro
 
A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...
A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...
A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...
 
Survey Paper on Cloud-Based Secured Healthcare System
Survey Paper on Cloud-Based Secured Healthcare SystemSurvey Paper on Cloud-Based Secured Healthcare System
Survey Paper on Cloud-Based Secured Healthcare System
 
Review on studies and research on widening of existing concrete bridges
Review on studies and research on widening of existing concrete bridgesReview on studies and research on widening of existing concrete bridges
Review on studies and research on widening of existing concrete bridges
 
React based fullstack edtech web application
React based fullstack edtech web applicationReact based fullstack edtech web application
React based fullstack edtech web application
 
A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...
A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...
A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...
 
A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.
A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.
A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.
 
Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...
Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...
Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...
 
Multistoried and Multi Bay Steel Building Frame by using Seismic Design
Multistoried and Multi Bay Steel Building Frame by using Seismic DesignMultistoried and Multi Bay Steel Building Frame by using Seismic Design
Multistoried and Multi Bay Steel Building Frame by using Seismic Design
 
Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...
Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...
Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...
 

Recently uploaded

Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
University of Maribor
 
Wearable antenna for antenna applications
Wearable antenna for antenna applicationsWearable antenna for antenna applications
Wearable antenna for antenna applications
Madhumitha Jayaram
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
camseq
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
SyedAbiiAzazi1
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
gerogepatton
 
bank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdfbank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdf
Divyam548318
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
jpsjournal1
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
wisnuprabawa3
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
drwaing
 
Low power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniquesLow power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniques
nooriasukmaningtyas
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
JamalHussainArman
 
sieving analysis and results interpretation
sieving analysis and results interpretationsieving analysis and results interpretation
sieving analysis and results interpretation
ssuser36d3051
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
RadiNasr
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
rpskprasana
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
Mukeshwaran Balu
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 

Recently uploaded (20)

Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
 
Wearable antenna for antenna applications
Wearable antenna for antenna applicationsWearable antenna for antenna applications
Wearable antenna for antenna applications
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
 
bank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdfbank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdf
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
 
Low power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniquesLow power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniques
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
 
sieving analysis and results interpretation
sieving analysis and results interpretationsieving analysis and results interpretation
sieving analysis and results interpretation
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 

DROWSINESS DETECTION MODEL USING PYTHON

  • 1. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 09 Issue: 04 | Apr 2022 www.irjet.net p-ISSN: 2395-0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 1096 DROWSINESS DETECTION MODEL USING PYTHON 1,2 Student of B. Tech Third Year, Department of Computer Science, Rameshwaram Institute of Technology & Management, Lucknow, India 3Student of B. Tech Third Year, Department of Computer Science, Babu Banarasi Das Engineering College, Lucknow, India 4 Assistant Professor & Head of Department Computer Science, Rameshwaram Institute of Technology & Management, Lucknow, India 5 Assistant Professor, Department Computer Science, Rameshwaram Institute of Technology & Management, Lucknow, India --------------------------------------------------------***------------------------------------------------------------- Abstract: In today’s time, the accidents due to the sleepiness of the driver are increasing heavily. Due the tiredness or fatigue of all the work, most of the drivers feel low in terms of energy. As a result, they tend to feel sleepy during the drive time. Because of these fatigues, the chances of accidents to happen increase immensely. So, the aim of this project is to design a model such that it detects the drowsiness of the driver and generate alarm whenever the driver feels drowsy or sleepy. In most of the high-end cars, these models are integrated within itself but for the cars which are used by general public lacks this technology. In this project, we are using Python as an implementation language. This project we are focusing on creating an affordable model for the drowsiness detection which will be efficient as well as cheap in terms of cost and availability. The focus of this project is heavily based on the facial detection with the ROI of both eyes instead of the whole face. Key words: Drowsiness, Python, ROI (Region of Interest). INTRODUCTION The most common type accident in today’s world is the accident occurring due to the sleepiness of the driver irrespective of day and night. The death rate of accidents due to this has spiked to 21% over the world. This shows how serious this problem is. The Drowsiness Detection is a safe technology that can prevent accidents that are caused by drivers who fall asleep while driving. The objective of this python project is to build a Drowsiness Detection Model which will detect that a driver’s eyes are closed for a few seconds. The implementation of this project uses a pre-built model of face landmark for easy deployment on edge of computationally less efficient devices. The project has a direct application in the automotive sector. This paper is aimed at designing a Drowsiness Detection Model, which takes the driver’s eyes as ROI (Region of Interest) and continuously senses (in real-time) the eye lid to detect whether the driver is feeling sleepy or not. If the driver feels sleepy, the model will generate Sound Alarm to bring the driver back to his/her conscious state. This model is also effective even when the driver is wearing a spectacle. The number of accidents show just how much grave this matter is and that’s why we chose to develop this project that is intended to reduce these accidents. LITERATURE REVIEW The survey has been done which consists of present research and technologies on this Drowsiness Detection. The idea of this survey is to understand the field of study, and also to understand where we should be putting our efforts while designing this project. [1]Driver Drowsiness Detection System Using Computer Vision (2021), this paper includes to detect a driver’s drowsiness based on eyelid movement and yawning and is reliable to give appropriate voice alerts in real-time. [2]The Detection of Drowsiness using a Driver Monitoring System (2019), research has established the ability to detect drowsiness with various kind of sensors. The author studied drowsy driving in a high-fidelity driving simulator and evaluated the ability of an automotive production ready Driver Monitoring System to detect drowsy driving. Additionally, this feature was compared to and combined with signals from vehicles-based sensors. [3]Real-time Driver Drowsiness Detection based on Driver’s Face Image Behavior using a System of Computer Interaction Implemented in a Smartphone (2018), this study has shown promising result in applying the vehicular driver surveillance based on Artificial Vision Techniques and implemented in a smart-phone. The implemented system allows an efficient detection of the indicators that appear in drowsiness, as long as the measurements are carried out under the established conditions. The correct functioning of the system depends on these conditions. PROJECT OBJECTIVES The principal objective is to design or develop a Drowsiness Detection Model which detects the Nishant Prajapati1, Yash Srivastav2, Apoorva Mishra3, Shyam Dwivedi4, Brajesh Mishra5
  • 2. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 09 Issue: 04 | Apr 2022 www.irjet.net p-ISSN: 2395-0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 1097 eye movements of the driver to acknowledge the sleepy pattern and generate the Sound Alarm whenever the driver feels drowsy. The secondary objective of this project is to make the model platform independent, computationally less efficient devices and cheap for the low-end spec platform. Also, to make detection algorithm accurate in terms of sensing the face. RESEARCH METHODOLOGY In the past, the facial detection was not prominent and if it was carried out, it was not accurate. So, the previous model of drowsiness detection was of average performance. At that time multiple problems were loaded these systems, one of the most important was the accuracy of the facial detection algorithm. Because of which the performance of the system was heavily compromised. So now in this model, the facial detection process is carried out by the facial detection algorithm, [4]shape_predictor_68_face_landmarks.dat which is pre-trained by the Dlib model for face landmark detection. Dlib has excellent Face Detection and Face Landmarks algorithms built in. Also, it provides pre- trained model for facial landmark detection. The ROI (Region of Interest), that is the eyes of driver is created using the face_utils of the imutils module of Python. The Euclidean distance for eye ratio is calculated using the distance of the scipy.spatial module. The alarm sound is carried out by the pygame module which is initiated when driver is detected to be drowsy or sleepy. SOFTWARE REQUIREMENTS SPECIFICATION The presented model’s performance will be based on quality of the camera. The Graphical User Interface is provided so the user can easily interact with model by just clicking on the interface provided. The front end is made user-friendly so that it isn’t too complex for the non-technical user. The model requires a web-cam (camera) & a speaker as its basic entity. The complete model is built on Python 3 and is implemented along with the necessary peripheral devices. DROWSINESS DETECTION DESIGN System Architecture During the driving of heavy vehicle (including car), this model uses web-cam to take live video feed as input. This feed will be used as an input for the detection of drowsiness in the driver. The feed will be processed by the OpenCV module and with the help of Dlib the landmarks are established, which in this case are eyes. The calculation of eye aspect ratio is calculated by the Euclidean distance formula which is used to measure the eye closure and generate warning if the value is decreased than the defined threshold value and ultimately the alarm will set off. Figure 1. Flow chart of DDM. Detailed Design Take Image as Input from a Camera: With a webcam, we will take images as input. We use the method provided by OpenCV, cv2.VideoCapture(0) to access the camera and set the capture object cap.read() will read each frame and we store the image in a frame variable.  Detect Face in the Image and Create a Region of Interest (ROI):OpenCV algorithm for object detection takes grey images in the input. face_utils.FACIAL_LANDMARKS_68_IDXS[“EYE_L/ R"] is used to define eyes from the Model itself. Figure 2. Eye Detection.  Detect the eyes from ROI and feed it to the classifier: The same procedure to detect faces is used to detect eyes. We can use an OpenCV Cascade Classifier to detect a face and eye and use it to get the face bounding box.
  • 3. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 09 Issue: 04 | Apr 2022 www.irjet.net p-ISSN: 2395-0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 1098 Figure 3. Flow of Detection Process.  Classifier will Categorize whether Eyes are Open or Closed: The Classifier will detect the eye aspect ratio to whether the eyes are open or not. This is done by a simple Euclidean formula. Calculate Score to Check whether Person is Drowsy: The score is basically a value we will use to determine how long the person has closed his eyes. We are drawing the result on the screen using cv2.putText() function which will display real time status of the person. RESULT AND DISCUSSION In this project, there is no dataset training as the model used for facial recognition is pre trained. The 4shape_predictor_68_face_landmarks.dat is used to detect the face in a frame or image. The output is based on status of the object created for the algorithm (i.e., driver’s eyes). The following result is generated as per the positioning of the eyes: Table I: Model Testing Test Case Eye Status Eye-lid Position Result Case 1 Not detected Open No Alarm Case 2 Detected Open No Alarm Case 3 Not detected Close No Alarm Case 4 Detected Close Alarm Figure 4. Region of Interest (ROI) & Euclidean Distance According to the approach of the model, if the eye-lids are closed for more than the pre-defined threshold value, the model will start to generate alert message with alarm. Subsequently, one of the different cases arises, the result will be generated as per the above table. The live testing of the model has shown the following results: Figure 5. Ideal detection of eye. The above image shows the ideal positioning of the face as well as the eyes. It defines the case in which the Eye Status is Detected and the Eye-lid Position is Open. The counter value is generated sidewise to the image frame and when the eyes are closed for more than 20 (i.e., the threshold value defined in the model), the alert message along with the alarm. The Fig. 2 shows the alert generation case as stated above.
  • 4. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 09 Issue: 04 | Apr 2022 www.irjet.net p-ISSN: 2395-0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 1099 Figure 6. Detection and Alert Generation. CONCLUSION The Drowsiness Detection Model is competent of detecting the sleepiness by keeping track of the eye’s movement of the driver. The inputs are obtained from the facial detection algorithm which is pre trained by the Dlib model of facial recognition. The model deals with the eye’s aspect ratio to detect the region of interest. The eye’s aspect ratio is calculated using the EAR function. The alert is generated if the value of the detection counter exceeds the threshold value defines inside the driver code. The main focus for developing this project is to reduce the number of accidents which occur due to the sleepiness of the drivers. FUTURE SCOPE The correctness of this model is hugely dependent on the quality of camera. The quality of detection degrades if the driver’s eyes are not clearly visible for the detection. It can happen because of the Sunglasses or spectacles having light reflection or any other kind of obstacles between the eyes and the camera. Also, if the driver is not facing the camera properly, the accuracy is compromised. REFERENCES [1]. Mahek Jain, Bhavya Bhagerathi, Sowmyarani C N, “Driver Drowsiness Detection System Using Computer Vision”, International Journal of Engineering and Advanced Technology (IJEAT), ISSN: 2249-8958 (Online), Volume – 11 Issue – 1, October 2021. [2]. Chris Schwarz, John Gaspar, Thomas Miller, Reza Yousefian, “The Detection of Drowsiness using a Driver Monitoring System (2019)”, Traffic Injury Prevention, 2019, Volume 20, No. SUP1, S157-S161. [3]. Eddie E. Galarza, Fabricio D. Egas, Franklin M. Silva, Paola M. Velasco, Eddie D. Galarza, “Real-time Driver Drowsiness Detection based on Driver’s Face Image Behavior using a System of Computer Interaction Implemented in a Smartphone (2018)”, Universidad de las Fuerzas Armadas –ESPE, Sangolquí, Ecuador. [4]. Shape_predictor_68_face_landmarks.dat, is a tool that takes in an image containing some object and outputs a set of points location that define the pose of the object. It is also used in detecting the face in a frame or image. BIOGRAPHIES Nishant Prajapati –He is currently student of B. Tech third year, Department of Computer Science, Rameshwaram Institute of technology & Management, Lucknow, India. And working on Drowsiness Detection Model. Yash Srivastav –He is currently student of B. Tech third year, Department of Computer Science, Rameshwaram Institute of Technology & Management, Lucknow, India. And working on Drowsiness Detection Model. Apoorva Mishra –She is currently student of B. Tech third year, Department of Computer Science, Babu Banarasi Das Engineering College, Lucknow, India. And working on Drowsiness Detection Model. Shyam Dwivedi – He is currently working as an Assistant Professor and Head of Department in Rameshwaram Institute of Technology & Management, Lucknow, India. He is M. Tech – 2012 BIT Mesra, Ranchi, he has a teaching experience of 10 years and 1-year TCS Industrial experience. Brajesh Mishra - He is currently working as an Assistant Professor in Rameshwaram Institute of Technology & Management, Lucknow, India. He is M. Tech (ENV) IET 2011 and M. Tech (CSE) Integral University 2015 and pursuing PhD (CSE) Rama University.