资源算法SHN-based-2D-face-alignment

SHN-based-2D-face-alignment

2020-03-26 | |  33 |   0 |   0

Stacked Hourglass Network for 2D face alignment

This ia a PyTorch implemention for face alignment with stacked hourglass network (SHN). We use the normalized mean errors (NME), cumulative errors distribution (CED) curve, area under the curve (AUC), and failure rate to measure the landmark location performance. This work (SHN-based) has achieved outstanding performance on 300-W and WFLW datasets.

Performance

300W

NME(inter-pupil)commonchallengefulltest
2-HG-flip4.0---

WFLW

NME(inter-ocular)testposeilluminationocclutionblurmakeupexpression
2-HG-flip5.4110.035.565.546.037.006.25

Install

  • Python 3

  • Install PyTorch >= 0.4 following the official instructions (https://pytorch.org/).

data

You need to download images (e.g., 300W) from official websites and then put them into data folder for each dataset.

Your data directory should look like this:

SHN-based-2D-face-alignment
-- data
   |-- afw
   |-- helen
   |-- ibug
   |-- lfpw

Training and testing

  • For training, stacks = 1, input resolution = 128

python main.py
  • Run evaluation to get result.

python main.py --phase test

Demo

Use the demo.py to visualize.

Citation

If you find this work or code is helpful in your research, please cite:

@inproceedings{Xiang2018Score,
  title={Score-Guided Face Alignment Network Under Occlusions},
  author={Xiang Yan and Huabin Wang and Qi Wang and Jinjie Song and Liang Tao},
  booktitle={Chinese Conference on Pattern Recognition and Computer Vision (PRCV)},
  year={2018},
}


上一篇:FaceAlignment_LBF3000FPS

下一篇:SDM-Face-Alignment

用户评价
全部评价

热门资源

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • shih-styletransfer

    shih-styletransfer Code from Style Transfer ...