This is a mxnet implementation of Zhang's work: Joint Face Detection and Alignment using Multi-task Cascaded Convolutional Neural Networks.
This repository has been tested under the following environment:
- Python 2.7
- Ubuntu 16.04
- Mxnet-cu80 (==0.11.0)
-
Use
python main.py
to test this detection and alignment method. -
You can change
ctx
tomx.gpu(0)
to use GPU for faster detection.
see mtcnn_detector.py
for the details about the parameters. this function use dlib's align strategy, which works well on profile images :)