V.O. Bolilyi, L.P. Sukhovirska, Yu.M. Hordiienko

Èlektron. model. 2023, 45(5):89-102


The article explains the face recognition process. The stages of recognition of emotions on the face and groups according to the field of application of FER are described. The main types of emotional artificial intelligence are distinguished. Seven recognized universal emotions are considered. A custom facial recognition script has been developed. Realized the functions of reading and detecting emotions live through a webcam using DeepFace.The research examines the development of the program "Recognition of user emotions using artificial intelligence." The following tasks were implemented in the work: writing the function of detecting a person in a photo or video and teaching the program to distinguish different facial emotions: happiness, sadness, anger, etc., using the DeepFace and OpenCV face recognition package. The developed computer program can be used in various aspects of everyday life: provision of personalized services, health care, employment, education, public safety. The program was tested by students of higher education major 122 "Computer science" of the Central Ukrainian State University named after V. Vinnichenko.


artificial intelligence, programming, emotions, DeepFace, OpenCV.


  1. Abdat F., et al. Human-Computer Interaction Using Emotion Recognition from Facial Expression. In: 2011 UKSim 5th European Symposium on Computer Modeling and Simulation. 2011.
  2. Cowie, R. et al. Emotion recognition in humancomputer interaction. In: IEEE Signal Processing Magazine. 2021.
  3. Konstantina Vemou, Anna Horvath. Facial Emotion Recognition.
  4. Facial recognition: top 7 trends (tech, vendors, use cases). 10.3389/fpsyg.2021.759485/full
  5. Song Z. Facial Expression Emotion Recognition Model Integrating Philosophy and Machine Learning Theory. Front. Psychol.
  6. Priya Dwivedi Face. Detection, Recognition and Emotion Detection in 8 lines of code!
  7. Corinne Bernstein. Face Detection.
  8. Face Detection vs. Facial Recognition — What’s the Difference?
  9. Elhadi Shakshuki, Ansar Yasar, Haroon Malik. Facial emotion recognition using deep learning: review and insights.
  10. Santosh Kumar Bharti, S. Varadhaganapathy, Rajeev Kumar Gupta, Prashant Kumar Shukla, Mohamed Bouye, Simon Karanja Hingaa, corresponding author and Amena Mahmoud. Text-Based Emotion Recognition Using Deep Learning Approach.
  11. Real Time Facial Expressions/Emotions Recognition on a Web Interface using Python.
  12. Rahulraj Singh. The Ultimate Guide to Emotion Recognition from Facial Expressions using Python.
  13. Emotion Analysis Recognition Software.
  14. Reconnaissance des émotions.
  15. Emotion Recognition: Introduction to Emotion Reading Technology.
  16. Facial expression detection using Deepface module in Python.
  17. La Reconnaissance Faciale avec Python.
  18. Karan Sethi. Emotion Detection Using OpenCV and Keras.
  19. Real-time Emotion Detection System with PyTorch and OpenCV.
  20. Jonathan Hicks. Emotion Detection Using OpenCV for Automatic Facial Recognition.
  21. OpenCV modules. Documentation.
  22. Тensorflow. Documentation.
  23. Keras API reference. Documentation.
  24. Pandas documentation. Documentation.
  25. Selenium with Python. Documentation.
  26. Documentation.
  27. RetinaFace: Deep Face Detection Library for Python. Documentation. serengil/retinaface/
  28. Visual Studio Code. Documentation.
  29.  NumPy. Documentation.

Full text: PDF