fix var name
This commit is contained in:
parent
2f256f51d7
commit
2a668b32c5
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ class image_classifier:
|
|||
with os.scandir(self.faces_directory) as faces_items:
|
||||
for entry in faces_items:
|
||||
if not entry.name.startswith('.') and entry.is_file():
|
||||
self._log.debug(f"Detecting people in known faces '{enrty.name}'...")
|
||||
self._log.debug(f"Detecting people in known faces '{entry.name}'...")
|
||||
person = dict()
|
||||
person['filename'] = face_recognition.load_image_file(self.faces_directory + os.sep + entry.name)
|
||||
person['name'] = os.path.splitext(self.faces_directory + os.sep + entry.name)[0]
|
||||
|
|
Loading…
Reference in a new issue