NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Fix thumbnail failure (#13634)
Nicolas Mowen8be139d4d166
diff --git a/frigate/object_processing.py b/frigate/object_processing.pyindex 3616d6b503..330ba0e24a 100644--- a/frigate/object_processing.py+++ b/frigate/object_processing.py@@ -770,9 +770,15 @@ class CameraState:})- # if the object's thumbnail is not from the current frame- if obj.false_positive or obj.thumbnail_data["frame_time"] != frame_time:+ # if we don't have access to the current frame or+ # if the object's thumbnail is not from the current frame, skip+ if (+ current_frame is None+ or obj.false_positive+ or obj.thumbnail_data["frame_time"] != frame_time+ ):continue+if object_type in self.best_objects:current_best = self.best_objects[object_type]now = datetime.datetime.now().timestamp()