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,