研究生: |
黃瀚興 |
---|---|
論文名稱: |
以圖形處理器加速臉部辨識 Accelerating Face Recognition Using Graphic Processing Units |
指導教授: | 林政宏 |
學位類別: |
碩士 Master |
系所名稱: |
科技應用與人力資源發展學系 Department of Technology Application and Human Resource Development |
論文出版年: | 2013 |
畢業學年度: | 101 |
語文別: | 中文 |
論文頁數: | 41 |
中文關鍵詞: | 臉部辨識 、主成分分析法 、非線性迭代偏最小二乘法 、Gram-Schmidt 重正交法 、圖形處理器 |
英文關鍵詞: | face recognition, principle component analysis, non-linear iterative partial least squares, Gram-Schmidt reorthogonalization, graphical processing units |
論文種類: | 學術論文 |
相關次數: | 點閱:215 下載:10 |
分享至: |
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
臉部辨識(Face Recognition)是一種生物辨識,透過臉部特徵進行身分辨識。其中主成分分析法(Principle Component Analysis, PCA)被廣泛運用在臉部辨識,因為此法可以保留臉部特徵的主要成分,以降低資料維度及計算複雜度。運用主成分分析法進行臉部辨識分為訓練與辨識兩步驟。在訓練步驟,傳統的主成分分析法先計算訓練樣本的共變異矩陣並求得主成分的特徵向量。在辨識步驟,則透過計算訓練樣本與測試樣本投影在主成分特徵向量上投影量,決定辨識結果。
主成分分析法在針對高資料維度,計算共變異矩陣的特徵向量所花費的時間與所需記憶體空間都相當可觀。本研究提出以圖形處理器(Graphical Processing Units, GPU)分別加速臉部辨識的訓練與辨識步驟,其中訓練步驟以GPU加速NIPALS和GS於計算訓練樣本的的主成分,辨識步驟則以GPU加速測試樣本對特徵向量的投影計算。實驗結果顯示相較於OpenCV的Eigenface,訓練部分NIPALS GPU在得到5.9倍的加速,GS GPU則有5.25倍的加速,辨識方面能夠有1.57倍的加速效果。
Face Recognition is one of biometric recognitions used to identify a person by facial features. Principle Component Analysis(PCA) has been widely used in face recognition because it can retain the main component of facial features, and therefore reduce the data dimension and computing complexity. Using PCA for face recognition has two phases:training and recognition. In the training phase, the traditional PCA calculates the covariance matrix of training samples and obtains the principal component eigenvectors. In the recognition phase, testing images are first projected to the principal component eigenvectors and then the recognition results are determined by calculating the projection distance of the testing images with the training samples.
For high-dimensional data, the computing time and required memory for PCA to calculate eigenvectors of the covariance matrix is quite considerable. In this thesis, we propose to accelerate PCA using graphical processing units (GPU) both in training and recognition phases. In the training phase, NIPALS and GS algorithms are accelerated while in the recognition phase, the projection to the eigenvectors of training and testing samples are accelerated.
Experimental results show that the proposed NIPALS GPU approach achieves 5.9 times faster and GS GPU approach achieves 5.25 times faster in the training phase and 1.57 times faster in the recognition phase than the Eigenface implementation of OpenCV.
一、中文部分
陳少虎、張雲泉、張先軼、程豪(2010)。BLAS庫在多核處理器上的性能測試與分析。Journal of Software 軟件學報,21,214-223。
二、外文部分
Andrecut, M. (2009). Parallel GPU implementation of iterative PCA algorithms. Journal of Computational Biology, 16(11), 1593-1599.
Devrari, K., & Kumar, K. V. (2011). Fast Face Detection Using Graphics Processor. International Journal of Computer Science and Information Technologies, 2(3), 1082-1086.
ExtendedYaleB. (2001). Face database, Available from http://vision.ucsd.edu/extyaleb/ExtendedYaleB.tar.bz2
Georghiades, A. S., Belhumeur, P. N., & Kriegman, D. J. (2001). From few to many: Illumination cone models for face recognition under variable lighting and pose. Pattern Analysis and Machine Intelligence, IEEE Transactions on, 23(6), 643-660.
Jošth, R., Antikainen, J., Havel, J., Herout, A., Zemčík, P., & Hauta-Kasari, M. (2012). Real-time PCA calculation for spectral imaging (using SIMD and GP-GPU). Journal of Real-Time Image Processing, 7(2), 95-103.
Kong, J., & Deng, Y. (2010, August). GPU accelerated face detection. In Intelligent Control and Information Processing (ICICIP), 2010 International Conference on, IEEE, 584-588.
Kim, K. I., Jung, K., & Kim, H. J. (2002). Face recognition using kernel principal component analysis. Signal Processing Letters, IEEE, 9(2), 40-42.
Krpec, J., & Němec, M. (2012, January). Face Detection CUDA Accelerating. In ACHI 2012, The Fifth International Conference on Advances in Computer-Human Interactions , 155-160.
Kramer, R. (1998). Chemometric techniques for quantitative analysis. CRC Press.
Lizama, E., Waldoestl, D., & Nickolay, B. (1997, October). An eigenfaces-based automatic face recognition system. In Systems, Man, and Cybernetics, 1997. Computational Cybernetics and Simulation., 1997 IEEE International Conference on Vol. 1, 174-177.
NVIDIA Corporation. (2008, March).CUDA CUBLAS Library. Available from http://oz.nthu.edu.tw/~d947207/NVIDIA/CUBLAS_Library_2.0.pdf
OpenCV. (2013). OpenCV: Open Source Computer Vision (Version 2.4.5) [Software]. Available from http://opencv.org/
Ramesha, K., & Raja, K. B. (2011). Gram-Schmidt Orthogonalization Based Face Recognition Using Dwt. International Journal of Engineering Science and Technology, 494-503.
Štruc, V., & Pavešić, N. (2009). Gabor-based kernel partial-least-squares discrimination features for face recognition. Informatica, 20(1), 115-138.
Schwartz, W., Guo, H., & Davis, L. (2010). A Robust and Scalable Approach to Face Identification. Computer Vision–ECCV 2010, 476-489.
Sajid, I., Ahmed, M. M., & Taj, I. (2009). Time Efficient Face Recognition Using Stable Gram-Schmidt Orthonormalization. Proceedings of the International Journal of Signal Processing, Image Processing and Pattern, 2(1), 35-48.
Turk, M., & Pentland, A. (1991). Eigenfaces for recognition. Journal of cognitive neuroscience, 3(1), 71-86.
Turk, M. A., & Pentland, A. P. (1991, June). Face recognition using eigenfaces. In Computer Vision and Pattern Recognition, 1991. Proceedings CVPR'91., IEEE Computer Society Conference on, 586-591.
Wu, Q., Song, M., Bu, J., & Chen, C. (2006). EigenExpress Approach in Recognition of Facial Expression Using GPU. Computer Vision in Human-Computer Interaction, 12-20.
Wold, S., Esbensen, K., & Geladi, P. (1987). Principal component analysis.Chemometrics and intelligent laboratory systems, 2(1), 37-52.