face_recognition 人脸检测

github
doc

安装 macOS

How to install dlib HEAD (w/ python bindings) from github on macOS link

brew install boost-python --with-python3 --without-python
git clone https://github.com/davisking/dlib.git
cd dlib
mkdir build; cd build; cmake .. -DDLIB_USE_CUDA=0 -DUSE_AVX_INSTRUCTIONS=1; cmake --build
cd ..
python3 setup.py install --yes USE_AVX_INSTRUCTIONS --no DLIB_USE_CUDA
pip install face_recognition

安装ubuntu

在Ubuntu系统安装face_recognition本人认为是最简单的。直接输入命令即可。

pip install face_recognition

注:Cuda版本安装见link

《face_recognition 人脸检测》 image.png

安装window10记录 参考文档

__注意:__python 3.6 is needed by dlib>=19.7.

《face_recognition 人脸检测》 image.png

pip install dlib==19.8.1
pip install face_recognition
    原文作者:梁新彦
    原文地址: https://www.jianshu.com/p/b1a3cf39fd02
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