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

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


 face_recognition 模块使用系统环境搭建

  

系统环境

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

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

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

在windows中若是要使用dlib仍是比较麻烦的,若是想省时间能够在anaconda中安装 python

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

其余重要的包git

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

安装 face_recognitiongithub

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

 

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

 

先给你们安利几个不错的博客和github项目:网络

Face Recognition基于Python的人脸识别库在github上地址以下: https://github.com/ageitgey/face_recognition
Github人脸识别项目地址: https://github.com/MiChongGET/face_collection
Ubuntu下使用face_recognition进行人脸识别: http://www.javashuo.com/article/p-epjcpffx-br.html
Python人脸识别技术face_recognition模块: https://blog.csdn.net/qq_31673689/article/details/79370412
相关文章
相关标签/搜索