Multimodal Emotion Detection for Education and Work Environment by Using Improved Artificial Intelligence Machine Vision System

Abstract
The use of artificial intelligence (AI) has significantly advanced emotion recognition within human-computer interaction (HCI). This paper aims to develop a multimodal emotion detection system for educational and work environments using an enhanced AI machine vision system. The primary focus is on training and testing a multimodal AI model in Python using convolutional neural networks (CNN). The results from the trained facial emotion AI model demonstrated substantial improvements. Training accuracy increased from 30.49% to 72.21%, while validation accuracy improved from 37.6% to 60.58%. Simultaneously, training loss decreased from 180.69% to 73.65%, and validation loss reduced from 172.97% to 107.53%. This CNN-based model can use OpenCV to detect seven emotions: happy, sad, neutral, angry, afraid, disgusted, and surprised. The ECG emotion AI model, also trained with CNN, also successfully recognized patterns for the same seven emotions. When these two models are combined into a multimodal AI system, they can detect facial and ECG-based emotions simultaneously. This comprehensive approach allows for the detection of both visible and hidden emotions, such as stress or anxiety, which may not be easily discernible through facial expressions alone. The integration of these models into a multimodal AI system provides a more accurate and holistic understanding of human emotions, enhancing applications in educational and work settings. The improved detection capabilities can lead to better user experiences and more effective responses to emotional states, ultimately contributing to advancements in HCI.
© 2026 Wan Mohd Bukhari Wan Daud, Adnan Kiral, Mohamed Osman Tokhi, Lee Chung Yee, Muhammad Muzhafar Mohammad Zawawi, published by Łukasiewicz Research Network – Industrial Research Institute for Automation and Measurements PIAP
This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License.