人脸检测基于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