diff --git a/frigate/data_processing/common/license_plate/mixin.py b/frigate/data_processing/common/license_plate/mixin.py index 55cd002a2..ae070688a 100644 --- a/frigate/data_processing/common/license_plate/mixin.py +++ b/frigate/data_processing/common/license_plate/mixin.py @@ -1579,19 +1579,6 @@ class LicensePlateProcessingMixin: if object_id in self.camera_current_cars.get(camera, []): self.camera_current_cars[camera].remove(object_id) - if len(self.camera_current_cars[camera]) == 0: - self.requestor.send_data( - "tracked_object_update", - json.dumps( - { - "type": TrackedObjectUpdateTypesEnum.lpr, - "name": None, - "plate": None, - "camera": camera, - } - ), - ) - class CTCDecoder: """ diff --git a/frigate/data_processing/real_time/face.py b/frigate/data_processing/real_time/face.py index f6a25080e..940373d3b 100644 --- a/frigate/data_processing/real_time/face.py +++ b/frigate/data_processing/real_time/face.py @@ -444,18 +444,6 @@ class FaceRealTimeProcessor(RealTimeProcessorApi): if object_id in self.camera_current_people.get(camera, []): self.camera_current_people[camera].remove(object_id) - if len(self.camera_current_people[camera]) == 0: - self.requestor.send_data( - "tracked_object_update", - json.dumps( - { - "type": TrackedObjectUpdateTypesEnum.face, - "name": None, - "camera": camera, - } - ), - ) - def weighted_average( self, results_list: list[tuple[str, float, int]], max_weight: int = 4000 ):