init variables on camera state

This commit is contained in:
Blake Blackshear 2021-01-12 07:00:08 -06:00
parent 840f046572
commit 25e3fe8eab

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: [])