mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Remove hardcoded face name
This commit is contained in:
parent
bdb0c137f3
commit
c0357342c1
@ -455,7 +455,7 @@ class EmbeddingMaintainer(threading.Thread):
|
|||||||
logger.debug("Not processing face due to error creating cropped image.")
|
logger.debug("Not processing face due to error creating cropped image.")
|
||||||
return
|
return
|
||||||
|
|
||||||
embedding = self.embeddings.embed_face("nick", webp.tobytes(), upsert=True)
|
embedding = self.embeddings.embed_face("unknown", webp.tobytes(), upsert=False)
|
||||||
res = self.face_classifier.classify_face(embedding)
|
res = self.face_classifier.classify_face(embedding)
|
||||||
|
|
||||||
if not res:
|
if not res:
|
||||||
|
Loading…
Reference in New Issue
Block a user