Skip to content

Commit 1265c40

Browse files
committed
Use csv format
1 parent 13a31cf commit 1265c40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

face_recognition/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ def test_image(image_to_check, known_names, known_face_encodings):
4747
result = face_recognition.compare_faces(known_face_encodings, unknown_encoding)
4848

4949
if True in result:
50-
[print("{}|{}".format(image_to_check, name)) for is_match, name in zip(result, known_names) if is_match]
50+
[print("{},{}".format(image_to_check, name)) for is_match, name in zip(result, known_names) if is_match]
5151
else:
52-
print("{}|unknown_person".format(image_to_check))
52+
print("{},unknown_person".format(image_to_check))
5353

5454

5555
def image_files_in_folder(folder):

0 commit comments

Comments
 (0)