Facial Recognition Using Hidden Markov Model and Convolutional Neural Network
Abstract
:1. Introduction
2. Literature Review
3. Methodology
3.1. HMM Classification Model
3.1.1. Pre Processing
3.1.2. Feature Extraction
3.1.3. HMM Training
3.1.4. HMM Classification
3.2. Convolutional Neural Networks (CNN) Architecture
4. Result
4.1. HMM
4.2. CNN
- In the HMM classification model for FR, PCA is used to perform the task of feature extraction. The process of noise removal and dimensionality reduction of images is performed by using the Haar wavelet transform. Facial information features are extracted using eigenvalue decomposition. The model uses three states, four states, five states, and six states of HMM separately to train the HMM model and evaluate the results.
- The CNN model computes feature vectors for all images during the training of the model and stores them to compare these feature vectors with the feature vectors being extracted from test images. Based on these feature vectors, images are classified into different classes.
- The HMM classification model is computationally inexpensive and can be used in online FR. The CNN model is trained using CNN, which is more accurate, but it is computationally expensive and can be used for offline FR analysis.
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Nefian, A.V.; Hayes, M.H. Hidden Markov models for face recognition. In Proceedings of the 1998 IEEE International Conference on Acoustics, Speech and Signal Processing, ICASSP ’98 (Cat. No.98CH36181), Seattle, WA, USA, 15 May 1998; pp. 2721–2724. [Google Scholar] [CrossRef]
- Miarnaeimi, H.; Davari, P. A new fast and efficient HMM based face recognition system using a 7-state HMM along with SVD coefficients. Iranian J. Elect. Electron. Eng. 2008, 4, 46–57. [Google Scholar]
- Kiani, K.; Rezaeirad, S. A new ergodic HMM-based face recognition using DWT and half of the face. In Proceedings of the 2019 5th Conference on Knowledge-Based Engineering and Innovation (KBEI), Tehran, Iran, 28 February–1 March 2019; pp. 531–536. [Google Scholar]
- Nefian, A.V.; Hayes, M.H. Face detection and recognition using hidden Markov models. In Proceedings of the 1998 International Conference on Image Processing. ICIP98 (Cat. No. 98cb36269), Chicago, IL, USA, 7 October 1998; Volume 1, pp. 141–145. [Google Scholar]
- Takahashi, Y.; Tamamori, A.; Nankaku, Y.; Tokuda, K. Face recognition based on separable lattice 2-D HMM with state duration modeling. In Proceedings of the 2010 IEEE International Conference on Acoustics, Speech and Signal Processing, Dallas, TX, USA, 14–19 March 2010; pp. 2162–2165. [Google Scholar]
- Kohir, V.V.; Desai, U.B. Face recognition using a DCT-HMM approach. In Proceedings of the Fourth IEEE Workshop on Applications of Computer Vision. WACV’98 (Cat. No. 98EX201), Princeton, NJ, USA, 19–21 October 1998; pp. 226–231. [Google Scholar]
- Pai, V.K.; Balrai, M.; Mogaveera, S.; Aeloor, D. Face Recognition Using Convolutional Neural Networks. In Proceedings of the 2018 2nd International Conference on Trends in Electronics and Informatics (ICOEI), Tirunelveli, India, 11–12 May 2018; pp. 165–170. [Google Scholar]
- Kumar, S.A.S.; Deepti, D.R.; Prabhakar, B. Face recognition using pseudo-2D ergodic HMM. In Proceedings of the 2006 IEEE International Conference on Acoustics Speech and Signal Processing Proceedings, Toulouse, France, 14–19 May 2006; Volume 2, p. II. [Google Scholar]
- Vaseghi, B.; Hashemi, S. Face verification using D-HMM and adaptive K-means clustering. In Proceedings of the 2011 4th IEEE International Conference on Broadband Network and Multimedia Technology, Shenzhen, China, 28–30 October 2011; pp. 270–275. [Google Scholar]
- Wang, C.; Zhang, H.; Wen, D.; Shen, M.; Li, L.; Zhang, Z. Novel passivity and dissipativity criteria for discrete-time fractional generalized delayed Cohen–Grossberg neural networks. Commun. Nonlinear Sci. Numer. Simul. 2024, 133, 107960. [Google Scholar] [CrossRef]
- Wang, X.; Karimi, H.R.; Shen, M.; Liu, D.; Li, L.W.; Shi, J. Neural network-based event-triggered data-driven control of disturbed nonlinear systems with quantized input. Neural Netw. 2022, 156, 152–159. [Google Scholar] [CrossRef] [PubMed]
- Rahul, M.; Shukla, R.; Yadav, D.K.; Yadav, V. Zernike moment-based facial expression recognition using two-staged hidden markov model. In Advances in Computer Communication and Computational Sciences; Springer: Singapore, 2019; pp. 661–670. [Google Scholar]
- Aggarwal, A.; Alshehri, M.; Kumar, M.; Sharma, P.; Alfarraj, O.; Deep, V. Principal component analysis, hidden Markov model, and artificial neural network inspired techniques to recognize faces. Concurr. Comput. Pract. Exp. 2021, 33, e6157. [Google Scholar] [CrossRef]
- Yale Face Database. Available online: https://www.kaggle.com/datasets/olgabelitskaya/yale-face-database (accessed on 5 April 2024).
- The ORL Database. Available online: https://www.kaggle.com/datasets/tavarez/the-orl-database-for-training-and-testing/data (accessed on 5 April 2024).
- Tan, W.; Wu, F.; Rong, G. Pseudo training sample method for face recognition using HMMs. In Proceedings of the IEEE International Conference on Networking, Sensing and Control, Taipei, Taiwan, 21–23 March 2004; Volume 2, pp. 801–806. [Google Scholar] [CrossRef]
- Du, Q.; Chang, C.I. Hidden Markov model approach to spectral analysis for hyperspectral imagery. Opt. Eng. 2001, 40, 2277–2284. [Google Scholar]
- Alghamdi, R. Hidden Markov Models (HMMs) and Security Applications. Int. J. Adv. Comput. Sci. Appl. (IJACSA) 2016, 7, 39–47. [Google Scholar] [CrossRef]
- Chandra, M.; Kumari, A.; Kumar, S. Isolated text recognition using SVD and HMM. In Proceedings of the 2014 IEEE International Conference on Advanced Communications, Control and Computing Technologies, Ramanathapuram, India, 8–10 May 2014; pp. 1264–1267. [Google Scholar] [CrossRef]
- Noushath, S.; Kumar, G.H.; Shivakumara, P. Diagonal Fisher linear discriminant analysis for efficient face recognition. Neurocomputing 2006, 69, 1711–1716, ISSN 0925-2312. [Google Scholar] [CrossRef]
- The MathWorks, Inc. MATLAB Version: 9.13.0 (R2021a). 2021. Available online: https://www.mathworks.com (accessed on 1 January 2023).
- Orlov, N.; Shamir, L.; Macura, T.; Johnston, J.; Eckley, D.M.; Goldberg, I.G. WND-CHARM–Multi purpose classification using compound image transforms. Pattern Recognit. Lett. 2008, 29, 1684–1693. [Google Scholar] [CrossRef] [PubMed]
0.85 | 0.15 | 0 | |
0 | 0.85 | 0.15 | |
0 | 0 | 1 |
Databases | HMM Model | Recognition Accuracy | Training Time/Image | Testing Time/Image |
---|---|---|---|---|
ORL Database | 3 State HMM | 96.5% | 0.0188 s | |
5|5 split images of 40 person | 4 State HMM | 98.5% | 0.0490 s | 0.0214 s |
5 State HMM | 98.5% | 0.0745 s | 0.0232 s | |
6 State HMM | 0.0945 s | 0.0223 s | ||
Yale Database | 3 State HMM | 90.6667% | 0.0328 s | |
6|5 split images of 15 person | 4 State HMM | % | 0.0599 s | 0.0354 s |
5 State HMM | 94.6667% | 0.0849 s | 0.0325 s | |
6 State HMM | 94.6667% | 0.1125 s | 0.0365 s |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Bilal, M.; Razzaq, S.; Bhowmike, N.; Farooq, A.; Zahid, M.; Shoaib, S. Facial Recognition Using Hidden Markov Model and Convolutional Neural Network. AI 2024, 5, 1633-1647. https://doi.org/10.3390/ai5030079
Bilal M, Razzaq S, Bhowmike N, Farooq A, Zahid M, Shoaib S. Facial Recognition Using Hidden Markov Model and Convolutional Neural Network. AI. 2024; 5(3):1633-1647. https://doi.org/10.3390/ai5030079
Chicago/Turabian StyleBilal, Muhammad, Saqlain Razzaq, Nirman Bhowmike, Azib Farooq, Muhammad Zahid, and Sultan Shoaib. 2024. "Facial Recognition Using Hidden Markov Model and Convolutional Neural Network" AI 5, no. 3: 1633-1647. https://doi.org/10.3390/ai5030079
APA StyleBilal, M., Razzaq, S., Bhowmike, N., Farooq, A., Zahid, M., & Shoaib, S. (2024). Facial Recognition Using Hidden Markov Model and Convolutional Neural Network. AI, 5(3), 1633-1647. https://doi.org/10.3390/ai5030079