Skip to content

Latest commit

 

History

History
23 lines (10 loc) · 456 Bytes

README.md

File metadata and controls

23 lines (10 loc) · 456 Bytes

Drowsiness-Detection

This is a cool OpenCV project which detects the drowsiness of your eye. (Based on the project by Adrian)

Firstly Download this dependence from https://drive.google.com/file/d/1J9tE-oJfjosT7guCokkFA9v3AAKX4Fwc/view?usp=sharing and add it to the working folder.

Requirements

dlib

cv2 (3.0+)

playsound

argparse

Usage

python detect_drowsiness.py --shape-predictor shape_predictor_68_face_landmarks.dat --alarm alarm.wav