Research on Facial Expression Recognition Algorithm Based on Attention Multi-Scale Fusion
The application of information technology in teaching leads to a lack of emotional communication between teachers and students.In order to compensate for the lack of emotional communication during the teaching process and obtain better teaching feedback,a facial expression recognition algorithm based on at-tention mechanism and multi-scale feature fusion(ASMF)is proposed.The algorithm uses Resnet 50 as the backbone network.It firstly fuses the output characteristics of multi-layer convolutional neural net-works at multiple scales,introduces contextual information while extracting richer and more effective ex-pression feature information.Secondly,the attention mechanism is integrated into the network,and through weighted learning of each channel,attention feature maps are obtained to enhance the expression a-bility of features and suppress the impact of redundant information.Then,the Dropout mechanism and Softmax Loss function are added to further improve the discriminability of the extracted facial features Fi-nally,the effectiveness and stability of the algorithm are validated by using ablation experiments on both publicly available datasets and self-made student classroom expression datasets,with a recognition accuracy of 93.87%.