Skip to main content

Face Recognition using Histogram

Page 1

8

V

http://doi.org/10.22214/ijraset.2020.5190

May 2020


International Journal for Research in Applied Science & Engineering Technology (IJRASET) ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.429 Volume 8 Issue V May 2020- Available at www.ijraset.com

Face Recognition using Histogram Teena Varma1, Swarali Gaonkar2, Vailantina Fernandes3 1

Professor, Computer Engineering, Mumbai University, India Student, Computer Engineering, Xavier Institute Of Engineering, Mumbai, Maharashtra , India

2, 3

Abstract: Human face conveys more information about identification, expression, and emotions of a person. In today's world every individual in the society wants to be more secure from unauthorized authentication. In order to provide more security, “Facial Recognition” has come into the picture and lead a most challenging role of detecting the face with more accurate results without any false identities. To increase the efficiency of the face recognition, histogram based facial recognition is chosen, where a face region is fragmented into a number of regions and histogram values are extracted and they are linked together into a single vector. This vector is compared for the similarities between the facial images and provides a most efficient outcome. Technique used in face recognition system is histogram. The histogram of oriented gradients (HOG) is a feature descriptor used in computer vision and image processing for the purpose of object detection. The technique counts occurrences of gradient orientation in localized portions of an image. This method is similar to that of edge orientation histograms, scaleinvariant feature transform descriptors, and shape contexts, but differs in that it is computed on a dense grid of uniformly spaced cells and uses overlapping local contrast normalization for improved accuracy. Index Terms: Face Recognition, Histogram, Face Detection (key words) I. INTRODUCTION Face recognition is a method of identifying or verifying the identity of an individual using their face. Face recognition systems can be used to identify people in photos, video, or in real-time. Law enforcement may also use mobile devices to identify people during police stops. But face recognition data can be prone to error, which can implicate people for crimes they haven’t committed. Facial recognition software is particularly bad at recognizing African Americans and other ethnic minorities, women, and young people, often misidentifying or failing to identify them, disparately impacting certain groups. Additionally, face recognition has been used to target people engaging in protected speech. In the near future, face recognition technology will likely become more ubiquitous. It may be used to track individuals’ movements out in the world like automated license plate readers track vehicles by plate numbers. Real-time face recognition is already being used in other countries and even at sporting events in the United States. While initially a form of computer application, it has seen wider uses in recent times on mobile platforms and in other forms of technology, such as robotics. It is typically used as access control in security systems and can be compared to other biometrics such as fingerprint or eye iris recognition systems. Although the accuracy of facial recognition system as a biometric technology is lower than iris recognition and fingerprint recognition, it is widely adopted due to its contactless and non-invasive process. Recently, it has also become popular as a commercial identification and marketing tool. Other applications include advanced human-computer interaction, video surveillance, automatic indexing of images, and video database, among others. II. FACE RECOGNITIONAL TECHNOLOGY(3-DIMENSIONAL RECOGNITION) Three-dimensional face recognition technique uses 3D sensors to capture information about the shape of a face. This information is then used to identify distinctive features on the surface of a face, such as the contour of the eye sockets, nose, and chin. One advantage of 3D face recognition is that it is not affected by changes in lighting like other techniques. It can also identify a face from a range of viewing angles, including a profile view. Three-dimensional data points from a face vastly improve the precision of face recognition. 3D research is enhanced by the development of sophisticated sensors that do a better job of capturing 3D face imagery. The sensors work by projecting structured light onto the face. Up to a dozen or more of these image sensors can be placed on the same CMOS chip—each sensor captures a different part of the spectrum.... Even a perfect 3D matching technique could be sensitive to expressions. For that goal a group at the Technion applied tools from metric geometry to treat expressions as isometries. A new method is to introduce a way to capture a 3D picture by using three tracking cameras that point at different angles; one camera will be pointing at the front of the subject, second one to the side, and third one at an angle. All these cameras will work together so it can track a subject's face in real time and be able to face detect and recognize.

©IJRASET: All Rights are Reserved

1192


International Journal for Research in Applied Science & Engineering Technology (IJRASET) ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.429 Volume 8 Issue V May 2020- Available at www.ijraset.com III. PROPOSED WORK The task of the proposed system is to capture the face of each person and store it in the database for displaying its Name. Students face should be captured in such a way that all the features are recognized. The working mainly is that the video captured data is converted into image to detect and recognize it further. Further the recognized image is provided with its name. A. Facial Recognition Face recognition systems use computer algorithms to pick out specific, distinctive details about a person’s face. These details, such as distance between the eyes or shape of the chin, are then converted into a mathematical representation and compared to data on other faces collected in a face recognition database. The data about a particular face is often called a face template and is distinct from a photograph because it’s designed to only include certain details that can be used to distinguish one face from another. Some face recognition systems, instead of positively identifying an unknown person, are designed to calculate a probability match score between the unknown person and specific face templates stored in the database. These systems will offer up several potential matches, ranked in order of likelihood of correct identification, instead of just returning a single result. Face recognition systems vary in their ability to identify people under challenging conditions such as poor lighting, low quality image resolution, and suboptimal angle of view (such as in a photograph taken from above looking down on an unknown person). B. How facial Identification Works 1) Image is captured. 2) Eye Locations are determined. 3) Image converted to grayscale and cropped. 4) Image is converted to a template used by the search engine for facial comparison results. 5) Image is searched and matched using algorithm to compare the template to other templates on file. 6) Duplicate licenses are investigated for fraud.

Fig 1: process of face identification work IV. HISTOGRAM The essential thought behind the histogram of oriented gradients descriptor is that local object appearance and shape within an image can be described by the distribution of intensity gradients or edge directions. The image is divided into small connected regions called cells, and for the pixels within each cell, a histogram of gradient directions is compiled. The descriptor is the concatenation of these histograms. For improved accuracy, the local histograms can be contrast-normalized by calculating a measure of the intensity across a larger region of the image, called a block, and then using this value to normalize all cells within the block. This normalization results in better invariance to changes in illumination and shadowing. The HOG descriptor has a few key advantages over other descriptors. Since it operates on local cells, it is invariant to geometric and photometric transformations, except for object orientation. Such changes would only appear in larger spatial regions. Moreover, as Dalal and Triggs discovered, coarse spatial sampling, fine orientation sampling, and strong local photometric normalization permits the individual body movement of pedestrians to be ignored so long as they maintain a roughly upright position. The HOG descriptor is thus particularly suited for human detection in images.

ŠIJRASET: All Rights are Reserved

1193


International Journal for Research in Applied Science & Engineering Technology (IJRASET) ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.429 Volume 8 Issue V May 2020- Available at www.ijraset.com

A. Orientation Binning The second step of calculation is creating the cell histograms. Each pixel within the cell casts a weighted vote for an orientation-based histogram channel based on the values found in the gradient computation. The cells themselves can either be rectangular or radial in shape, and the histogram channels are evenly spread over 0 to 180 degrees or 0 to 360 degrees, depending on whether the gradient is “unsigned” or “signed”. Dalal and Triggs found that unsigned gradients used in conjunction with 9 histogram channels performed best in their human detection experiments. As for the vote weight, pixel contribution can either be the gradient magnitude itself, or some function of the magnitude. In tests, the gradient magnitude itself generally produces the best results. Other options for the vote weight could include the square root or square of the gradient magnitude, or some clipped version of the magnitude. B. Descriptor Blocks To account for changes in illumination and contrast, the gradient strengths must be locally normalized, which requires grouping the cells together into larger, spatially connected blocks. The HOG descriptor is then the concatenated vector of the components of the normalized cell histograms from all of the block regions. These blocks typically overlap, meaning that each cell contributes more than once to the final descriptor. Two main block geometries exist: rectangular R-HOG blocks and circular C-HOG blocks. R-HOG blocks are generally square grids, represented by three parameters: the number of cells per block, the number of pixels per cell, and the number of channels per cell histogram. In the Dalal and Triggs human detection experiment, the optimal parameters were found to be four 8x8 pixels cells per block (16x16 pixels per block) with 9 histogram channels. Moreover, they found that some minor improvement in performance could be gained by applying a Gaussian spatial window within each block before tabulating histogram votes in order to weight pixels around the edge of the blocks less. The R-HOG blocks appear quite similar to the scale-invariant feature transform (SIFT) descriptors; however, despite their similar formation, R-HOG blocks are computed in dense grids at some single scale without orientation alignment, whereas SIFT descriptors are usually computed at sparse, scale-invariant key image points and are rotated to align orientation. In addition, the R-HOG blocks are used in conjunction to encode spatial form information, while SIFT descriptors are used singly. Circular HOG blocks (C-HOG) can be found in two variants: those with a single, central cell and those with an angularly divided central cell. In addition, these C-HOG blocks can be described with four parameters: the number of angular and radial bins, the radius of the center bin, and the expansion factor for the radius of additional radial bins. Dalal and Triggs found that the two main variants provided equal performance, and that two radial bins with four angular bins, a center radius of 4 pixels, and an expansion factor of 2 provided the best performance in their experimentation (to achieve a good performance, at last use this configure). Also, Gaussian weighting provided no benefit when used in conjunction with the C-HOG blocks. C-HOG blocks appear similar to shape context descriptors, but differ strongly in that C-HOG blocks contain cells with several orientation channels, while shape contexts only make use of a single edge presence count in their formulation. C. Block Normalization The Dalal and trigs explored four different methods for block normalization. Let v be the non-normalized vector containing all histograms in a given block, ||v||k be its k-norn for k=1,2 and e be some small constant. Then the normalization factor can be one of the following:

