Journal of King Saud University: Computer and Information Sciences (Oct 2023)
FFSDF: An improved fast face shadow detection framework based on channel spatial attention enhancement
Abstract
Recent shadow detectors excel on simple datasets but encounter difficulties with facial shadow images under complex lighting due to the lack of annotated shadow masks, varying shadow sizes, and imbalances between the target and background. This leads to training difficulties, reduced accuracy, and slower processing, posing a significant challenge for precise and fast detection framework development. We collected images and created Extended Yale Shadow Detection Dataset (EYSDD). In comparison to other datasets, this dataset includes additional manually annotated shadow masks, making it suitable for training convolutional neural networks. To address this problem, we propose incorporating Channel Spatial Direction-aware Spatial Context (CSDSC) module into Fast Shadow Detection Network (FSDNet). Additionally, we introduce Selective Attention Inverted Residual Bottleneck (SAIRB) with Selective Attention Mechanism (SAM). Furthermore, we integrate Detail Enhancement Module (DEM), which refines low-level features, into Fast Face Shadow Detection Framework (FFSDF). Finally, compared to other methods, our model surpasses the baseline method FSDNet and the advanced method EVP by 3.5% and 1.9% in terms of IoU, and 1.8% and 4.3% in terms of Dice score, respectively. Our model has only 4.31 M parameters and achieves a computing speed of 0.022 sec/image, demonstrating superior efficiency compared to other methods.