You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RuntimeError: Unable to open shape_predictor_68_face_landmarks.dat .......i have tried to put this in the same directory also....and downloaded latest version and uncompressed it and still this issue is not getting solved. Please Help
#449
I faced the same issue tomorrow and I found that you just have to download that dat file and place it in your project folder with python file. the link is : http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2 , just download it and extract it and re-run the program it should be fine.
Use pyinstaller -c PyFileName.py (with console) or pyinstaller -w PyFileName.py (without console) instead of pyinstaller --onefile PyFileName.py. Then add folder containing face_recognition models .dat files. Example, "face_recognition_models/models/shape_predictor_68_face_landmarks.dat" in the same folder of the executable file.
Use pyinstaller -c PyFileName.py (with console) or pyinstaller -w PyFileName.py (without console) instead of pyinstaller --onefile PyFileName.py. Then add folder containing face_recognition models .dat files. Example, "face_recognition_models/models/shape_predictor_68_face_landmarks.dat" in the same folder of the executable file.
what will be the file structure if i am adding "face_recognition_models/models/shape_predictor_68_face_landmarks.dat" in code. Because i added this file as binary but exe file still showing the same error.
The text was updated successfully, but these errors were encountered: