From 78432bcec67efa1e9dd61835dfcc5efa3c84d92c Mon Sep 17 00:00:00 2001 From: Vinu21si Date: Wed, 8 May 2024 19:15:08 +0530 Subject: [PATCH] the change in closing tab will make it easier to close with ease. --- README.md | 1 + face_and_eye_detector_webcam_video.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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