diff --git a/hedgehogbox.py b/hedgehogbox.py index 98084f2..0f29075 100644 --- a/hedgehogbox.py +++ b/hedgehogbox.py @@ -3,6 +3,7 @@ from pathlib import Path import cv2 import imutils +import time def main(): @@ -47,6 +48,7 @@ def main(): # exit if 's' key is pressed if cv2.waitKey(1) & 0xFF == ord('s'): break + time.sleep(0.03) else: print("Could not read frame!") break