0
0
Fork 0
mirror of https://github.com/boltgolt/howdy.git synced 2024-09-19 09:51:19 +02:00

speedup startup a bit

This commit is contained in:
dmig 2018-12-09 13:12:28 +07:00
parent 29c3a31a5b
commit 01e706fce6
No known key found for this signature in database
GPG key ID: A4A245B3AD37C4FC

View file

@ -75,7 +75,7 @@ if fh != -1:
# Capture a single frame so the camera becomes active
# This will let the camera adjust its light levels while we're importing for faster scanning
video_capture.read()
video_capture.grab()
# Note the time it took to open the camera
timings.append(time.time())