Driver Drowsiness & Yawn Detection System
Driver drowsiness detection is a car safety technology that monitors a driver's state of alertness to help prevent accidents. It is a safety technology that can prevent accidents that are caused by drivers who fell asleep while driving.
What you'll learn:
-
By acquiring this knowledge, you can contribute to the development of innovative solutions that enhance road safety and save lives.
Course content
-
Section
1Files
Introduction
A method for detecting drowsiness in drivers is developed by using a camera that point directly towards the drivers face and capture for the real time video. Once the video is captured, monitoring the face region and eyes in order to detect drowsy. The system able to monitoring eyes and determines whether the eyes are in an open position or closed state. In such a case when drowsiness is detected, a warning signal is issued to alert the driver.
About the Project
The Driver Drowsiness Detection System with OpenCV is a project that uses computer vision techniques to detect drowsiness in drivers. The system works by analyzing the driver's facial features, such as the eyes and mouth, to determine if they are showing signs of drowsiness.
• In this project, the system uses OpenCV's face detection algorithms to locate the driver's face and then tracks the eyes and mouth to determine if the driver is drowsy. The system uses machine learning
algorithms to classify the facial features and determine if the driver is exhibiting signs of drowsiness.
• Once the system detects drowsiness, it can alert the driver through a visual or audio warning.
LIBRARIES TO INSTALL
The requirement for this Python project is a webcam through which we will capture images. You need to have Python (3.6 version recommended) installed on your system, then using pip, you can install the necessary packages.
1. OpenCV - pip install opencv-python (Face and eye detection).
2. Imutils - pip install imutils (To get landmarks of eye).
3. Scipy - pip install scipy (To calculate distance between eye landmarks).
4. Pygame - pip install pygame (To play alarm sound).
5. Dlib - pip install dlib