ChapterPDF Available

Human Face Recognition Using Local Binary Pattern Algorithm - Real Time Validation

Authors:

Abstract and Figures

A real time face recognition using LBP algorithm and image processing techniques are proposed. Face image is represented by utilizing information about shape and texture. In order to represent the face effectively, area of the face is split into minute sections, then histograms of Local Binary Pattern (LBP) are extorted which are then united into a single histogram. Secondly, the recognition is carried out on computed feature space using nearest neighbor classifier. The developed algorithm is validated in real time by developing a prototype model using Raspberry Pi single board computer and also in simulation mode using MATLAB software. The above obtained results match with each other. On comparing both the results, recognition time taken by the prototype model is more than that of the simulation results because of hardware limitations. The real time experimental results demonstrated that the face recognition rate of LBP algorithm is 89%.
Content may be subject to copyright.
Human Face Recognition using Local Binary Pattern algorithm - Real time
Validation
1Shubha. P,2 Dr. M. Meenakshi
1,2 Dept. of Instrumentation Technology,
1,2 Dr.Ambedkar Institute Of Technology,
1,2 Banglaore-560056, India,
1shubhajagi@gmail.com
2meenakshi_mbhat@yahoo.com
Abstract: A real time face recognition using LBP algorithm and image processing techniques are proposed. Face image is
represented by utilizing information about shape and texture. In order to represent the face effectively, area of the face is split
into minute sections, then histograms of Local Binary Pattern (LBP) are extorted which are then united into a single histogram.
Secondly, the recognition is carried out on computed feature space using nearest neighbor classifier. The developed algorithm is
validated in real time by developing a prototype model using Raspberry Pi single board computer and also in simulation mode
using MATLAB software. The above obtained results match with each other. On comparing both the results, recognition time
taken by the prototype model is more than that of the simulation results because of hardware limitations. The real time
experimental results demonstrated that the face recognition rate of LBP algorithm is 89%.
Keywords: Local Binary Pattern (LBP), MATLAB, histogram, classifier, rRaspberry Pi, Real time face recognition.
I.INTRODUCTION:
Face recognition is a popular image processing application. Using this method a person can be identified and
verified with the database. The process identification involves face recognition, which compares unknown face
image with the large set of face image database. The obtained value is the measure of the similarity between two
images. The face image is recognized when the obtained value is equal to or greater than the threshold value. The
recognition process includes the following three stages. Firstly, Face representation carries out the process of
modeling a face. Secondly, feature extraction stage includes extraction of unique and useful features of a face.
Lastly, classification stage compares the face image with database images.
Applications of face recognition includes in various fields such as banking, airports, passport office, government
offices, security systems and many more. There are two phases of face recognition. The first phase includes training
of the faces which are saved in the database and second phase is the verification stage to obtain the exact image of
the face.
Face recognition technique is considered as a challenging method due to variation in size, color, pose variations,
illumination variations, and face rotation. To overcome the above problem Local Binary Pattern algorithm (LBP) is
proposed. The paper is organized in the following steps: First, Existing methods of face recognition is given in
section II. Next, in section III and IV the proposed method and face recognition algorithm are explained. Section
V and VI gives the working principle and the results of the experiment. Finally section VII is referred in order to
draw conclusions.
II. EXISTING TECHNIQUES OF FACE RECOGNITION:
The various methods are available for face recognition which includes: Principal Component Analysis (PCA) and
Linear Discriminant Analysis (LDA).
In PCA algorithm [2] the number of variables can be reduced statistically. The relevant features are extracted from
the face. In the training set, the obtained images are combined as weighted eigen-vectors and eigenfaces. The
covariance matrix of images in training database provides the eigen-vectors known as basic function and the
corresponding weight is determined by choosing a set of relevant eigenfaces. Values of eigen are increased to
obtain higher face recognition.
Classification of images according to a group of features is carried out by LDA[2,3]. Between class scatter matrix
(SB) and within class scatter matrix (SW) of all the classes of all samples are defined. The differences between
classes are found for recognition. The above methods cannot produce complete information of face due to the loss of
information and they are sensitive to noisy image and lighting conditions in the images [4]. PCA algorithm fails to
recognize the identical twin faces.
III. PROPOSED METHOD
In order to overcome the above problems, local binary pattern algorithm is proposed [5]. The algorithm is less
sensitive to illumination variations and scaling variations. LBP are very efficient approach for feature extraction. It
encodes differences between pixel intensities in a local neighborhood of a pixel. Tiny patterns from a face image are
identified by applying the local binary pattern operator [6].
Face recognition system includes the following modules. Firstly, image acquisition module in which the details of
the image are gathered and these samples are taken for analysis. Secondly, feature extraction module extracts only
significant features from the image. Lastly, classification and training classifier database module classifies the
obtained samples.
i.Face detection:
Face detection is represented by a block diagram as given in Fig.1. A face can be detected by using Haar cascade
classifier from OpenCV. Detection of various organs on the face is carried out by Haar cascade classifier which
operates based on AdaBoost algorithm. The detected faces are stored in a FR100.
Fig.1: Block diagram representing detection of a face
ii. Face Recognition:
The technique of face recognition is depicted in Fig. 2. The calculation of the binary pattern of a face is carried out
by converting it into a gray scale image[7].The LBP operator is not fixed with the radius and neighborhood.
Therefore the algorithm can be applied to the images of different size and texture. The face description is
represented through feature vector. The histograms for the region are calculated. The united histogram represents an
overall description of the face [8].
Fig.2: The block diagram representation of the face Recognition technique.
iii. Database:
Database FR100 is created to recognize a human face. The database stores 100 images of each face with different
facial expressions and postures in an image. During acquisition process database images are converted to gray scale
images for feature extraction. Then the images are normalized for better recognition results. Each image undergoes a
process of normalization to eradicate noise and to align it in proper position.
IV. BLOCK DIAGRAM & WORKING PRINCIPLE OF HARDWARE SETUP
Fig.3: Block diagram representation of Hardware setup
Fig. 4: Working principle for recognition of a face
The hardware setup is shown in Fig. 3 whereas working principle of the face recognition system is depicted by
means of a block diagram as shown in Fig. 4. The hardware module consists of Raspberry pi single board computer
powered by a micro USB socket with 5 Volts, 2.5Amps.The LBP algorithm is made to run in python IDE. The
image is captured by a camera. The obtained color image is converted into grayscale image for further processes.
The required facial region is cropped and is divided into several blocks. The unique ID is assigned to each image in
the database as a result a database is created. Then the extraction of texture features of LBP from the test image is
carried out. A face is recognized by using Harr cascade classifier and recognizer. Database image is used by the
classifier to compare it with the test image. Face recognition is successful only when the test image matches with the
images of the database.
V.FACE RECOGNITION ALGORITHM
Local binary algorithm is applied to perform face recognition. Proposed algorithm is as described below:
1. Inputting of the face image.
2. Dividing the face image into blocks
3. Calculating histogram for each block
4. Combining LBPH histogram into single histogram
5. Comparing the face image with the database image for further processing
6. Successful recognition of the face only when the test image matches with the images of the database.
VI.RESULTS & DISCUSSIONS
Algorithm is tested for its performance using different test images in simulation environment and in hardware setup.
Before applying an algorithm, required face region is cropped as depicted in Fig. 5(a). Input image and LBP Image
are illustrated in Fig. 5(b). The recognition result is represented in Fig. 5(c). The hardware setup result is described
in Fig. 6.
Fig.5: Simulation results of LBP algorithm (a) Cropped Image, (b) Original Image and LBP Image, (c) Detected Image
Fig. 6: Face Detected from experimental Setup
The overall rate of recognition of an LBP algorithm is 89% which is observed in Table I. The experiment is also
extended for images with varying positions of the face. From table II, it can be concluded that rate of recognition of
a face facing the front is greater as compared to the other positions of the face.
Table I: Rate of recognition of FR100 database
No. of
Images in
the
database
No. of
input
faces
tested
Recogni
zed face
Un
Recogniz
ed face
Recogni
tion
Rate
5500
55
49
06
89
TABLE II: Recognition rate of FR100 database at various position of face
Left
58
The results of table III depicts that the recognition rate is high in LBP algorithm when compared to the other face
recognition algorithms such as PCA, 2D-PCA and LDA. This is represented in Fig.7.
Table III: Face Recognition rate of standard face recognition algorithm [9]
Standard face
recognition methods
Recognition
Rate (%)
LBP
89
PCA
64
2D-PCA
63.1
LDA
55
Fig.7: Comparison of various algorithms
VII. CONCLUSION
The paper presented a simple and efficient way of face recognition using LBP algorithm. The design and validation
of real time face recognition is proposed. The proposed system is developed by using LBP algorithm and techniques
of image processing. MATLAB software is used to validate the results in offline mode whereas experimental setup
is used to validate the results in real time. These results match with each other. The rate of recognition of a face by
LBP algorithm is obtained as 89% by which we can prove that above algorithm is better when compared to other
face recognition algorithms. The same work can be extended to an autonomous robot.
REFERENCES
[1] Sarabjit Singh, Amritpal Kaur, Taqdir, "FaceRecognition Technique using Local Binary Pattern Method",
International Journal of Advanced Research in Computer and Communication Engineering Vol. 4, Issue 3, March
2015.
[2] Shubha P, M.Meenakshi, presented a paper entitled “Design and development of image processing algorithms-A
comparison” in an 1stInternational conferences on Advances in Science & Technology ICAST-2018 in association
with IET , India, April 6th-7th2018,Mumbai.,ISSN 0973-6107.
[3]Riyanka, “Face Recognition Based on Principal Component Analysis and Linear Discriminant Analysis”,
IJAREEIE, vol.4, Issue 8, August 2015
[4]Gonzalez and Woods, “Digital ImageProcessing”,3rd Edition, Prentice Hall, Pearson Education, USA ,2008.
[5] Roberto Bruunelli and Tomaso Poggio, "Face Recognition: Features versus Templates", IEEE Transactions on
Pattern analysis and Machine intelligence Vol.15.No.10, October 1993.
[6] P.B.Khanale, Recognition of Marathi Numerals Using Artificial Neural Network, Journal of Artificial
Intelligence 3(3): 135-140, 2010.
[7] A. Rahim, N. Hossain, T. Wahid and S. Azam, "Face Recognition using Local Binary Patterns," Global Journal
of Computer Science and Technology Graphics & Vision, vol. 13, no. 4, pp. 1-9, 2013.
[8] D. Huang, C. Shan, M. Ardabilian, Y. Wang and L. Chen, "Local Binary Patterns and Its Application to Facial
Image Analysis: A Survey," IEEE Transactions on Systems, MAN and Cybernetics-Part C: Applications and
Reviews, vol. 41, no. 6, pp. 765-781, November, 2011.
[9]T S Vishnu Priya, G.Vinitha Sanchez, N.R.Raajan, ”Facial Recognition System Using Local Binary
Patterns(LBP)”, International Journal of Pure and Applied Mathematics, Volume 119 No. 15 2018, 1895-1899
... It is not extremely important to assess whether the masks are properly positioned on the face and should therefore be used under medical supervision [6]. As a result, the use of existing visual mask detection techniques is restricted, and research into computer vision models is encouraged, with the purpose of not only identifying the presence of face masks in pictures but also determining whether the mask is correctly worn or not [7]. ...
Article
The World Health Organization (WHO) considers the COVID-19 Coronavirus to be a global pandemic. The most effective form of protection is to wear a face mask in public places. Moreover, the COVID-19 pandemic prompted all the countries to set up a lockdown to prevent viral transmission. According to a survey study, the use of facemasks at work decreases the chances of fast transmission. If the facemasks are not used or are worn incorrectly, it contributes to the third and fourth waves of the corona virus spreading throughout the world. This motivates us to conduct an efficient investigation of the face mask identification system and monitor people, who use suitable face mask in public places. Deep learning is the most effective approach for detecting whether or not a person is wearing a face mask in a crowded area. Using a multiclass deep learning technique, this research study proposes an efficient two stage identification (ETSI) for face mask detection. Whereas, the binary classification does not offer information about face mask detection and error. The proposed approach employs CNN's "ReLU" activation function to detect the face mask. Furthermore, in the current pandemic crisis, this research article offers a very efficient and precise approach for identifying COVID-19. Precision has increased as a result of the employment of a multi-class abbreviation in the final output.
... For real time face recognition, a LBP [13]. The image of the face is represented by using information about the texture and shape. ...
Article
Face Recognition is considered as a heavily studied topic in computer vision field. The capability to automatically identify and authenticate human's faces using real-time images is an important aspect in surveillance, security, and other related domains. There are separate applications that help in identifying individuals at specific locations which help in detecting intruders. The real-time recognition is mandatory for surveillance purposes. A number of machine learning methods along with classifiers are used for the recognition of faces. This work introduces a new real time face Recognition system. The process is broken into four major steps: (1) database collection, (2) face recognition to identify particular persons and (3) Performance evaluation. For the first step, the system collects 1056 faces in real time for 24 persons using a camera with resolution of 112*92.Second step, efficient real time face recognition algorithm is then used to recognize faces with a known database. For real time face Recognition, VGG-16 with Transfer Learning and Convolutional Neural Network (CNN) are used. This proposed system is implemented using keras. Lastly the performance of these two classifiers is measured using of precision, recall, F1-score, and accuracy.
... For real time face recognition, a LBP [13]. The image of the face is represented by using information about the texture and shape. ...
Chapter
Facial recognition is one of the most important and widely studied topics in the field of Computer Vision and Artificial Intelligence. The ability of automation to detect and verify a person’s face using photography is a very important factor in a number of domains: monitoring, device access control (laptop and mobiles), security, tracking, law enforcement, biometrics, information security, smart cards, surveillance systems, and so forth. Various applications help to identify specific people in specific areas that help to find intruders. Real-time recognition is necessary for surveillance purposes. This chapter introduces an optimized and efficient facial recognition system with a very advanced face recognition algorithm. This proposed methodology is processed into five main stages: (i) Data Collection, (ii) Data Cleaning, (iii) Fine-tuning of the VGG16 model, (iv) Model Training, and (v) Performance Checking. The first step is collecting face images of different people. In the second step, face images are cropped and saved to remove unnecessary, irrelevant, or meaningless data (noise). In the third step, a very popular image recognition model, VGG16, is fine-tuned for the specific case of facial recognition with the help of a Convolutional Neural Network. The proposed work is implemented using a python module named Keras. Lastly, performance is measured using a testing dataset that is different from the training dataset.KeywordsArtificial Neural Network (ANN)Deep Learning (DL)Convolutional Neural Networks (CNNs)VGG16Face RecognitionComputer Vision (CV)Big DataAlexNetResNet
Article
Full-text available
The face of a human being conveys a lot of information about identity and emotional state of the person. Face recognition is an interesting and challenging problem, and impacts important applications in many areas such as identification for law enforcement, authentication for banking and security system access, and personal identification among others. In our research work mainly consists of three parts, namely face representation, feature extraction and classification. Face representation represents how to model a face and determines the successive algorithms of detection and recognition. The most useful and unique features of the face image are extracted in the feature extraction phase. In the classification the face image is compared with the images from the database. In our research work, we empirically evaluate face recognition which considers both shape and texture information to represent face images based on Local Binary Patterns for person- independent face recognition. The face area is first divided into small regions from which Local Binary Patterns (LBP), histograms are extracted and concatenated into a single feature vector. This feature vector forms an efficient representation of the face and is used to measure similarities between images.
Article
Full-text available
Local binary pattern (LBP) is a nonparametric de- scriptor, which efficiently summarizes the local structures of im- ages. In recent years, it has aroused increasing interest in many areas of image processing and computer vision and has shown its effectiveness in a number of applications, in particular for facial im- age analysis, including tasks as diverse as face detection, face recog- nition, facial expression analysis, and demographic classification. This paper presents a comprehensive survey of LBP methodology, including several more recent variations. As a typical application of the LBP approach, LBP-based facial image analysis is extensively reviewed, while its successful extensions, which deal with various tasks of facial image analysis, are also highlighted. Index Terms—Face detection, face recognition, facial expression analysis, local binary patterns (LBPs), local features.
Article
Full-text available
Marathi language is an Indo-Aryan language. It is one of the most popular language used by over ninety million people in India and rest of the world. It is the official language of Government of Maharashtra State, India. Various commercial transactions such as bank transactions takes place in Marathi, particularly in rural part of Maharashtra State. Many times it is needed to process numerals written in Marathi through computer. Recognition of Marathi Numerals is required in various applications where Marathi data need to be processed. It is also the first step towards language understanding. Here, I have proposed a Artificial Neural Network System that can recognize numerals (0-9) written in Marathi language. The system perfectly recognizes ideal numerals and performs reasonably accurate for noisy numerals.
Article
Full-text available
Over the last 20 years, several different techniques have been proposed for computer recognition of human faces. The purpose of this paper is to compare two simple but general strategies on a common database (frontal images of faces of 47 people: 26 males and 21 females, four images per person). We have developed and implemented two new algorithms; the first one is based on the computation of a set of geometrical features, such as nose width and length, mouth position, and chin shape, and the second one is based on almost-grey-level template matching. The results obtained on the testing sets (about 90% correct recognition using geometrical features and perfect recognition using template matching) favor our implementation of the template-matching approach.
Conference Paper
Image processing frameworks are focusing towards the use of computer vision techniques in human PC collaboration and feeling investigation through a space mapping between the constant feeling and an arrangement of discrete feeling classes. While accomplishing great execution, the most productive component space and characterization system for Face Expression Recognition (FER) stay obscure because of absence of correlation study. The Adaboost Algorithm is quickly clarified and executed in our program. This study enhances the acknowledgment exactness and the execution time of facial expression recognition framework.
Article
3 Abstract: LBP is really a very powerful method to explain the texture and model of a digital image. Therefore it was ideal for feature extraction in face recognition systems. A face image is first split into small regions that LBP histograms are extracted and then concatenated in to a single feature vector. This vector forms an efficient representation of the face area and can be used to measure similarities between images. Automatic facial expression analysis is a fascinating and challenging problem, and impacts important applications in several areas such as human- computer interaction and data-driven animation. Deriving a facial representation from original face images is an essential step for successful facial expression recognition method. In this paper, we evaluate facial representation predicated on statistical local features, Local Binary Patterns, for facial expression recognition. Various machine learning methods are systematically examined on several databases. Broad experiments illustrate that LBP features are effective and efficient for facial expression recognition.
Article
Viola and Jones [9] introduced a method to accurately and rapidly detect faces within an image. This technique can be adapted to accurately detect facial features. However, the area of the image being analyzed for a facial feature needs to be regionalized to the location with the highest probability of containing the feature. By regionalizing the detection area, false positives are eliminated and the speed of detection is increased due to the reduction of the area examined.
Design and development of image processing algorithms-A comparison" in an 1 st International conferences on Advances in Science & Technology ICAST-2018 in association with IET
  • P Shubha
  • M Meenakshi
Shubha P, M.Meenakshi, presented a paper entitled "Design and development of image processing algorithms-A comparison" in an 1 st International conferences on Advances in Science & Technology ICAST-2018 in association with IET, India, April 6 th -7 th 2018,Mumbai.,ISSN 0973-6107.
Facial Recognition System Using Local Binary Patterns(LBP)
  • T S Vishnu Priya
  • G Sanchez
  • N R Raajan
T S Vishnu Priya, G.Vinitha Sanchez, N.R.Raajan, "Facial Recognition System Using Local Binary Patterns(LBP)", International Journal of Pure and Applied Mathematics, Volume 119 No. 15 2018, 1895-1899