©IJRASET: All Rights are Reserved

1194


International Journal for Research in Applied Science & Engineering Technology (IJRASET) ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.429 Volume 8 Issue V May 2020- Available at www.ijraset.com D. Object Recognition The HOG descriptors may be used for object recognition by providing them as features to a machine learning algorithm. Dalal and Triggs used HOG descriptors as features in a support vector machine (SVM) ; however, HOG descriptors are not tied to a specific machine learning algorithm.

Fig.1. Block diagram of the overall process. V. STEPS FOR FACE RECOGNITION

ŠIJRASET: All Rights are Reserved

1195


International Journal for Research in Applied Science & Engineering Technology (IJRASET) ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.429 Volume 8 Issue V May 2020- Available at www.ijraset.com

©IJRASET: All Rights are Reserved

1196


International Journal for Research in Applied Science & Engineering Technology (IJRASET) ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.429 Volume 8 Issue V May 2020- Available at www.ijraset.com VI. CONCLUSION This paper aims at capturing the video conversion into frames ,check whether it is present in the database and displaying its Name .These techniques capture the different edge directional Information, segmented geometric measurements and whole face information. Feature vector is generated by merging captured information .Data is discriminated using feature variance and normalization .Different expressions, variations in pose, orientation, accessories and makeup is handled by proposed work .After facial recognition name of the person is displayed .In future , facial measurements will be added to get more accurate results by considering orientation and illumination results .The proposed work is being compared with other techniques to improve the efficiency. The HOG feature is widely used for pedestrian detection but has been rarely used for face recognition. A fast computational method was developed and different factors were evaluated. We explore the use of HOG features for face recognition. The contributions are threefold: To provide robustness to facial feature detection, we propose uniform sampling of the HOG features. To remove redundancy in the data, improve computational efficiency and avoid over fitting. We propose to use, dimensionality reduction in the HOG representation. We show that a decision-level combination of results using HOG features extracted from different image patch sizes significantly improves in choosing a single best patch size. VII. ACKNOWLEDGMENT We would like to express our sincere and heartfelt gratitude to our teacher Prof .Teena Verma who gave us the golden opportunity to do this wonderful project on the topic Face Recognition System using Histogram, which also helped us in doing a lot of Research and we learned about so many new things. We are thankfull to her for sharing with us her knowledge and assisting us throughout this project. REFERENCES [1] [2] [3] [4] [5] [6] [7]

[8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18]

