mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-07-26 13:47:03 +02:00
parent
19fc63e3af
commit
e94b24ec39
@ -125,3 +125,7 @@ This can happen for a few different reasons, but this is usually an indicator th
|
||||
### I see scores above the threshold in the train tab, but a sub label wasn't assigned?
|
||||
|
||||
The Frigate considers the recognition scores across all recognition attempts for each person object. The scores are continually weighted based on the area of the face, and a sub label will only be assigned to person if a person is confidently recognized consistently. This avoids cases where a single high confidence recognition would throw off the results.
|
||||
|
||||
### Can I use other face recognition software like DoubleTake at the same time as the built in face recognition?
|
||||
|
||||
No, using another face recognition service will interfere with Frigate's built in face recognition. When using double-take the sub_label feature must be disabled if the built in face recognition is also desired.
|
||||
|
@ -393,6 +393,9 @@ class FaceRealTimeProcessor(RealTimeProcessorApi):
|
||||
if score <= self.face_config.unknown_score:
|
||||
sub_label = "unknown"
|
||||
|
||||
if "-" in sub_label:
|
||||
sub_label = sub_label.replace("-", "_")
|
||||
|
||||
if self.config.face_recognition.save_attempts:
|
||||
# write face to library
|
||||
folder = os.path.join(FACE_DIR, "train")
|
||||
@ -460,6 +463,10 @@ class FaceRealTimeProcessor(RealTimeProcessorApi):
|
||||
if self.config.face_recognition.save_attempts:
|
||||
# write face to library
|
||||
folder = os.path.join(FACE_DIR, "train")
|
||||
|
||||
if "-" in sub_label:
|
||||
sub_label = sub_label.replace("-", "_")
|
||||
|
||||
file = os.path.join(
|
||||
folder, f"{event_id}-{timestamp}-{sub_label}-{score}.webp"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user