1. These two code files are used for the paper below,
    Xiaodong Duan and Zheng-Hua Tan, “A Spatial Self-Similarity Based Feature Learning Method for Face Recognition under Varying Poses”, Pattern Recognition Letters, under review.

2. To extract LPQ feature, the open source code from the link below is used. We would like to thank the authors for this code.
    https://github.com/bytefish/facerec

3. The file named as face_prl_1.py is used for three databases, you need to download these databases by yourself due to copyright.
    FERET: https://www.nist.gov/itl/iad/image-group/color-feret-database
    Multi-PIE: http://www.flintbox.com/public/project/4742/
    FEI: http://fei.edu.br/~cet/facedatabase.html

4. The file named as face_prl_2.py is used for LFW-a databases, which can be downloaded from the link below.
    LFW-a: http://www.openu.ac.il/home/hassner/data/lfwa/