使用dlib库进行人脸对齐过程中的问题解决记录
因为需要对人脸数据库进行整理,所以查找到了dlib库关于人脸对齐的相关应用,在此对使用过程中遇到的一些问题进行总结。
dlib库安装
在https://pypi.org/simple/dlib/下载了dlib19.6.1版本,conda prompt中activate自己的python环境后直接pip install进行安装
识别人脸特征点模型
python dlib学习(二):人脸特征点标定
从以上参考链接中下载了可以识别人脸的68个特征点的模型。
AttributeError: module ‘dlib’ has no attribute ‘get_face_chips’
运行过程中报错:AttributeError: module ‘dlib’ has no attribute ‘get_face_chips’,参照以下帖子中的方法解决了该问题。