From 7e34097142e04bcba20831942d7ff6f5bcb872f5 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Sat, 25 Oct 2025 07:45:07 -0600 Subject: [PATCH] Don't classify objects that are ended --- frigate/data_processing/real_time/custom_classification.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frigate/data_processing/real_time/custom_classification.py b/frigate/data_processing/real_time/custom_classification.py index ac6387785..76422053d 100644 --- a/frigate/data_processing/real_time/custom_classification.py +++ b/frigate/data_processing/real_time/custom_classification.py @@ -284,6 +284,9 @@ class CustomObjectClassificationProcessor(RealTimeProcessorApi): if obj_data["label"] not in self.model_config.object_config.objects: return + if obj_data.get("end_time") is not None: + return + now = datetime.datetime.now().timestamp() x, y, x2, y2 = calculate_region( frame.shape,