Closed niltonmalves closed 5 years ago
You have to call face_recognition.load_image_file() on each file to load the image contents before you look for faces in it. You can't pass a raw filename to face_encodings()
function like you are doing here.
thanks!
i am getting the same error. can you please tell me what you changed in this code to solve this issue.
@akshayks98 Read my comment right above.
face_recognition version: face-recognition == 1.2.3 / face-recognition-models == 0.3.0
Python version: Python 3.7.3
Operating System: windows 10
Description
I'm trying to catalog all the faces that go to a store. then try to find out if a particular person frequents that place. first I removed all of the faces and saved separately. Now I'm trying to compare these saved files, but the second error happens.
What I Did
Paste the command(s) you ran and the output. If there was a crash, please include the traceback here.