CNN-based facial landmark localisation using Wing Loss

October 7, 2019 ยท View on GitHub

This software is developed by Zhenhua Feng from the Centre for Vision, Speech and Signal Processing (CVSSP), University of Surrey. The software is implemented by Matlab and powered by the MatConvNet toolbox.

If you use this software, please cite the following publication:

  • Zhen-Hua Feng, Josef Kittler, Muhammad Awais, Patrik Huber, Xiao-Jun Wu. Wing Loss for Robust Facial Landmark Localisation with Convolutional Neural Networks, IEEE Conference on Computer Vision and Patten Recognition (CVPR), Salt Lake City, USA, 2018.
@inproceedings{feng2018wing,
  title={Wing Loss for Robust Facial Landmark Localisation with Convolutional Neural Networks},
  author={Feng, Zhen-Hua and Kittler, Josef and Awais, Muhammad and Huber, Patrik and Wu, Xiao-Jun},
  booktitle={Computer Vision and Pattern Recognition (CVPR), 2018 IEEE Conference on},
  year={2018},
  pages ={2235-2245},
  organization={IEEE}
}
  • You can download the paper from HERE.

News

  • 2018-06-16: Add the demo code as well as two pretrained CNN6 models on the AFLW dataset with 19 facial landmarks
  • 2018-03-29: The pre-trained model and test code are coming soon.

New Results on the COFW and WFLW datasets

  • Results on COFW
MethodNME(%)Failure Rate(%)
CNN6 (Wing+PDB)5.443.75
ResNet50 (Wing+PDB)5.073.16
  • Results on WFLW
MetricMethodFullSetPoseExpressionIlluminationMakeupOcclusionBlur
NME(%)ESR11.1325.8811.4710.4911.0513.7512.20
SDM10.2924.1011.459.329.3813.0311.28
CFSS9.0721.3610.098.308.7411.769.96
DVLN6.0811.546.785.735.987.336.88
LAB5.2710.245.515.235.156.796.32
ResNet50 (Wing+PDB)4.998.435.214.885.266.215.81
Failure Rate (%)ESR35.2490.1842.0430.8038.8447.2841.40
SDM29.4084.3633.4426.2227.6741.8535.32
CFSS20.5666.2623.2517.3421.8432.8823.67
DVLN10.8446.9311.157.3111.6516.3013.71
LAB7.5628.836.376.737.7713.7210.74
ResNet50 (Wing+PDB)5.6423.314.144.878.7411.697.50
AUC@0.1ESR0.27740.01770.19810.29530.24850.19460.2204
SDM0.30020.02260.22930.32370.31250.20600.2398
CFSS0.36590.06320.31570.38540.36910.26880.3037
DVLN0.45510.14740.38890.47430.44940.37940.3973
LAB0.53230.23450.49510.54330.53940.44900.4630
ResNet50 (Wing+PDB)0.55850.33090.49790.56310.54600.49850.5010

Pre-trained models

Uploaded

  • cnn6_v0_aflw: pre-trained CNN-6 model on the AFLW-FULL dataset, using the CNN6 architecture as shown in the paper
  • cnn6_v1_aflw: similar to cnn6_v0 but with doubled filter sizes, which performs better than the original CNN6 but a little bit slower

Installation

  1. Download and install MatConvNet to pathToMatConvNet/.
  2. Modify the path to MatConvNet in demo.m and run the script

License

This soft ware is released under the Apache 2.0 license.

Contact

Dr Zhenhua Feng

Centre for Vision, Speech and Signal Processing

University of Surrey, Guildford GU2 7XH, United Kingdom

z.feng@surrey.ac.uk, fengzhenhua2010@gmail.com