Shu Chang, Ding Xiaoquing, Fang Chi, Histogram of the Oriented Gradients for Face Recognition, 2011. [2] ei Jia, Rong-Xiang Hu, Ying-Ke Lei, Yang Zhao, Jie Gui, Histogram of Oriented Lines for Palm Print Recognition, 2014. Dalal N, Triggs B. Histograms of oriented gradients for human detection. In: IEEE Conference on Computer Vision and Patter Recognition (CVPR). San Diego, CA, USA, 2005, 1: 886-893. Gabor D. Theory of communication. Journal of Institute for Electrical Engineering, 1946, 93(Ⅲ): 429-457. Zhao W, Chellappa R, Rosenfeld A, et al. Face recognition: A literature survey. ACM Comput. Surv., 2003, 35: 399-458. Wiskott L, Fellous J M, Kruger N, et al. Face recognition by elastic bunch graph matching. IEEE Trans. Pattern Analysis and Machine Intelligence, 1997, 19(7): 775-779. Freeman W T, Roth M. Orientation histograms for hand gesture recognition. In: Intl. Workshop on Automatic Face and Gesture Recognition. IEEE Computer Society, Zurich, Switzerland, 1995: 296-301. Aba M. Patil, Satish R. Kolhe, Pradeep M. Patil and Milind E Rane, “Modified Fisher Face Approach for Robust Biometric Recognition System”, ICGST International Journal on Graphics, Vision and Image Processing, GVIP, Vol. 10, Issue IV. 2010, pp. 9-15. Satyajit Kautkar, Rahulkumar Koche, Tushar Keskar, Aniket Pande, Milind Rane, Gary A. Atkinson, “Face Recognition Based on Ridgelet Transforms,” ICEBT 2010, Procedia Computer Science 2, pp.35–43, 2010. Shrinivas Kadam, Ashwini Barbadekar and Milind Rane, “Face Detection Methods: A Survey,” IJRIT International Journal of Research in Information Technology, Volume 1, Issue 11, Pg. 282-289, November, 2013. J. Fagertun, 2005. Face Recognition. Master Thesis, Technical University of Denmark (DTU). Y. Gang, L. Jiawei, L. Jiayu, M. Qingli and Y. Ming, “Illumination Variation in Face Recognition: A Review”, IEEE Second International Conference on Intelligent Networks and Intelligent Systems (ICINIS 2009), pp. 309-311. M.A. Turk, A.P. Pentland, "Face Recognition Using Eigenfaces", Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR’91), 3-6 June 1991, Maui, Hawaii, USA, pp. 586- 591. H. Moon, P.J. Phillips, "Computational and Performance Aspects of PCA-based Face Recognition Algorithms", Perception, Vol. 30, 2001, pp. 303-321. K. Etemad, R. Chellappa, "Discriminant Analysis for Recognition of Human Face Images", Journal of the Optical Society of America A, Vol. 14, No. 8, August 1997, pp. 1724-1733. J. Lu, K.N. Plataniotis, A.N. Venetsanopoulos, "Face Recognition Using LDA-Based Algorithms", IEEE Transaction on Neural Networks, Vol. 14, No. 1, January 2003, pp. 195-200. B. Heisele, P. Ho, T. Poggio, "Face Recognition with Support Vector Machines: Global versus Component-based Approach", Proceedings. of the Eighth IEEE International Conference on Computer Vision (ICCV’01), Vol. 2, 09-12 July 2001, Vancouver, Canada, pp. 688-694. A. Lanitis, C.J. Taylor, T.F. Cootes, "Automatic Interpretation and Coding of Face Images Using Flexible Models", IEEE Transaction Pattern Analysis and Machine Intelligence (1997), pp. 743-756. E. Gomathi, K. Baskaran, "Recognition of Faces Using Improved Principal Component Analysis", Second International Conference on Machine Learning and Computing (ICMLC’10), pp.198-201.

©IJRASET: All Rights are Reserved

1197


International Journal for Research in Applied Science & Engineering Technology (IJRASET) ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.429 Volume 8 Issue V May 2020- Available at www.ijraset.com [19] C. Liu and H. Wechsler, "Probabilistic Reasoning Models for Face Recognition", in. IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR’98), pp.827-832. [20] Y. Ji, T. Lin, and H. Zha, "Mahalanobis Distance Based Non-negative Sparse Representation for Face Recognition", in Proceedings The Eighth International Conference on Machine Learning and Applications (ICMLA’09), pp.41-46. [21] V. Kabeer & N. K. Narayanan, "Face recognition using state space parameter and Artificial Neural Network Classifier", Proceedings of IEEE International Conference on Computational Intelligence and Multimedia Applications (ICCIMA’07), Sivakasi, India Vol.3, December, 2007, pp 250-254. [22] Al-Amin Bhuiyan, Chang Hong Liu.: Face Recognition using Gabor Filters. World academy of science, engineering and technology volume 22. issn 13076884. July.(2007) [23] Brunelli, R., Poggio, T., 1993. Face recognition: features versus templates. IEEE Trans. Pattern Anal. Machine Intell. 15 (10), 10421052 [24] Chellappa, R., Wilson, C.L., Sirohey, S.: Human and machine recognition of faces: a survey. Proceedings of the IEEE. Volume 83,Issue 5, 705-741. DOI= 10.1109/5.381842. (1995) [25] Chengjun Liu, Harryechsler.: Independent Component Analysis of Gabor Features for Face Recognition. IEEE Transactions onNeural Networks. vol. 14, no. 4, pp.919 928. Jul.( 2003) [26] Ferdinando Samaria, Andy Harter, Parameterisation of a Stochastic Model for Human Face Identification. Proceedings of 2nd IEEE Workshop on Applications of Computer Vision, Sarasota FL. (1994) [27] G. Beylkin, R. Coifman, V. Rokhlin, "Fast wavelet transforms and numerical algorithms" Comm. Pure Appl. Math., 44 (1991) pp.141 183 [28] Hazim Kemal Ekenel, Bu ̈lent Sankur, Multiresolution face recognition, Elsevier B.V,Image and Vision Computing 23 (2005) 469477 [29] Jiang, J., Feng, G. , (2007), Robustness analysis on facial image description in DCT domain, Electronics Letters , vol.43, no.24,pp.1354-1356. [30] Turk, M., Pentland, A.: Eigenfaces for recognition. J. Cogn. Neurosci., vol. 13, no. 1, pp. 71 86. (1991) 2474-2482.

©IJRASET: All Rights are Reserved

1198


Turn static files into dynamic content formats.

Create a flipbook