Skip to main content

Emotion Detection Based on Facial Expression Using YOLOv5

  • Conference paper
  • First Online:
Intelligent Systems Design and Applications (ISDA 2022)

Abstract

Human emotions can be understood from facial expressions, a type of nonverbal communication. Facial emotion recognition is a technology that analyzes emotions from various sources such as images and videos. Emotion recognition is an important topic due to its wide range of applications. In this paper, the YOLOv5 (You Look Only Once) model was used to detect basic human emotions. Capturing facial expressions aids to identify the emotion based on which various suggestions can be proposed, such as songs and movie recommendations. There are numerous models for emotion detection in different architectural styles. In this article, we present a less explored YOLOv5 model. It is more accurate and gives a real time result than the previous detection algorithms. 40 images from the FER2013 dataset were used to train our YOLOv5 model and accuracy of 50% was achieved with the proposed model.

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

Access this chapter

Subscribe and save

Springer+ Basic
$34.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
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 219.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 279.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping 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. Garg, D., Goel, P., Pandya, S., Ganatra, A., Kotecha, K.: A deep learning approach for face detection using Yolo. 2018 IEEE Punecon (2018) https://doi.org/10.1109/punecon.2018.8745376

  2. Yang, W., Jiachun, Z.: Real-time face detection based on Yolo. In: 2018 1st IEEE International Conference on Knowledge Innovation and Invention (ICKII) (2018). https://doi.org/10.1109/ickii.2018.8569109

  3. Lu, Z., Lu, J., Ge, Q., Zhan, T.: Multi-object detection method based on Yolo and ResNet Hybrid Networks. In: 2019 IEEE 4th International Conference on Advanced Robotics and Mechatronics (ICARM). (2019) https://doi.org/10.1109/icarm.2019.8833671

  4. . Rajendran, S.P., Shine, L., Pradeep, R., Vijayaraghavan, S.: Real-time traffic sign recognition using yolov3 based detector. In: 2019 10th International Conference on Computing, Communication and Networking Technologies (ICCCNT) (2019). https://doi.org/10.1109/icccnt45670.2019.8944890

  5. Mindoro, J.N., Pilueta, N.U., Austria, Y.D., Lolong Lacatan, L., Dellosa, R.M.: Capturing students’ attention through visible behavior: a prediction utilizing yolov3 approach. In: 2020 11th IEEE Control and System Graduate Research Colloquium (ICSGRC) (2020). https://doi.org/10.1109/icsgrc49013.2020.9232659

  6. Mehta, K., Bhinge, A., Deshmukh, A., Londhe, Aa.: Facial detection and recognition among heterogenous multi object frames. Int. J. Eng. Res. V9(01) (2020). https://doi.org/10.17577/IJERTV9IS010175

  7. E.K., V., Ramachandran, C.: Real-time gender identification from face images using you only look once (YOLO). In: 2020 4th International Conference on Trends in Electronics and Informatics (ICOEI) (48184) (2020). https://doi.org/10.1109/icoei48184.2020.9142989

  8. Bhambani, K., Jain, T., Sultanpure, K.A.: Real-time face mask and social distancing violation detection system using Yolo. In: 2020 IEEE Bangalore Humanitarian Technology Conference (B-HTC) (2020). https://doi.org/10.1109/b-htc50970.2020.9297902

  9. Wu, K., Bai, C., Wang, D., Liu, Z., Huang, T., Zheng, H.: Improved object detection algorithm of Yolov3 Remote Sensing Image. IEEE Access 9, 113889–113900 (2021). https://doi.org/10.1109/access.2021.3103522

    Article  Google Scholar 

  10. Vajgl, M., Hurtik, P., Nejezchleba, T.: Dist-YOLO: fast object detection with distance estimation. Appl. Sci. 12(3), 1354 (2022). https://doi.org/10.3390/app12031354

    Article  Google Scholar 

  11. Redmon, J., Divvala, S., Girshick, R., Farhadi, A.: You only look once: unified, real-time object detection. 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) (2016). https://doi.org/10.1109/cvpr.2016.91

  12. Redmon, J., Farhadi, A.: Yolo9000: Better, faster, stronger. In: 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) (2017). https://doi.org/10.1109/cvpr.2017.690

  13. Redmon, J., Farhadi, A.: Yolov3: an incremental improvement. arXiv.org (2018). https://arxiv.org/abs/1804.02767. Accessed 19 Oct 2022

  14. Bochkovskiy, A., Wang, C.-Y., Liao, H.-Y.M.: Yolov4: Optimal Speed and accuracy of object detection. arXiv.org. (2020). https://arxiv.org/abs/2004.10934v1. Accessed 19 Oct 2022

  15. Nepal, U., Eslamiat, H.: Comparing Yolov3, Yolov4 and Yolov5 for autonomous landing spot detection in faulty uavs. Sensors 22(2), 464 (2022).https://doi.org/10.3390/s22020464

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Awais Shaikh .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 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

Shaikh, A., Kanojia, M., Mishra, K. (2023). Emotion Detection Based on Facial Expression Using YOLOv5. In: Abraham, A., Pllana, S., Casalino, G., Ma, K., Bajaj, A. (eds) Intelligent Systems Design and Applications. ISDA 2022. Lecture Notes in Networks and Systems, vol 716. Springer, Cham. https://doi.org/10.1007/978-3-031-35501-1_21

Download citation

Publish with us

Policies and ethics