Driver Drowsiness Detection System using OpenCV | Drowsiness Detection System in Real-Time using OpenCV | Driver Drowsiness detection using OpenCV and Python | Drowsiness Detection using OpenCV & Machine Learning | Driver Drowsiness Detection System Using Python | Computer vision project | OpenCV Project
With this Python project, we will be making a driver drowsiness detection system. A countless number of people drive on the highway day and night.
Taxi drivers, bus drivers, truck drivers and people traveling long-distance suffer from lack of sleep.
Due to which it becomes very dangerous to drive when feeling sleepy.
The majority of accidents happen due to the drowsiness of the driver.
So, to prevent these accidents we will build a system using Python, OpenCV, and Dlib which will alert the driver when he feels sleepy.
Drowsiness detection is a safety technology that can prevent accidents that are caused by drivers who fell asleep while driving.
The objective of this intermediate Python project is to build a drowsiness detection system that will detect that a person’s eyes are closed for a few seconds.
This system will alert the driver when drowsiness is detected.
Download the Source Code for Driver Drowsiness Detection in Python
Please download the source code for the Project using the link: drive.google.com/drive/folder...
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
Summary
Hurray! We have successfully built the Driver Drowsiness detection and warning system in Python. In this, we learned the installation and use of OpenCV, Imutils, Scipy,
Pygame and dlib Librarys.
Hope you enjoyed building this project.
_______________________________________________________________________________________________________________________________________________________________
Other Python Projects:
GUI Based Scientific Calculator:- • Scientific GUI Calcula...
Face Detection using Python:- • Real time Face detecti...
GUI Based Music player:- • Learn How to Create an...
GUI Based RU-vid Video Downloader:- • Video
GUI Based Digital clock:- • Create a digital clock...
GUI Based Text Editor:- • Build a basic Text Edi...
Virtual Assistant:- • Build Iron Man Jarvis ...
QR Code Generator and Reader:- • Python Project QR Code...
________________________________________________________________________________________________________________________________________________________________
Connect with me:
Facebook:- / ak.kmr
Instagram:- / ak.kmr111
Email:- akshaydhiman685@gmail.com
_______________________________________________________________________________________________________________________________________________________________
Subscribe:- / @project_guru
#machinelearning #artificialintelligence #drowsiness #python #projectguru
6 янв 2023