LBPH
LBPH
Abstract—The Local Binary Pattern Histogram(LBPH) gray value of the pixel is replaced by the median value of its
algorithm is a simple solution on face recognition problem, neighborhood sampling valueˈand then creating the face
which can recognize both front face and side face. However, database of our own, extracting LBP feature and MLBP
the recognition rate of LBPH algorithm under the conditions feature, and being trained in the face database. After that, it
of illumination diversification, expression variation and is extracted the feature of testing images, established block
attitude deflection is decreased. To solve this problem, a
histogram, and compared with the database, and then printed
modified LBPH algorithm based on pixel neighborhood gray
the corresponding name in face recognition frame.
median(MLBPH) is proposed. The gray value of the pixel is
replaced by the median value of its neighborhood sampling
Start
value, and then the feature value is extracted by the sub blocks
and the statistical histogram is established to form the MLBPH Load Face Database
feature dictionary, which is used to recognize the human face
identity compared with test image. Experiments are carried on N
Is Camera Open?
FERET standard face database and the creation of new face
database, and the results show that MLBPH algorithm is Y
superior to LBPH algorithm in recognition rate.
Read an Image
In this way, the 8 points in the 3*3 neighborhood are The rest steps and parameters of the MLBPH algorithm
compared to produce 8-bit binary numbers. Converting it to are the same as those of the LBPH algorithm. The flow chart
decimal numbers, the LBP values of the central pixel points of the MLBPH algorithm is shown in Fig. 6.
of the window are obtained, which is used to reflect the
texture features of the region. The current LBPH algorithm
uses an improved circular LBP operator. It can be
represented by Fig.4. and formula 2. Label
Form
Divide Extract Construct
All MLBP
Image MLBP Statistical
Training Feature
Into Feature Histogram
Image Value
Blocks Value
Dictionary
Calculating
Divide Extract
Figure 4. Circular LBP operator. Test Image MLBP
Construct
Statistical
MLBPH
Feature of
Similarity
Degree,
Recognition
Image Into Feature End
Histogram Sub Blocks Judging
Blocks Value
Category
P 1
LBP
P
R
¦ s( g
P 0
P g C )2 P (2)
Figure 6. MLBPH algorithm flow chart.
C. Face Database
Experiments were performed on the FERET face
database and the created face database.
The FERET database contains multiple subsets .Select
one of the subsets for the experiment. The subset contains
200 different people, each with 7 different face images,
including light, facial expressions, and gesture changes.
Some of the human face images are shown in Fig. 7.
MLBPH 187 313 37.4% Figure 10. Face recognition of different expression.
As can be seen from TABLE III and TABLE IV, the TABLE VII. DIFFERENT RECOGNITION RATE OF CREATED Database
MLBPH algorithm can more effectively highlight the local
Algorithm 10% 30% 60%
features of expression changes, thus improving the
recognition rate. LBPH 97.4% 76.2% 29.4%
Algorithm Recognition
Correct Times Wrong Times
rate
LBPH 886 114 88.60%
MLBPH 926 74 92.60%
Figure 12. 10% recognition rate of created database.
In the experiment, rotating the head around the camera, it
can be found that the deflection angle is about 30 degrees at
both left and right. Read 500 frames at a time, repeat 10
times, and take the average. The results are shown in Table
VI. The recognition results are shown in figure 11.
IV. CONCLUSION AND PROSPECT [2] J. CHAO W L, DING J J, LIU J Z. Facial expression recognition
based on improved local binary pattern and class-regularized locality
The recognition rate of local binary pattern histogram preserving projection. Signal Processing, 2015, 117:1-10.
(LBPH) algorithm can be reduced under illumination, [3] J. HU Liqiao, QIU Runhe. Face recognition based on adaptive
expression change and attitude deflection. To solve this weighted HOG. Computer Enigeering and Applications, 2017, 53(3):
problem, a LBPH algorithm based on neighborhood gray 164-168.
median(MLBPH) is proposed. Use the median of the [4] J. Hai qiang LONG,Tai zhe TAN. Computer Simulation, 2017, 34(1):
neighborhood sampling values to instead of intermediate 322-325.
values, thereby reducing the effects of extraction conditions
[5] J. Yu yan JIANG, Ping LI, Qing WANG. Labeled LDA model based
on the characteristic value of illumination. Experiments are on shared background topic. Acta Electronica Sinica, 2015, 2013, (9):
carried out on FERET standard face database and created 1794-1799.
face database. And the results show that MLBPH algorithm [6] J. WU Qi, WANG Tang-hong, LI Zhan-li. Imporved face recognition
is superior to LBPH algorithm in recognition rate. However, algorithm based on Gabor feature and collaborative representation.
the problem of lens distortion still has not been solved, which Computer Engineering and Design, 2016, 37(10): 2769-2774.
will affect the face recognition rate. This is the direction of [7] J. Turk M, Pentland A. Eigenfaces for recognition. Journal of
our next work. cognitiveneuroscience, 1991, 3(1): 71-86.