Computer Science ›› 2021, Vol. 48 ›› Issue (4): 197-204.doi: 10.11896/jsjkx.200600033

• Computer Graphics & Multimedia • Previous Articles     Next Articles

Optimization of GPU-based Eigenface Algorithm

LI Fan1, YAN Xing2, ZHANG Xiao-yu1   

  1. 1 Network & Experimental Teaching Center,Xinjiang University of Finance and Economics,Urumqi 830012,China
    2 School of Information Management,Xinjiang University of Finance and Economics,Urumqi 830012,China
  • Received:2020-06-24 Revised:2020-08-28 Online:2021-04-15 Published:2021-04-09
  • About author:LI Fan,born in 1974,Ph.D,associate professor.His main research interests include high-performance computing and so on.
  • Supported by:
    National Natural Science Foundation of China(41830101),Social Science Foundation of Xinjiang Uygur Autonomous Region(17BTQ093) and Doctoral Research Start-up Fund of Xinjiang University of Finance and Economics(2015BS003).

Abstract: Eigenface algorithm is one of the commonly used face recognition methods based on facial representation.When the amount of training data is large,it is very time-consuming both training and testing modules.Based on this,the CUDA parallel computing architecture is used to implement GPU accelerated eigenface algorithm.The effect of GPU parallel computing depends on the hardware specifications,the complexity and parallelism of the algorithm itself,and the parallelization method used by the program developer to use GPU.Therefore,this paper first proposes the calculation of the average value and zero mean in the training phase of the eigenface algorithm.The calculation steps such as normalizing the eigenface and the calculation steps of the projection to the eigenface space and calculating the Euclidean distance in the test phase are optimized and accelerated by GPU.Secondly,different parallelization acceleration methods are used in the corresponding calculation steps and performance evaluation is made.Experimental results show that in the range of face training data from 320 to 1920,the acceleration effect of each calculation step is obvious.Compared with Intel i7-5960X,the GTX1060 display adapter can achieve an average acceleration effect of about 71.7 times in the training module,and an average acceleration effect of about 34.1 times in the test module.

Key words: Eigenface, Face recognition, GPU parallel computing, Kernel function, Rotary operation

CLC Number: 

  • TP301
