first working version, single region and motion detection disabled

This commit is contained in:
blakeblackshear
2019-03-17 09:03:52 -05:00
parent de9c3f4d74
commit 8bae05cfe2
6 changed files with 65 additions and 72 deletions

View File

@@ -78,7 +78,7 @@ class FrameTracker(threading.Thread):
# lock and make a copy of the frame
with self.frame_lock:
frame = self.shared_frame.copy().astype('uint8')
frame = self.shared_frame.copy()
frame_time = self.frame_time.value
# add the frame to recent frames