美文网首页python库
face_recognition 人脸检测

face_recognition 人脸检测

作者: 梁新彦 | 来源:发表于2018-01-03 11:45 被阅读17次

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
image.png

安装window10记录 参考文档

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


image.png
pip install dlib==19.8.1
pip install face_recognition

相关文章

网友评论

    本文标题:face_recognition 人脸检测

    本文链接:https://www.haomeiwen.com/subject/ockhnxtx.html