Add more debug
This commit is contained in:
parent
660db24dec
commit
42a06079c5
1 changed files with 1 additions and 0 deletions
|
@ -95,6 +95,7 @@ class image_classifier:
|
|||
try:
|
||||
image = face_recognition.load_image_file(file)
|
||||
encodings = face_recognition.face_encodings(image)
|
||||
self._log.debug(f"{len(encodings)} found")
|
||||
for known_person in self.known_people:
|
||||
if known_person['encoding'] in encodings:
|
||||
names.append(known_person['name'])
|
||||
|
|
Loading…
Reference in a new issue