Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

Real-Time Emotion Recognition in Psychological Intervention Methods

Author 1: Sebastián Ramos-Cosi Author 2: Daniel Yupanqui-Lorenzo Author 3: Meyluz Paico-Campos Author 4: Claudia Marrujo-Ingunza Author 5: Ana Huamaní-Huaracca Author 6: Maycol Acuña-Diaz Author 7: Enrique Huamani-Uriarte
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 16, No. 5 · Published 2025

DOI: https://doi.org/10.14569/IJACSA.2025.0160567

Abstract

In the context of mental health, this study aims to develop a real-time emotion-focused facial recognition system based on psychological intervention methods. It uses a convolutional neural network (CNN) base and is trained with the FER2013 dataset, which consists of 35,887 facial images classified into seven basic emotions. Through normalisation, data augmentation, and training in TensorFlow and Keras, the model achieved 92.3% accuracy in a pilot test with 1,000 images, achieving an F1 score of 0.92, precision of 0.93, and recall of 0.91. Subsequently, when scaled to 71,774 images, it maintained robust performance with an overall accuracy of 77.5%. Emotions such as happiness (0.83), surprise (0.80), and neutrality (0.85) were recognised with greater accuracy, while K-means analysis was applied to cluster emotional patterns in a visually interpretable way. Complementing the technical architecture, a user-friendly graphical interface was designed for psychology professionals, allowing clear visualisation of the detected emotions with a latency of just 150 milliseconds per image. Overall, this proposal represents a significant advance toward more interactive, personalised, and efficient therapies, without requiring a complex technological infrastructure. Future studies recommend exploring different multimodal signals and increasing the use of convolutional layers to improve the quality of results and data efficiency.

Keywords

How to Cite this Article

Ramos-Cosi, S., Yupanqui-Lorenzo, D., Paico-Campos, M., Marrujo-Ingunza, C., Huamaní-Huaracca, A., Acuña-Diaz, M., & Huamani-Uriarte, E. (2025). Real-Time Emotion Recognition in Psychological Intervention Methods. International Journal of Advanced Computer Science and Applications, 16(5). https://doi.org/10.14569/IJACSA.2025.0160567

Ramos-Cosi, Sebastián, et al.. "Real-Time Emotion Recognition in Psychological Intervention Methods." International Journal of Advanced Computer Science and Applications, vol. 16, no. 5, 2025, https://doi.org/10.14569/IJACSA.2025.0160567.

@article{Ramos-Cosi2025,
  title     = {Real-Time Emotion Recognition in Psychological Intervention Methods},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {16},
  number    = {5},
  year      = {2025},
  publisher = {The Science and Information Organization},
  author    = {Sebastián Ramos-Cosi and Daniel Yupanqui-Lorenzo and Meyluz Paico-Campos and Claudia Marrujo-Ingunza and Ana Huamaní-Huaracca and Maycol Acuña-Diaz and Enrique Huamani-Uriarte},
  doi       = {10.14569/IJACSA.2025.0160567},
  url       = {https://doi.org/10.14569/IJACSA.2025.0160567}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.