Skip to main content
Log in

Real-time moustache detection by combining image decolorization and texture detection with applications to facial gender recognition

  • Original Paper
  • Published:
Machine Vision and Applications Aims and scope Submit manuscript

Abstract

There are still many challenging problems in facial gender recognition which is mainly due to the complex variances of face appearance. Although there has been tremendous research effort to develop robust gender recognition over the past decade, none has explicitly exploited the domain knowledge of the difference in appearance between male and female. Moustache contributes substantially to the facial appearance difference between male and female and could be a good feature to be incorporated into facial gender recognition. Little work on moustache segmentation has been reported in the literature. In this paper, a novel real-time moustache detection method is proposed which combines face feature extraction, image decolorization and texture detection. Image decolorization, which converts a color image to grayscale, aims to enhance the color contrast while preserving the grayscale. On the other hand, moustache appearance is normally grayscale surrounded by the skin color face tissue. Hence, it is a fast and efficient way to segment the moustache by using the decolorization technology. In order to make the algorithm robust to the variances of illumination and head pose, an adaptive decolorization segmentation has been proposed in which both the segmentation threshold selection and the moustache region following are guided by some special regions defined by their geometric relationship with the salient facial features. Furthermore, a texture-based moustache classifier is developed to compensate the decolorization-based segmentation which could detect the darker skin or shadow around the mouth caused by the small lines or skin thicker from where he/she smiles as moustache. The face is verified as the face containing a moustache only when it satisfies: (1) a larger moustache region can be found by applying the decolorization segmentation; (2) the segmented moustache region is detected as moustache by the texture moustache detector. The experimental results on color FERET database showed that the proposed approach can achieve 89 % moustache face detection rate with 0.1 % false acceptance rate. By incorporating the moustache detector into a facial gender recognition system, the gender recognition accuracy on a large database has been improved from 91 to 93.5 %.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14

Similar content being viewed by others

