Answer the question
In order to leave comments, you need to log in
How to write a face memory function correctly?
al = face_recognition.load_image_file("KnowFace/al.jpg")
al_encoding = face_recognition.face_encodings(al)[0]
pp = face_recognition.load_image_file("KnowFace/pp.jpg")
pp_encoding = face_recognition.face_encodings(pp)[0]
mm = face_recognition.load_image_file("KnowFace/mm.jpg")
mm_encoding = face_recognition.face_encodings(mm)[0]
Answer the question
In order to leave comments, you need to log in
images = ["KnowFace/al.jpg", "KnowFace/pp.jpg", "KnowFace/mm.jpg"]
for img in mages:
i = face_recognition.load_image_file(img)
i_encoding = face_recognition.face_encodings(i)[0]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question