From 580e3e70ad32da2316a7ca3c195a1306d041f7e8 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Thu, 27 Mar 2025 06:46:30 -0600 Subject: [PATCH] Remove initial requirement for history --- frigate/data_processing/real_time/face.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/frigate/data_processing/real_time/face.py b/frigate/data_processing/real_time/face.py index e3ebff079..d3fbc83df 100644 --- a/frigate/data_processing/real_time/face.py +++ b/frigate/data_processing/real_time/face.py @@ -390,11 +390,6 @@ class FaceRealTimeProcessor(RealTimeProcessorApi): self.person_face_history.pop(object_id) def weighted_average_by_area(self, results_list: list[tuple[str, float, int]]): - min_faces = 1 if self.requires_face_detection else 3 - - if len(results_list) < min_faces: - return "unknown", 0.0 - score_count = {} weighted_scores = {} total_face_areas = {}