RuntimeError:无法打开shape_predictor_68_face_landmarks.dat? [英] RuntimeError: Unable to open shape_predictor_68_face_landmarks.dat?
问题描述
我已经使用python OpenCV创建了一个项目,并使用了shape_predictor_68 ... .dat文件.现在,当我使用cx_freeze构建项目时,一切正常,但是当我运行应用程序构建时,它会显示错误.
I´ve made a project with python OpenCV, and used the shape_predictor_68... a .dat file. Now when I build the project with cx_freeze, everything does right, but when I run the app build, it shows a error.
推荐答案
我也面临着同样的问题,但是经过一番搜索,我知道我的shape_predictor_68_face_landmarks.dat没有更新或正确,因此我将其替换为另一个并发布解决后,新shape_predictor_68_face_landmarks.dat文件的链接为 https://github.com/AKSHAYUBHAT/TensorFace/blob/master/openface/models/dlib/shape_predictor_68_face_landmarks.dat
I am also facing the same issue but after some search, I get to know my shape_predictor_68_face_landmarks.dat is not updated or correct so I replace it with another and issue resolved, the link for the new shape_predictor_68_face_landmarks.dat file is https://github.com/AKSHAYUBHAT/TensorFace/blob/master/openface/models/dlib/shape_predictor_68_face_landmarks.dat
用较旧的文件替换新文件.
replace the new file with older one.
这篇关于RuntimeError:无法打开shape_predictor_68_face_landmarks.dat?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!