github: https://github.com/ageitgey/face_recognition
以下是MAC环境下安装:
1. 先安装Pillow:
pip install pillow: https://stackoverflow.com/questions/26505958/why-cant-python-import-image-from-pil
2.安装cmake:
- Install cmake: https://www.jianshu.com/p/7fff1f77dd9d
3.安装dlib:
https://gist.github.com/ageitgey/629d75c1baac34dfa5ca2a1928a7aeaf
Clone the code from github:
git clone https://github.com/davisking/dlib.git
Build the main dlib library (optional if you just want to use Python):