anubhavshrimal / Face-Recognition

Machine Learning project to recognise faces from an Image just like facebook or video stream
MIT License
128 stars 63 forks source link

Unable to open ./models/shape_predictor_68_face_landmarks.dat #10

Open roshanverma8652 opened 2 years ago

roshanverma8652 commented 2 years ago

Hello, thanks for the tutorial Currently I am facing an Run time error

Traceback (most recent call last): File "c:\Users\Roshan\Desktop\Omkar\Face-Recognition-master\create_encodings.py", line 2, in
import face_recognition_api File "c:\Users\Roshan\Desktop\Omkar\Face-Recognition-master\face_recognition_api.py", line 8, in pose_predictor = dlib.shape_predictor(predictor_model) RuntimeError: Unable to open ./models/shape_predictor_68_face_landmarks.dat

Could you plzz help me with this ?

SilverHound27 commented 2 years ago

Move the 'shape_predictor_68_face_landmarks.dat' from /models to root of the project.