英文原文地址:https://medium.com/@ageitgey/machine-learning-is-fun-part-4-modern-face-recognition-with-deep-learning-c3cffc121d78
中文翻译版地址:https://zhuanlan.zhihu.com/p/24567586
实验脚本:https://github.com/YuTingLiu/human_face_detection.git
实验环境
1.安装 dlib
https://github.com/davisking/dlib.git对人脸识别的算法不了解,但是一些研究过的人说实现了非常经典的算法.这个包的封装也非常好,对于检测人脸方便.实验过程中发现,一些人脸无法识别,一些人脸无法对齐.
2.安装opencv与openface
使用opencv2.sh安装opencv2(不行,需要安装opencv_python)由github安装openface
3.安装torch.
openface需要torch,或者说openface的模型使用torch训练http://torch.ch/docs/getting-started.html
git clone https://github.com/torch/distro.git ~/torch --recursive
4.安装torch的package
下载:nn : https://github.com/torch/nn.git
dnn : https://github.com/nicholas-leonard/dpnn.git
使用luarocks install命令进行安装
luarocks install nn-master/rocks/nn-scm-1.rockspec
luarocks install d