如何使用face_recognition模块做python .exe文件 [英] How to do python .exe file with face_recognition module
问题描述
我使用face_recognition模块进行了编程,当我尝试为Windows制作.exe文件时,它不起作用.也许smb可以告诉我该怎么办?
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?
推荐答案
从此处下载文件shape_predictor_68_face_landmarks.dat
http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2
并将其提取并放入C:\Users\YOUR_NAME\PycharmProjects\test_exe\dist\face_recognition_models\shape_predictor_68_face_landmarks.dat
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
该文件是Dlib的经过训练的模型!
That needed file is a trained model for Dlib!
这篇关于如何使用face_recognition模块做python .exe文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!