Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,4 @@ Run script using:
python drowsiness_detect.py

The algorithm for Eye Aspect Ratio was taken from pyimagesearch.com blog, by Adrian RoseBrock.

2 changes: 1 addition & 1 deletion face_and_eye_detector_webcam_video.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

cv.imshow('Video', frame)

if(cv.waitKey(1) & 0xFF == ord('q')):
if(cv.waitKey(1) & 0xFF == ord('w')):
break

#Finally when video capture is over, release the video capture and destroyAllWindows
Expand Down