NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Various Fixes (#22376)
Nicolas Mowen59fc8449edd0
diff --git a/frigate/data_processing/post/review_descriptions.py b/frigate/data_processing/post/review_descriptions.pyindex 0a2754468f..9949d766ca 100644--- a/frigate/data_processing/post/review_descriptions.py+++ b/frigate/data_processing/post/review_descriptions.py@@ -463,6 +463,13 @@ class ReviewDescriptionProcessor(PostProcessorApi):thumbs = []for idx, thumb_path in enumerate(frame_paths):thumb_data = cv2.imread(thumb_path)++ if thumb_data is None:+ logger.warning(+ "Could not read preview frame at %s, skipping", thumb_path+ )+ continue+ret, jpg = cv2.imencode(".jpg", thumb_data, [int(cv2.IMWRITE_JPEG_QUALITY), 100])diff --git a/frigate/video.py b/frigate/video.pyindex 1128445434..38a3974041 100755--- a/frigate/video.py+++ b/frigate/video.py@@ -436,7 +436,7 @@ class CameraWatchdog(threading.Thread):for role in p["roles"]:self.requestor.send_data(- f"{self.config.name}/status/{role}", "offline"+ f"{self.config.name}/status/{role.value}", "offline")continue@@ -451,7 +451,7 @@ class CameraWatchdog(threading.Thread):for role in p["roles"]:self.requestor.send_data(- f"{self.config.name}/status/{role}", "offline"+ f"{self.config.name}/status/{role.value}", "offline")p["logpipe"].dump()