We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 017a77b commit 905c293Copy full SHA for 905c293
face_recognition/cli.py
@@ -22,9 +22,9 @@ def scan_known_people(known_people_folder):
22
23
if len(encodings) == 0:
24
click.echo("WARNING: No faces found in {}. Ignoring file.".format(file))
25
-
26
- known_names.append(basename)
27
- known_face_encodings.append(encodings[0])
+ else:
+ known_names.append(basename)
+ known_face_encodings.append(encodings[0])
28
29
return known_names, known_face_encodings
30
0 commit comments