Skip to content

Drowsy Driver Detection- A real-time driver monitoring system that detects drowsiness and sleepiness using computer vision and triggers an alert to prevent accidents

Notifications You must be signed in to change notification settings

pavithra1112k/Drowsy-Driver-Detection-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 

Repository files navigation

😴 Drowsy Driver Detection System

A real-time driver monitoring system that detects drowsiness and sleepiness using computer vision and triggers an alert to prevent accidents! πŸš—βš οΈ

πŸ”Ή Key Features

πŸ‘€ Eye Blink Detection: Tracks eye landmarks using Dlib and OpenCV.

⏱ Real-time Monitoring: Continuously analyzes driver’s face through webcam.

πŸ”” Audio Alerts: Plays sound alerts for drowsy or sleeping states.

πŸ“Š Driver Status: Classifies driver as Active, Drowsy, or Sleeping with visual cues.

🎯 Accurate Detection: Uses blink ratio thresholds to detect fatigue reliably.

πŸ›  Tech Stack

  • Language: Python

  • Libraries: OpenCV, Dlib, NumPy, Imutils, SimpleAudio

  • Models: shape_predictor_68_face_landmarks.dat (facial landmarks)

πŸš€ How to Run

  • Clone this repository.

  • Install required packages: pip install opencv-python dlib imutils numpy simpleaudio

  • Download shape_predictor_68_face_landmarks.dat and place it in the project folder.

  • Run the script: python drowsy_driver_detection.py

  • Look into the webcam and see real-time status updates and audio alerts.

πŸ“š References

About

Drowsy Driver Detection- A real-time driver monitoring system that detects drowsiness and sleepiness using computer vision and triggers an alert to prevent accidents

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages