Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 804 Bytes

README.md

File metadata and controls

39 lines (24 loc) · 804 Bytes

Drowsiness Detector

An application to detect drowsiness of drivers and alert them.

Requirements:

  • Python 3.6 +
  • Keras
  • OpenCV
  • imutils

Training the Model

Run -

    $ python3 model.py

The trained model is saved as 'eyeblink.hdf5'

Running the Application

Run -

    $ python3 drowsiness_detection.py

Working Example

Demo

Future Implementation

The application can be loaded into a raspberry pi and using its camera module it can be used in cars for detecting drowsiness in drivers. This could help in preventing many car accidents cause due to drowsiness while driving.