Facial Expression Recognition Algorithm Based on Swin Transformer
Shumin Han, Heming Chang, Zhiguo Shi +1 more
Expressions are an important non-verbal behavior for humans to convey their emotional information, reflecting their inner activities. As attention in Transformers has excellent feature representation capabilities, it is catching more interests in computer vision field. Swin Transformer is a successful implementation of transformer in computer vision field. This paper proposes a Swin Transformer-based emotion recognition algorithm called Swin Emotion. The algorithm utilizes Swin Transformer as the backbone network and fuses the varying-sized feature vectors extracted from multiple stages, taking into account both the detailed features of the image and its macroscopic characteristics while preserving the integrity of the modeling process. The multi-scale feature fusion network simultaneously uses both low-level and high-level features of images, thereby improving the model's perception…