前提安装Microsoft Visual Studio 2015和python3
1、安装scipy
和 numpy+mkl
2、下载boost源码文件,下载链接https://sourceforge.net/projects/boost/files/,解压到C:\local\boost_1_XX_X,然后cmd到boost目录执行bootstrap,再执行b2 -a --with-python address-model=64 toolset=msvc runtime-link=static
3、下载安装CMake
4、下载
dlib
, https://github.com/davisking/dlib
5、解压dlib,cmd到dlib目录执行下面步骤
set BOOST_ROOT=C:\local\boost_X_XX_X
set BOOST_LIBRARYDIR=C:\local\boost_X_XX_X\stage\lib
python setup.py install --yes USE_AVX_INSTRUCTIONS
6、pip install face_recognition