face_recognition 人脸检测
2018-01-03 本文已影响17人
梁新彦
安装 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

安装window10记录 参考文档
__注意:__python 3.6 is needed by dlib>=19.7.

pip install dlib==19.8.1
pip install face_recognition