基于Faster-RCNN的人脸检测

出自这篇文章,Face Detection with the Faster R-CNN

文章主要使用Faster-RCNN框架,使用wider-face训练数据集进行人脸检测的训练。VGG基础框架的faceFaster-RCNN模型大小522M

安装测试:

git clone --recursive https://github.com/playerkk/face-py-faster-rcnn.git
cd face-py-faster-rcnn
cd lib
make -j8
cd ..
cp  Makefile.config.example  Makefile.config

# In your Makefile.config, make sure to have this line uncommented
WITH_PYTHON_LAYER := 1
# Unrelatedly, it's also recommended that you use CUDNN
USE_CUDNN := 1

make all -j32
make pycaffe -j8

pip install protobuf==3.5.1

#download the pretrained face detector model
cd data/faster_rcnn_models
wget http://supermoe.cs.umass.edu/~hzjiang/data/vgg16_faster_rcnn_iter_80000.caffemodel

#test
python tools/demo.py



References:

https://github.com/playerkk/face-py-faster-rcnn

http://download.csdn.net/download/qq_14845119/10249344

猜你喜欢

转载自blog.csdn.net/qq_14845119/article/details/79309800