Genetic Algorithms in Machine Learning Applied to Computer Vision: Facial Emotion Recognition

  • Conference paper
  • First Online:
IX Latin American Congress on Biomedical Engineering and XXVIII Brazilian Congress on Biomedical Engineering (CLAIB 2022, CBEB 2022)

Abstract

In the literature, the recognition of human facial emotions has been highly improved. However, the great challenge is to perform the training of efficient and fast algorithms due to the large volume of input data. This article presents a new approach to emotion classification. Instead of using information vectors of all pixels extracted from the image, the pre-sent study works with 7 Euclidean distances considering key points of the face: corners of the mouth, eyes and tip of the nose, in addition to the mean and variance of the facial region, totaling 9 input attributes. Thus, we aim verify by neurogenetic algorithms if it is possible to use one-dimensional data as information carrier to facial emotion classification. Two classification algorithms were performed separately: Support Vector Machine and Multi-Layer Perceptron. Then, a genetic algorithm was applied to select the more appropriate input at-tributes for each architecture. By this we analyze which variables were really relevant for the classification. The database of facial emotions used was the Warsaw Set of Emotional Facial Expression Pictures (WSEFEP) containing 210 images of 30 individuals. Altogether, the database presents images of 7 facial emotions: angry, disgusted, happy, neutral, sad, surprised, and afraid. The best result was found for the MLP architecture with 6 input attributes. The global average accuracy found was 51%, being 88% and 83% for the prediction of happy and surprised emotions, respectively.

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

Access this chapter

Subscribe and save

