Related Experiment Video
Updated: Jun 22, 2025

Author Spotlight: Addressing Technical and Subjective Challenges in Measuring Classroom Attention
Published on: December 15, 2023
Contextual emotion detection in images using deep learning
Fatiha Limami1, Boutaina Hdioud1, Rachid Oulad Haj Thami1
1Advanced Digital Enterprise Modeling and Information Retrieval (ADMIR) Research Laboratory, Information Retrieval and Data Analytics Team (IRDA), ENSIAS, Mohammed V University, Rabat, Morocco.
Introduction:
Computerized sentiment detection, based on artificial intelligence and computer vision, has become essential in recent years. Thanks to developments in deep neural networks, this technology can now account for environmental, social, and cultural factors, as well as facial expressions. We aim to create more empathetic systems for various purposes, from medicine to interpreting emotional interactions on social media.
Methods:
To develop this technology, we combined authentic images from various databases, including EMOTIC (ADE20K, MSCOCO), EMODB_SMALL, and FRAMESDB, to train our models. We developed two sophisticated algorithms based on deep learning techniques, DCNN and VGG19. By optimizing the hyperparameters of our models, we analyze context and body language to improve our understanding of human emotions in images. We merge the 26 discrete emotional categories with the three continuous emotional dimensions to identify emotions in context. The proposed pipeline is completed by fusing our models.
Results:
We adjusted the parameters to outperform previous methods in capturing various emotions in different contexts. Our study showed that the Sentiment_recognition_model and VGG19_contexte increased mAP by 42.81% and 44.12%, respectively, surpassing the results of previous studies.
Discussion:
This groundbreaking research could significantly improve contextual emotion recognition in images. The implications of these promising results are far-reaching, extending to diverse fields such as social robotics, affective computing, human-machine interaction, and human-robot communication.
Related Concept Videos
Labeling Emotion
Facial Feedback Hypothesis
Cognitive Theories: Schachter-Singer Theory of Emotion
Physiological Arousal and Cognitive Labeling
According to this theory, when an individual experiences...
Emotional Expression
Universal Facial Expressions
Psychologist Paul Ekman identified seven basic...

