How to do python .exe file with face_recognition module

大兔子大兔子 提交于 2020-03-23 04:26:11

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!