MCPcopy
hub / github.com/ageitgey/face_recognition / print_result

Function print_result

face_recognition/face_recognition_cli.py:35–39  ·  view source on GitHub ↗
(filename, name, distance, show_distance=False)

Source from the content-addressed store, hash-verified

33
34
35def print_result(filename, name, distance, show_distance=False):
36 if show_distance:
37 print("{},{},{}".format(filename, name, distance))
38 else:
39 print("{},{}".format(filename, name))
40
41
42def test_image(image_to_check, known_names, known_face_encodings, tolerance=0.6, show_distance=False):

Callers 1

test_imageFunction · 0.70

Calls

no outgoing calls

Tested by 1

test_imageFunction · 0.56