Python 人工智能之人脸识别 face_recognition 模块安装

Python人工智能之人脸识别face_recognition安装


 face_recognition 模块使用系统环境搭建

  

系统环境

  1. Ubuntu / deepin操作系统
  2. Python 3.6
  3. pycharm 开发工具

开发环境配置,安装各种系统包

人脸检测基于dlib,dlib依赖Boost和cmake

在windows中如果要使用dlib还是比较麻烦的,如果想省时间可以在anaconda中安装 

conda install -c conda-forge dlib=19.4
1 $ sudo apt-get install build-essential cmake
2 $ sudo apt-get install libgtk-3-dev
3 $ sudo apt-get install libboost-all-dev

其他重要的包

$ pip3 install numpy
$ pip3 install scipy
$ pip3 install opencv-python
$ pip3 install dlib

安装 face_recognition

# 安装 face_recognition
$ pip3 install face_recognition
# 安装face_recognition过程中会自动安装 numpy、scipy 等 

 

安装过程比较慢,我足足安装了2个多小时,当然也跟网络速度有关,但是没有出错,一切正常!

 

先给大家安利几个不错的博客和github项目:

Face Recognition基于Python的人脸识别库在github上地址如下: https://github.com/ageitgey/face_recognition
Github人脸识别项目地址: https://github.com/MiChongGET/face_collection
Ubuntu下使用face_recognition进行人脸识别: https://www.cnblogs.com/spyplus/p/7829772.html
Python人脸识别技术face_recognition模块: https://blog.csdn.net/qq_31673689/article/details/79370412

 

转载于:https://www.cnblogs.com/wjw1014/p/10255126.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值