[1]MACIEJ B,SKURSKI A,MAREK K,et al.Applications ofRay-Casting in Medical Imaging[J].Advances in Intelligent Systems & Computing,2014,283:3-14.
[2]JIN X X,DAKU B,KO S B.Improved GPU SIMD control flow efficiency via hybrid warp size mechanism[J].Microprocessors and Microsystems,2014,38(7):717-729.
[3]LIN Y C,WANG C C,LIN G,et al.A Simple Method to Improve the Quality of Diffusion-Weighted Magnetic Resonance Imaging with Rapid Histologic Correlation in a Murine Model[J].Molecular Imaging,2014,13:1-8.
[4]WANG W,ZENG X H,WANG F H,et al.Parallel Time-Space Processing Model Based Fast N-body Simulation[J].Journal of Frontiers of Computer Science & Technology,2011,5(11):63-69.
[5]SAPNA S,ANJALI R,KAMATH S N.Performance Analysisof Parallel Implementation of PCA-based Face Recognition using OpenCL[C]//2019 4th International Conference on Recent Trends on Electronics,Information,Communication & Techno-logy(RTEICT).IEEE,2019:877-881.
[6]DESHPANDE N T,RAVISHANKAR S.Face Detection andRecognition using Viola-Jones algorithm and Fusion of PCA and ANN[J].Advances in Computational Ences and Technology,2017,10(5):1173-1189.
[7]BANERJEE S,SCHEIRER W,BOWYER K,et al.Fast faceimage synthesis with minimal training[C]//2019 IEEE Winter Conference on Applications of Computer Vision(WACV).IEEE,2019:2126-2136.
[8]MULGREW,AMY C.A geometric approach to study the relationship between maternal and fetal characteristics and the shape of placental surfaces[J].Dissertations & Theses Gradworks,2011,30(3):425-436.
[9]WOO Y,YI C,YI Y.Fast PCA-based face recognition on GPUs[C]//IEEE International Conference on Acoustics,Speech & Signal Processing.IEEE,2013:2659-2663.
[10]ZHANG D,MABU S,HIRASAWA K.Robust intelligent PCA-based face recognition framework using GNP-fuzzy data mining[J].IEEJ Transactions on Electrical & Electronic Engineering,2013,8(3):253-262.
[11]FENG C,YU-BO T,MIN Y.Research and Design of ParallelParticle Swarm Optimization Algorithm Based on CUDA[J].Computer Science,2014(47):280-287.
[12]HWANG F N,WEI Z H,HUANG T M,et al.A parallel addi-tive Schwarz preconditioned Jacobi-Davidson algorithm for polynomial eigenvalue problems in quantum dot simulation[J].Journal of Computational Physics,2010,229(8):2932-2947.
[13]ZHAO T.A Convergence Analysis of the Inexact Simplified Jacobi-Davidson Algorithm for Polynomial Eigenvalue Problems[J].Journal of Scientific Computing,2018,75(3):1207-1228.
[14]AYRES D L,CUMMINGS M P,BAELE G,et al.BEAGLE 3:Improved performance,scaling,and usability for a high-perfor-mance computing library for statistical phylogenetics[J].Syste-matic Biology,2019,68(6):1052-1061.
[15]ANDREW R,DINGLE N.Implementing QR Factorization Updating Algorithms on GPUs[J].Parallel Computing,2014,40(7):161-172.
[1] HUANG Pu, DU Xu-ran, SHEN Yang-yang, YANG Zhang-jing. Face Recognition Based on Locality Regularized Double Linear Reconstruction Representation [J]. Computer Science, 2022, 49(6A): 407-411.
[2] HUANG Pu, SHEN Yang-yang, DU Xu-ran, YANG Zhang-jing. Face Recognition Based on Locality Constrained Feature Line Representation [J]. Computer Science, 2022, 49(6A): 429-433.
[3] LIU Yun, DONG Shou-jie. Acceleration Algorithm of Multi-channel Video Image Stitching Based on CUDA Kernel Function [J]. Computer Science, 2022, 49(6A): 441-446.
[4] CHENG Xiang-ming, DENG Chun-hua. Compression Algorithm of Face Recognition Model Based on Unlabeled Knowledge Distillation [J]. Computer Science, 2022, 49(6): 245-253.
[5] WEI Qin, LI Ying-jiao, LOU Ping, YAN Jun-wei, HU Ji-wei. Face Recognition Method Based on Edge-Cloud Collaboration [J]. Computer Science, 2022, 49(5): 71-77.
[6] HE Jia-yu, HUANG Hong-bo, ZHANG Hong-yan, SUN Mu-ye, LIU Ya-hui, ZHOU Zhe-hai. Review of 3D Face Reconstruction Based on Single Image [J]. Computer Science, 2022, 49(2): 40-50.
[7] CHEN Chang-wei, ZHOU Xiao-feng. Fast Local Collaborative Representation Based Classifier and Its Applications in Face Recognition [J]. Computer Science, 2021, 48(9): 208-215.
[8] WEN He, LUO Pin-jie. Dynamic Face Recognition Based on Improved Pulse Coupled Neural Network [J]. Computer Science, 2021, 48(6A): 85-88.
[9] BAI Zi-yi, MAO Yi-rong , WANG Rui-ping. Survey on Video-based Face Recognition [J]. Computer Science, 2021, 48(3): 50-59.
[10] LU Yao-yao, YUAN Jia-bin, HE Shan, WANG Tian-xing. Low-quality Video Face Recognition Method Based on Super-resolution Reconstruction [J]. Computer Science, 2021, 48(11A): 295-302.
[11] YANG Zhang-jing, WANG Wen-bo, HUANG Pu, ZHANG Fan-long, WANG Xin. Local Weighted Representation Based Linear Regression Classifier and Face Recognition [J]. Computer Science, 2021, 48(11A): 351-359.
[12] LUAN Xiao, LI Xiao-shuang. Face Anti-spoofing Algorithm Based on Multi-feature Fusion [J]. Computer Science, 2021, 48(11A): 409-415.
[13] WU Qing-hong, GAO Xiao-dong. Face Recognition in Non-ideal Environment Based on Sparse Representation and Support Vector Machine [J]. Computer Science, 2020, 47(6): 121-125.
[14] LI Xin-dou,GAO Chen-qiang,ZHOU Feng-shun,HAN Hui,TANG Lin. Face Liveness Detection Based on Image Diffusion Speed Model and Texture Information [J]. Computer Science, 2020, 47(2): 112-117.
[15] HAN Xu, CHEN Hai-yun, WANG Yi, XU Jin. Face Recognition Using SPCA and HOG with Single Training Image Per Person [J]. Computer Science, 2019, 46(6A): 274-278.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!