Fix watchdog last_frame calculation

This commit is contained in:
Blake Blackshear
2020-02-23 07:55:16 -06:00
parent 956298128d
commit 1d2a41129c
2 changed files with 6 additions and 5 deletions

View File

@@ -34,7 +34,7 @@ class TrackedObjectProcessor(threading.Thread):
'best_objects': {},
'object_status': defaultdict(lambda: defaultdict(lambda: 'OFF')),
'tracked_objects': {},
'current_frame_time': datetime.datetime.now().timestamp()
'current_frame_time': None
})
def get_best(self, camera, label):