A Real-Time Facial Emotion Recognition Software Module Integrated into Moodle: Design and Experimental Validation
Open Access
- 18 September 2026
- conference paper
- Published by MDPI AG in Engineering Proceedings
- Vol. 153 (1) , 28
Abstract
Learning Management Systems (LMSs) increasingly need mechanisms that capture how learners respond during interaction, yet few platforms provide facial emotion recognition (FER) as a native, integrated capability. This paper presents the design of a real-time FER software module built directly into Moodle, together with its experimental validation. The module is a browser-based, client-side component that continuously estimates facial-expression confidence scores (happy, neutral, sad, angry, fearful, surprised, disgusted) while a learner interacts with a course, and links each reading to the participant, the interaction context, and a timestamp. To validate the module under realistic and varied conditions, 25 undergraduate students used it while interacting with four Moodle scenarios (E1, E3, E7, E9) built with contrasting user experience (UX) and gamification configurations, which here serve only as diverse interaction contexts for testing the module rather than as a design comparison in their own right. Two hypotheses were tested: that the module produces stable, non-degenerate dominant facial-expression readings, rather than noise, during interaction (H1), and that these readings differ significantly across interaction contexts (H2). The module produced a clearly interpretable dominant facial-expression reading in every context (record-level dominance between 51.28% and 73.55%, above the level expected under a simplified uniform-chance baseline), supporting H1. A Friedman test on a study-defined affective-valence indicator showed significant differences across the four contexts (, , Kendall’s ), with five of six Bonferroni-adjusted Wilcoxon pairwise comparisons significant under the reported valence indicator (six of six under a robustness-check alternative), supporting H2, although the fixed scenario order means learning or familiarization effects cannot be excluded as a contributing factor. These results indicate that the module functions as intended and is sensitive to differences between interaction contexts; because the underlying pre-trained models were not independently benchmarked against the study population, this validates the module’s operation as a measurement instrument, not the accuracy of its facial-expression classifications against ground truth.
Keywords
Funding Information
- Universidad Politécnica Salesiana
This publication has 25 references indexed in Scilit:
- A comprehensive deep learning framework for real time emotion detection in online learning using hybrid modelsScientific Reports, 2025
- Toward an Integrated Architecture for Personalized Learning: Combining Generative AI, Gamification, and UX2025
- Multimodal emotion recognition system for e-learning platformEducation and Information Technologies, 2025
- Enhancing learner affective engagement: The impact of instructor emotional expressions and vocal charisma in asynchronous video-based online learningEducation and Information Technologies, 2024
- Application of artificial intelligence in adaptation of gamification in education: A literature reviewComputer Applications in Engineering Education, 2023
- Effects of a collaborative and gamified online learning methodology on class and test emotionsEducation and Information Technologies, 2023
- Engaging learners in synchronous online learningEducation and Information Technologies, 2022
- Integrating gamification and instructional design to enhance usability of online learningEducation and Information Technologies, 2022
- Emorec: a new approach for detecting and improving the emotional state of learners in an e-learning environmentInteractive Learning Environments, 2022
- Facial emotion recognition using temporal relational network: an application to E-learningMultimedia Tools and Applications, 2020