问题
I did programm using face_recognition module and when I try to make .exe file for Windows it doesn't work. May be smb can tell me what to do?
回答1:
Download the file shape_predictor_68_face_landmarks.dat
from here
http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2
and extract it and place in C:\Users\YOUR_NAME\PycharmProjects\test_exe\dist\face_recognition_models\shape_predictor_68_face_landmarks.dat
That needed file is a trained model for Dlib!
来源:https://stackoverflow.com/questions/53694942/how-to-do-python-exe-file-with-face-recognition-module