From 4633e624fdc4e61928b8c7743d9bbd50c5d75a6a Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Sat, 22 Apr 2023 23:23:31 +0530 Subject: face-detection cleanup+Adding .gitignore --- face-detection/01_face_capture_dataset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'face-detection/01_face_capture_dataset.py') diff --git a/face-detection/01_face_capture_dataset.py b/face-detection/01_face_capture_dataset.py index 8836ce6..7860210 100644 --- a/face-detection/01_face_capture_dataset.py +++ b/face-detection/01_face_capture_dataset.py @@ -22,7 +22,7 @@ while(True): k = cv2.waitKey(100) & 0xff # Press 'ESC' for exiting video if k == 27: break - elif count >= 30: # Take 30 face sample and stop video capture + elif count >= 100: # Take 30 face sample and stop video capture break # Do a bit of cleanup print("\n [INFO] Exiting Program and cleaning up stuff") -- cgit v1.2.3