dlib.get_frontal_face_detector() AttributeError: module ‘dlib’ has no attribute ‘get_frontal_face_de
环境
- Win10
- python3.7
- python原生环境
与人脸识别有关的库多适配python3.6,方法三中就将python改成了3.6版本
方法一(无效)
因为你没有下载人脸库shape_predictor_68_face_landmarks,需要下载下来并解压后放到你代码所在的文件夹里。
人脸库下载链接:http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2
方法二(无效)
在官网下载Cmake并安装,配置环境
1. 打开.msi文件,进入安装向导
2. 接受协议
3. 自动添加环境
4. 设置安装位置
5. 完成安装
6.验证cmake
方法三
- 环境 :python3.6 + Anaconda5.2 + win10
Anaconda下载
注意:Anaconda 5.2以上版本支持python3.7,不再支持python3.6
尝试了各种方法,都不能解决问题,终于向Anaconda屈服,安装过程可浏览其他博客,真香!!!
安装dlib参考:https://blog.csdn.net/weixin_44088439/article/details/87177561?depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-1&utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-1
dlib.get_frontal_face_detector() AttributeError: module ‘dlib’ has no attribute ‘get_frontal_face_de相关推荐
- python安装dlib遇到的错误:AttributeError:module ‘dlib’ has no attribute ‘get_frontal_face_detector’问题解决
dlib是一个非常好用的跨平台的通用库,但是在安装过程中遇到了许多问题,我在使用Anaconda安装dlib过程中,用pip install 安装,安装成功后,import没有问题 如下图,impor ...
- 安装dlib遇到的错误AttributeError: module 'dlib' has no attribute 'get_frontal_face_detecetor'
dlib是一个非常好用得到ML库,但是在安装过程中遇到了许多问题,笔者使用Anaconda安装dlib过程中,用pip install dlib安装虽然安装成功,import没有问题,但是使用里面的函 ...
- AttributeError: 'module' object has no attribute 'get_frontal_face_detector'
AttributeError: 'module' object has no attribute 'get_frontal_face_detector' 报错原因: 命名为的文件将遮盖dlib具有所需 ...
- 解决: AttributeError: module 'cv2' has no attribute 'SURF'
AttributeError: module 'cv2' has no attribute 'SURF' 遇到该问题时,网友多是建议补个包,即pip install opencv-contrib-py ...
- AttributeError: module ‘seaborn‘ has no attribute ‘tsplot‘
AttributeError: module 'seaborn' has no attribute 'tsplot' 问题: g = sns.tsplot(df['pm2.5']) plt.figur ...
- AttributeError: module ‘tensorflow‘ has no attribute ‘Session‘错误解决
AttributeError: module 'tensorflow' has no attribute 'Session'错误解决 根据网上教程安装tensorflow环境时,最后都会有个测试代码用 ...
- Python 报错解决:AttributeError: 'module' object has no attribute 'SSL_ST_INIT'
早上升级完pip,后报错如下: -> # pip install --upgrade pwntools /usr/local/lib/python2.7/dist-packages/pip/_v ...
- AttributeError: module ‘sys‘ has no attribute ‘maxint‘
AttributeError: module 'sys' has no attribute 'maxint' https://stackoverflow.com/questions/47027354/ ...
- AttributeError: module 'tensorflow' has no attribute 'random_normal'
执行<TensorFlow实战Google深度学习框架(第2版)>only源代码 CH3 时如下语句报错 batch_size = 8 w1= tf.Variable(tf.random_ ...
最新文章
- .net数据控件的冒泡事件
- python画三维温度散点图-Python 绘制酷炫的三维图步骤详解
- 两幅相同大小图像的相似程度的两个评价指标-PSNR和SSIM
- 【cisco下针对冗余链路故障备份的处理措施】
- 后台开发人员面试内容——JVM虚拟机(四)
- java利用循环打印AVA,JAVA语言-AVA文件流
- 未来两年我们即将要读的Python书!
- 36. LatencyTOP
- 错误解决办法:‘NULL’ was not declared in this scope
- Java并发编程实战——并发编程的优缺点
- Buff加持!OpManager+Slack集成助力团队协作
- js自执行函数前加个分号是什么意思?
- Kindeditor在线 HTML 编辑器使用
- 分段点处导数怎么求,导数和导函数的极限有关系吗?
- 分步骤详细解说:H5性能优化方案
- 专知 2019/4/24(图像填充方法大全)
- [MEM]综合能力考试-数学知识点
- TCP三次握手如果使用二次握手代替则会出现的问题
- Kdevelop安装与使用说明
- JavaScript——JSON
热门文章
- 一篇浅显易懂的 TS 入门指南
- 求助!spyder beautifulsoup4显示错误:AttributeError: 'HTMLParserTreeBuilder' object has no attribute 'initia
- API勾取实现进程隐藏
- 软考的证书含金量高吗?
- 消防宣传科普|消防安全知识网上答题挑战赛活动方案
- 云原生架构下的微服务选型和演进
- xgboost2 以及使用XGB.CV来进行调参
- Kotlin Native - 原生平台 Hollo World!
- 《调色师手册:电影和视频调色专业技法(第2版)》——第2章 调色工作的环境设定 基于监视器的色彩管理...
- MySQL数据库常用基本语句及管理