windows中使用人脸识别库face_recognition的教程
1.安装python3.9.0
https://github.com/pyenv-win/pyenv-win
在 power shell 中运行
shell
Invoke-WebRequest -UseBasicParsing -Uri "https://raw.githubusercontent.com/pyenv-win/pyenv-win/master/pyenv-win/install-pyenv-win.ps1" -OutFile "./install-pyenv-win.ps1"; &"./install-pyenv-win.ps1"
2.安装python3.9.0
shell
pyenv install 3.9.0
pyenv global 3.9.0
3.安装cmake
4.安装dlib
https://github.com/sachadee/Dlib/tree/main
5.降级numpy
shell
pip uninstall -y numpy
pip install numpy==1.23.5
6.安装face_recognition
shell
pip install face_recognition