Skip to content

GunjanBhanwal/DriveAlert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Drowsiness Detection and Sleep Prevention System

This project detects drowsiness in real-time using a webcam and triggers an alarm to prevent accidents.

Features

  • Detects drowsiness based on eye blink patterns.
  • Identifies yawning based on mouth movements.
  • Plays an alarm and sends an email alert for prolonged drowsiness.

Setup Instructions

  1. Clone the repository:

    git clone https://github.com/GunjanBhanwal/DriveAlert.git
    cd drowsiness-detection
    
  2. Install dependencies:

    pip install -r requirements.txt
    
  3. Download the model: Download shape_predictor_68_face_landmarks.dat from dlib. Extract it and place it in the data/ folder.

  4. Run the application:

    python src/main.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages