Fix reprocessing

This commit is contained in:
Nicolas Mowen 2025-03-28 10:41:10 -06:00
parent 18d10a6e5d
commit e9409e9070

View File

@ -379,6 +379,9 @@ class FaceRealTimeProcessor(RealTimeProcessorApi):
sub_label, score = res
if score < self.face_config.unknown_score:
sub_label = "unknown"
if self.config.face_recognition.save_attempts:
# write face to library
folder = os.path.join(FACE_DIR, "train")