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
 $ sudo apt-get install build-essential cmake
 $ sudo apt-get install libgtk-3-dev
 $ 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
发布了118 篇原创文章 · 获赞 123 · 访问量 6万+

猜你喜欢

转载自blog.csdn.net/weixin_42776111/article/details/104472470