Python 和 Dlib。属性错误

Python and Dlib. AttributeError

我经常将 Dlib 与 Python 3.4 一起使用,但现在我需要使用 dlib.get_face_chip() 方法(参见 documentation)并继续执行以下操作:

AttributeError: module 'dlib' has no attribute 'get_face_chip'

有什么建议吗?

谢谢。

安装时,Dlib 会根据您的系统进行配置。之后更新您的系统可能会造成破坏。

我会卸载并重新安装 Dlib:pip3 uninstall dlibpip3 install dlib