diff --git a/README.md b/README.md index cb49972..ca0d3c6 100644 --- a/README.md +++ b/README.md @@ -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. + diff --git a/face_and_eye_detector_webcam_video.py b/face_and_eye_detector_webcam_video.py index 65d0622..8964003 100644 --- a/face_and_eye_detector_webcam_video.py +++ b/face_and_eye_detector_webcam_video.py @@ -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