InsightFace
Implementation of Additive Angular Margin Loss for Deep Face Detection. paper.
@article{deng2018arcface,
title={ArcFace: Additive Angular Margin Loss for Deep Face Recognition},
author={Deng, Jiankang and Guo, Jia and Niannan, Xue and Zafeiriou, Stefanos},
journal={arXiv:1801.07698},
year={2018}
}
DataSet
CASIA WebFace DataSet, 494,414 faces over 10,575 identities.
Dependencies
PyTorch 1.0.0
Usage
Data wrangling
Extract images, scan them, to get bounding boxes and landmarks:
$ python pre_process.py
Image alignment:
Face detection(MTCNN).
Face alignment(similar transformation).
Central face selection.
Resize -> 112x112.
Original
Aligned
Original
Aligned