Changed sleep time value

This commit is contained in:
Endre Simo
2019-02-05 10:49:58 +02:00
parent ec271ca321
commit fc0d845689

View File

@@ -51,7 +51,7 @@ cap.set(cv2.CAP_PROP_FRAME_HEIGHT, 480)
# Changing the camera resolution introduce a short delay in the camera initialization. # Changing the camera resolution introduce a short delay in the camera initialization.
# For this reason we should delay the object detection process with a few milliseconds. # For this reason we should delay the object detection process with a few milliseconds.
time.sleep(0.3) time.sleep(0.2)
while(True): while(True):
ret, frame = cap.read() ret, frame = cap.read()