init variables on camera state

This commit is contained in:
Blake Blackshear 2021-01-12 07:00:08 -06:00
parent dcb4255d7e
commit 3cba83f84b

View File

@ -252,6 +252,8 @@ class CameraState():
self._current_frame = np.zeros(self.camera_config.frame_shape_yuv, np.uint8)
self.current_frame_lock = threading.Lock()
self.current_frame_time = 0.0
self.motion_boxes = []
self.regions = []
self.previous_frame_id = None
self.callbacks = defaultdict(lambda: [])