The invention discloses a
smart classroom emotion recognition method and
system based on dynamic facial expressions. The method comprises the following steps: firstly, acquiring a classroom panoramic video
stream, and preprocessing the classroom panoramic video
stream to generate a structured facial
image sequence; the method comprises the following steps of: obtaining a fused video frame through a space-time attention fusion module, then embedding time and space tokens, inputting the fused video frame into a double-scanning bidirectional Mamaba block to carry out space-time
feature extraction and modeling, finally outputting the probability of each emotion through a pre-trained
emotion classification model, and selecting the emotion with the highest probability as final output to be fed back to a user. The dynamic
facial expression recognition system provided by the invention is light in weight and high in performance, so that facial expressions of students can be accurately recognized in an actual classroom, and the reliability and the stability of results are ensured. The method solves the problems of weak dynamic modeling, strong multi-mode dependence, lack of education
closed loop and the like in a classroom scene in the prior art, and is suitable for non-sentible
emotion perception and teaching optimization in intelligent education.