diff options
Diffstat (limited to 'face-detection/01_face_capture_dataset.py')
-rw-r--r-- | face-detection/01_face_capture_dataset.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/face-detection/01_face_capture_dataset.py b/face-detection/01_face_capture_dataset.py index 327264c..8836ce6 100644 --- a/face-detection/01_face_capture_dataset.py +++ b/face-detection/01_face_capture_dataset.py @@ -6,7 +6,7 @@ cam.set(4, 480) # set video height face_detector = cv2.CascadeClassifier('haarcascade_frontalface_default.xml') # For each person, enter one numeric face id face_id = input('\n----Enter User-id and press <return>----') -print("\n Initializing face capture. Look the camera and wait!") +print("\n [INFO] Initializing face capture. Look the camera and wait!") # Initialize individual sampling face count count = 0 while(True): @@ -25,6 +25,6 @@ while(True): elif count >= 30: # Take 30 face sample and stop video capture break # Do a bit of cleanup -print("\n Exiting Program and cleaning up stuff") +print("\n [INFO] Exiting Program and cleaning up stuff") cam.release() cv2.destroyAllWindows() |