Springer+ Basic
EUR 32.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or Ebook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
EUR 29.95
Price includes VAT (France)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
EUR 213.99
Price includes VAT (France)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
EUR 263.74
Price includes VAT (France)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free ship** worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Li, J., **, K., Zhou, D., Kubota, N., Ju, Z.: Attention mechanism-based CNN for facial expression recognition. Neurocomputing 411, 340–350 (2020)

    Article  Google Scholar 

  2. Sajjad, M.S., Zahir, A., Ullah, Z., Akhtar, Muhammad, K.: Human behavior understanding in big multimedia data using CNN based facial expression recognition. Mobile Netw Appl 25,1611–1621 (2020)

    Google Scholar 

  3. Kumar, A., Sharma, K., Sharma, A.: MEmoR: a multimodal emotion recognition using affective biomarkers for smart prediction of emotional health for people analytics in smart industries. Image Vis. Comput. 123, 104483 (2022)

    Article  Google Scholar 

  4. Saxena, S.: An intelligent facial expression recognition system with emotion intensity classification, 39–52 (2022)

    Google Scholar 

  5. Ekman, P.: An argument for basic emotions. Cognition and Emotion, 6 (1992)

    Google Scholar 

  6. Lopes, A.T., De Aguiar, E., Oliveira-Santos, T.: A facial expression recognition system using convolutional networks. In: Brazilian Symposium of Computer Graphic and Image Processing, pp. 273–280 (2015)

    Google Scholar 

  7. Kaushik, H., Kumar, T., Bhalla, K.: iSecureHome: a deep fusion framework for surveillance of smart homes using real-time emotion recognition. Appl. Soft Comput. 122 (2022)

    Google Scholar 

  8. Guo, Y.: Facial Expressions recognition with multi-region divided attention networks for smart education cloud applications, 119–128 (2022)

    Google Scholar 

  9. Chai, J., Zeng, H., Li, A., Ngai, E.W.T.: Deep learning in computer vision: a critical review of emerging techniques and application scenarios. Mach. Learn. with Appl. 6(August), 100–134 (2021)

    Google Scholar 

  10. Nixon, M., Aguado, A.: Feature extraction and image processing for computer vision (2019)

    Google Scholar 

  11. Snyder, W., Qi, H.: Fundamentals of Computer Vision. Cambridge University Press, Cambridge (2017)

    Book  Google Scholar 

  12. Awad, A.I., Hassaballah, M.: Image feature detectors and descriptors. Springer International Publishing AG, vol. 630 (2016)

    Google Scholar 

  13. Jerubbaal John Luke, M.B., Joseph, R., Cognitive, impact of image size on accuracy and generalization of convolutional neural networks. Int. J. Res. Analyt. Rev. (IJRAR), 6, 70–80 (2019)

    Google Scholar 

  14. Canal, F.Z., Müller, T.R., Matias, J.C., Scotton, G.G., de Sa Junior, A.R., Pozzebon, E., Sobieranski, A.C.: A survey on facial emotion recognition techniques: a state-of-the-art literature review. Inf. Sci. 582, 593–617 (2022)

    Google Scholar 

  15. Minaae, S.: Deep-emotion: facial expression recognition using attentional convolutional network (2021)

    Google Scholar 

  16. Thuseethan, S., Rajasegarar, S., Yearwood, J.: EmoSeC: emotion recognition from scene context. Neurocomputing 492, 174–187 (2022)

    Article  Google Scholar 

  17. Xu, C., Yan, C., Jiang, M., Alenezi, F., Alhudhaif, A., Alnaim, N., Polat, K., Wu, W.: A novel facial emotion recognition method for stress inference of facial nerve paralysis patients. Exp. Syst. Appl.197, 116705 (2022)

    Google Scholar 

  18. Zhang, J., Yu, H.: Improving the facial expression recognition and its interpretability via generating expression pattern-map. Pattern Recogn. 128 (2022)

    Google Scholar 

  19. Pal, A.R., Pratihar, D.K.: Estimation of joint torque and power consumption during sit-to-stand motion of human-being using a genetic algorithm. Proced. Comput. Sci. 96, 1497–1506 (2016)

    Article  Google Scholar 

  20. Leal-Naranjo, J.A., Ceccarelli, M., Miguel, C.R.T.S.: Mechanical design of a prosthetic human arm and its dynamic simulation. Adv. Intell. Syst. Comput. 540, 482–490 (2017)

    Article  Google Scholar 

  21. Ganesh, R., Kumar, D.: Blind source separation based classification scheme for myoelectric prosthesis hand. Intell. Mechatron. (2011)

    Google Scholar 

  22. Dadula, C.P., Dadios, E.P.: A genetic algorithm for blind source separation based on independent component analysis. In: 2014 International Conference on Humanoid, Nanotechnology, Information Technology, Communication and Control, Environment and Management, pp. 0–5 (2014)

    Google Scholar 

  23. Deng, J., Guo, J., Zhou, Y., Yu, J., Kotsia, I., Zafeiriou, S.: RetinaFace: single-stage dense face localisation in the wild. Cornell University (2019)

    Google Scholar 

  24. Amanda, R.F.J.: Machine learning emotion recognition, GitHub repository. Available at: https://github.com/AmandaRosa/Machine_Learning_Emotion_Recognition. Last accessed 01 Jan 2023

  25. Lopes, A.T., de Aguiar, E. De Souza, A.F., Oliveira-Santos, T.: Facial expression recognition with convolutional neural networks: co** with few data and the training sample order. Pattern Recognit. 61, 610–628 (2017)

    Google Scholar 

  26. Lucey, P., et al.: The extended Cohn-Kanade (CK+): A complete dataset for action unit and emotion-specified expression. IEEE Comput. Soc. Conf. Comput. Vis. Pattern Recogn. Works. 4, 94–101 (2010)

    Google Scholar 

  27. Slimani, K., Kas, M., El Merabet, Y., Messoussi, R., Ruichek, Y.: Facial emotion recognition: a comparative analysis using 22 LBP variants. ACM Int. Conf. Proc. Ser. 88–94 (2018)

    Google Scholar 

  28. Kanade, T., Cohn, J., Yingli, T.: Comprehensive database for facial expression analysis. In: Proceeding fourth IEEE international conference automatic face and gesture recognition (Cat. No. PR00580) (2000)

    Google Scholar 

  29. Katoch, S., Kumar, V.: A review on genetic algorithm: past, present, and future. Multimedia Tools Appl 80, 8091–8126 (2021)

    Article  Google Scholar 

Download references

Acknowledgments

The authors are thankful to the Federal University of Uberlândia, and to the funding agencies Fapemig and CNPq.

Conflict of Interest

The authors declare that they have no conflict of interest.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Amanda Rosa F. Jorge .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Jorge, A.R.F., da Cunha, M.J., Soares, A.B. (2024). Genetic Algorithms in Machine Learning Applied to Computer Vision: Facial Emotion Recognition. In: Marques, J.L.B., Rodrigues, C.R., Suzuki, D.O.H., Marino Neto, J., García Ojeda, R. (eds) IX Latin American Congress on Biomedical Engineering and XXVIII Brazilian Congress on Biomedical Engineering. CLAIB CBEB 2022 2022. IFMBE Proceedings, vol 98. Springer, Cham. https://doi.org/10.1007/978-3-031-49401-7_12

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-49401-7_12

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-49400-0

  • Online ISBN: 978-3-031-49401-7

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics

Navigation