Compare commits

..

No commits in common. "e2e45540317116ae6b38ad88fc213070d6944f02" and "fc943644fc451b2d6143db5d0b8373c5fb0a651f" have entirely different histories.

1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ def recognize_face(
# Seems this is caused when someone steps into frame and their face is detected but not recognized
except IndexError:
print("Face present but not recognized")
continue
return None
# If the parent name is the same as the path to the database, then set label to the image name instead of the parent name
if path_to_image.parent == Path(path_to_directory):
label = path_to_image.name