Face recognition and attribute segmentation using Python, dlib, and One Millisecond Face Alignment with an Ensemble of Regression Trees.
The dlib installation in windows platform you can infer my blog:
Command:
python project.py
I extract the nose,eyes attributes mask
First We selected some pictures from CelebA-HQ,and use dlib to recognition and location some our wanted attributes.
Take nose as a example, choose 29-36 as my index referring to the picture below, then compute their midpoint. In the last, intercept the mask by midpoint and our patch_size(output size).