Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 743 Bytes

README.md

File metadata and controls

13 lines (7 loc) · 743 Bytes

Drowsy man detector

A computer vision system that can automatically detect driver drowsiness in a real-time video stream and then warning if the driver appears to be drowsy.

Based on Eye Aspect Ratio and Mouth Aspect Ratio to detect when the driver’s eyes are closed too long or yawns too often.

Using pre-trained Haar cascade for localizing faces and dlib’s shape predictor to detect landmarks on the face.

Because of using Eye Aspect Ratio and Mouth Aspect Ratio thresholds, the system need to be adjusted that thresholds to fit with each person.

Output examples

alt text alt text