RuntimeError:无法打开shape_predictor_68_face_landmarks.dat? [英] RuntimeError: Unable to open shape_predictor_68_face_landmarks.dat?

查看:108
本文介绍了RuntimeError:无法打开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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