References

  1. Li, X., Maybank, S.J., Yan, S., Tao, D., Xu, D.: Gait components and their application to gender recognition. IEEE Trans. Syst. Man Cybern. Part C Appl. Rev. 38(2), 145–155 (2008)

    Article  MATH  Google Scholar 

  2. Yuan, Y., Pang, Y., Li, X.: Footware for gender recognition. IEEE Trans. Circuit. Syst Video Technol. 20(1), 131–135 (2010)

    Article  Google Scholar 

  3. Childers, D.G., Wu, K.: Gender recognition from speech. J. Acoust. Soc. Am. 90(4) (1991)

  4. Wang, J.-G., Li, J., Yau, W.-Y., Sung, E.: Boosting dense SIFT descriptors and shape contexts of face images for gender recognition. In: CVPRW, pp. 1–8 (2010)

  5. Moghaddam, B., Yang, M.-H.: Learning gender with support faces. In: Proceedings of the fourth IEEE International Conference on Automatic Face and Gesture Recognition, May (2002)

  6. Baluja, S., Rowley, H.A.: Boosting sex identification performance. Int. J. Comput. Vis. 71(1), 111–119 (2007)

    Article  Google Scholar 

  7. Shan, C.: Learning local binary patterns for gender classification on real-world face images. Pattern Recogn. Lett. 33(4), 431–437 (2012)

    Article  Google Scholar 

  8. Bekios-Calfa, J., Buenaposada, J.M., Baumela, L.: Robust gender recognition by exploiting facial attributes dependencies. Pattern Recogn Lett (2013)

  9. Enrico, G., Andrea, L., Luca, P., Massimo, T.: Understanding critical factors in appearance-based gender categorization. In: Computer Vision-ECCV 2012. Workshops and Demonstrations. Springer, Berlin Heidelberg (2012)

  10. Bekios-Calfa, J., Buenaposada, J.M., Baumela, L.: Revisiting linear discriminant techniques in gender recognition. IEEE Trans. Pattern Anal. Mach. Intel. 33(4), 858–864 (2011)

    Article  Google Scholar 

  11. Kumar, N., Berg, A., Belhumeur, P., Nayar, S.K.: Attribute and simile classifiers for face verification. In: International Conference on Computer Vision (2009)

  12. Kumar, N., Berg, A.C., Belhumeur, P.N., Nayar, S.K.: Describable visual attributes for face verification and image search. IEEE Trans. Pattern Anal. Mach. Intell. 33(10), 1962–1977 (2011)

    Article  Google Scholar 

  13. Cherniavsky, N., Laptev, I., Sivic, J., Zisserman, A.: Semi-supervised learning of facial attributes in video. In: Trends and Topics in Computer Vision, pp. 43–56. Springer, Berlin (2012)

  14. Hadid, Pietikainen: M.: Combining appearance and motion for face and gender recognition from videos. Pattern Recogn. 42(11), 2818–2827 (2009)

    Article  Google Scholar 

  15. Lu, X., Chen, H., Jain, A.K.: Multimodal facial gender and ethnicity identification. ICB 2006, 554–561 (2006)

    Google Scholar 

  16. Sadr, J., Jarudi, I., Shinha, P.: The role of eyebrows in face recognition. In: Perception, pp. 285–293 (2003)

  17. Wang, J.-G., Wang, H.-L., Ye, M., Yau, W.-Y.: Real-Time Gender Recognition with Unaligned Face Images. In: 5th IEEE Conference on Industrial Electronics and Applications, Taichung, Taiwan, 15–17 June (2010)

  18. Yacoob, Y., Davis, L.: Detection, analysis and matching of hair. IEEE Trans Pattern Anal. Mach. Intell. 28(7), 1164–1169 (2006)

    Google Scholar 

  19. Lee, K.-C., Anguelov, D., Sumengen, B., Gokturk, S.B.: Markov random field models for hair and face segmentation. FG2008, pp. 1–6

  20. Dargham, J.A., Chekima, A.: Lips detection in the normalized RGB color scheme. IEEE Inf Comm Tech (2006)

  21. Zhang, J.-M., Wang, L.-M., Niu, D.-J., Zhan, Y.-Z.: Research and implementation of a real time approach to lip detection in video sequence. In: IEEE International Conference on Machine Learning and Cybernetics (2003)

  22. Nguyen, M.H., Lalonde, J.-F., Efros, A.A., de la Torre, F.: Image-based shaving. Comput. Graph. Forum J. (Eurographics 2008) 27(2), 627–635 (2008)

    Google Scholar 

  23. Shi, J., Malik, J.: Normalized cuts and image segmentation. IEEE Trans. Pattern Anal. Mach. Intel 22(8), 888–905 (2000)

    Article  Google Scholar 

  24. Le, T., Luu, K., Seshadri, K., Savvides, M.: Beard and mustache segmentation using sparse classifiers on self-quotient images. ICIP2012, pp. 165–168

  25. Cootes, T.F., Cooper, D., Taylor, C.J., Graham, J.: Active shape models-their training and application. Comput. Vis. Image Understand. 61(1), 38–59 (1995)

    Article  Google Scholar 

  26. Multiple Biometric Grand Challenge. http://www.nist.gov/itl/iad/ig/mbgc.cfm

  27. Phillips, P.J., Moon, H., Rauss, P.J., Rizvi, S.: The FERET evaluation methodology for face recognition algorithms. IEEE Trans. Pattern Anal. Mach. Intell. 22(10), 1090–1104 (2000)

    Google Scholar 

  28. Jones, M.J., Rehg, J.M.: Statistical color models with application to skin detection. Int. J. Comput. Vis. 46(1), 81–96 (2002)

    Article  MATH  Google Scholar 

  29. Kakumanu, P., Makrogiannis, S., Bourbakis, N.: A survey of skin-color modeling and detection methods. Pattern Recogn. 40(3), 1106–1122 (2007)

    Article  MATH  Google Scholar 

  30. Viola, P., Jones, M.J.: Robust real-time face detection. IJCV, 57(2), (2004)

  31. Wang, J.-G., Sung, E.: Frontal-view face detection and facial feature extraction using color and morphological operations. PRL 20(10), 1053–1068 (1999)

    Article  Google Scholar 

  32. Gooch, A.A., Olsen, S.C., Tumblin, J., Gooch, B.: Color2Gray: salience-preserving color removal. ACM Trans. Graphics 24, 634–639 (2005). (Proceedings of SIGGRAPH)

    Google Scholar 

  33. Rasche, K., Geist, R., Westall, J.: Re-coloring images for gamuts of low dimension. Comput. Graphics Forum 24, 423–432 (2005) (Proceedings of EUROGRAPHICS)

    Google Scholar 

  34. Strickland, R.N., Kim, C.S., McDonnell, W.F.: Digital color image enhancement based on the saturation component. Optical Eng. 26, 609–616 (1987)

    Article  Google Scholar 

  35. Grundland, M., Dodgson, N.A.: Decolorize: fast, contrast enhancing, color to grayscale conversion. Pattern Recogn. 40(11), 2891–2896 (2007)

    Article  Google Scholar 

  36. Otsu, N.: A threshold selection method from gray-level histograms. IEEE Trans. Syst. Man Cybernet. 9(1), 62–69 (1979)

    Article  MathSciNet  Google Scholar 

  37. Lowe, D.G.: Object recognition from local scale-invariant features. In: Proceedings of IEEE International Conference on Computer Vision, Kerkyra, Greece, pp. 1150–1157 (1999)

  38. Liu, C., Yuen, J., Torralba, A.: SIFT Flow: dense correspondence across scenes and its applications. IEEE Trans. PatternAnal.Mach. Intell. 33(5), 978–994 (2011)

    Google Scholar 

  39. Belongie, S., Malik, J., Puzicha, J.: Shape matching and object recognition using shape contexts. IEEE Trans. Pattern Anal. Mach. Intell. 24(4), 509–522 (2002)

    Article  Google Scholar 

  40. GML AdaBoost toolbox. http://graphics.cs.msu.ru/en/science/research/machinelearning/adaboosttoolbox

  41. Huang, G.B., Ramesh, M., Berg, T., Learned-Miller, E.: Labeled Faces in the Wild: A Database for Studying Face Recognition in Unconstrained Environments. University of Massachusetts, Amherst, Technical, Report 07–49 October (2007)

  42. Cascade Classifier. http://docs.opencv.org/doc/tutorials/objdetect/cascade_classifier/cascade_classifier.html

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jian-Gang Wang.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Wang, JG., Yau, WY. Real-time moustache detection by combining image decolorization and texture detection with applications to facial gender recognition. Machine Vision and Applications 25, 1089–1099 (2014). https://doi.org/10.1007/s00138-014-0597-2

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00138-014-0597-2

Keywords

Navigation