Table 4: Error rate with SVM considering the Whole Image.
SVM Test Image Val. Hist. PCA 40 PCA 90 PCA 130
Grayscale image 10.6% 42.9% 11.3% 10.4% 10.1%
Uniform LBP 27.2% 35.7% 25.9% 27.6% 27.0%
Simplified LBP 26.2% 38.2% 27.5% 27.7% 28.8%
just analyzing eyes and mouth, there is an increase
of the amount of useful information to take the most
suitable decision.
For the next part of the experiments we have used
SVM as classification criteria. It must be specified
that, for the SVM test, there are five possible repre-
sentation approaches: image values, normalized his-
tograms, PCA 40, PCA 90 and PCA 130. The number
next to PCA refers to the dimension of the representa-
tion space, i.e. it indicates the number of eigenvectors
used for projecting the face image.
As it can be seen on Tables 2 and 4 the error rates
achieved using the grayscale images are the best rates
in almost every situation. None of the LBP based rep-
resentations outperforms that approach. However, the
Uniform LBP approach evidences a larger improve-
ment when normalized histograms are used. Simpli-
fied LBP approach reported better results than Uni-
form LBP except for the normalized histograms.
Restricting the input data to the most expressive
facial areas, again the Grayscale approach presents
the best performance with a clear improvement above
the k-NN tests rates. This effect suggests that focus-
ing on those areas, some noise is removed in the rep-
resentation information, situation not observed with
k-NN, and this allows the use of powerful classifiers.
When the normalized image values vector based
representation is used, the grayscale image test
achieved the lowest error rate.
For the PCA rates, the behaviour of those error
rates is quite similar to the behaviour obtained previ-
ously with the rates of the image values test. Again
grayscale image test achieved the lowest error rates.
When the histogram based representation is used,
the Uniform LBP error rate is the lowest. This ap-
proach seems to model properly the smile texture
even when the histogram is losing the relative location
information. However, this feature is quite similar
for the Simplified LBP approach, its histogram loses
information but the rates achieved are similar. The
grayscale image test achieved its highest error rate in
this case, higher than the Uniform LBP and Simplified
LBP approaches, which means that the Grayscale ap-
proach is very sensitive to the relative location of the
information.
For the SVM setting already explained, strategical
blocks of eyes and mouth for image parts are trans-
lated into a reduction of the number of dimensions.
The improvement of image parts is due to this fact.
Of course, it should be mentioned that PCA reduces
dimensions too, that is the reason why the grayscale
image test with PCA achieved better results than the
image values test.
5 CONCLUSIONS
This paper described a smile detection using differ-
ent LBP approaches, as well as grayscale image rep-
resentation, combined with two different classifica-
tion methods: k-NN and SVM. It has been shown
the potentiality of Simplified LBP as a preprocessing
method for smile verification, specially in SVM test.
Observing in detail the differences achieved be-
tween the Uniform LBP and the Simplified LBP. The
distribution of Simplified LBP can be used as a good
representation for images with more or less uniform
textures, but for the face image it is not enough.
Therefore, if the area is restricted to just the mouth,
the performance increases, due to the fact that other
textures are removed, even if it loses connection be-
tween patterns and their relative position in face.
In this paper we have developed a static smile
clasiffier achieving, in some cases, a 90% of success
rate. Smile detection in video streams, where tempo-
ral coherence is implicit, will be studied, as a cue to
get the ability to recognize the dynamics of the smile
expression.
REFERENCES
Chang, C.-C. and Lin, C.-J. (2001). LIBSVM: a library
for support vector machines. Software available at
http://www.csie.ntu.edu.tw/ cjlin/ libsvm.
Ekman, P., Davidson, R., and Friesen, W. (1990). The.
duchenne smile: emotional expression and brain phys-
iology. ii. Journal of Personality and Social Psychol-
ogy.
Kirby, Y. and Sirovich, L. (1990). Application of the
Karhunen-Lo
´
eve procedure for the characterization of
human faces. IEEE Trans. on Pattern Analysis and
Machine Intelligence, 12(1).
Ojala, T., Pietikinen, M., and Menp, T. (2002). Multiresolu-
tion gray-scale and rotation invariant texture classifi-
cation with local binary patterns. IEEE Trans. on Pat-
tern Analysis and Machine Intelligence, 24(7):971–
987.
Tao, Q. and Veldhuis, R. (2007). Illumination normaliza-
tion based on simplified local binary patterns for a face
verification system. In Proc. of the Biometrics Sympo-
sium, pages 1–6.
SMILE DETECTION USING LOCAL BINARY PATTERNS AND SUPPORT VECTOR MACHINES
401