dlib.get_face_chips(rgb_img, faces, size=320) dlib has not attribute get_face_chips

        python在引用模块进行测试的时候,所调用的库与自己的测试脚本名不能一致,也就是说测试的脚本不能叫dlib.py

修改成 test_dlib.py,同理其他的库也是如此。


猜你喜欢

转载自blog.csdn.net/mtj66/article/details/80215834