NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Sub label snapshot (#17296)
Nicolas Mowen4e83237d4786
diff --git a/frigate/track/object_processing.py b/frigate/track/object_processing.pyindex b18ad97fa5..4593da5a4c 100644--- a/frigate/track/object_processing.py+++ b/frigate/track/object_processing.py@@ -172,6 +172,16 @@ class TrackedObjectProcessor(threading.Thread):retain=True,)+ if obj.obj_data.get("sub_label"):+ sub_label = obj.obj_data["sub_label"][0]++ if sub_label in self.config.model.all_attribute_logos:+ self.dispatcher.publish(+ f"{camera}/{sub_label}/snapshot",+ jpg_bytes,+ retain=True,+ )+def camera_activity(camera, activity):last_activity = self.camera_activity.get(camera)