Mobile-Based Portrait Segmentation Network With Attention Mechanism

Zhou Peng,Yao Jian-Min,Lin Zhi-Xian,Yan Qun,Guo Tai-Jiang
DOI: https://doi.org/10.3788/YJYXS20203506.0547
2020-01-01
Chinese Journal of Liquid Crystals and Displays
Abstract:Existing mobile terminal segmentation network has problems such as poor segmentation accuracy and segmentation edge blurring. To this end, a lightweight portrait segmentation network that incorporates attention mechanisms is proposed. Firstly, the image features are extracted by Mobile-NetV2 network. Then, the attention module NLNet (Non-local neural networks) is lightened, and then the optimized attention module is embedded in the four-layer decoding network. The decoding network with attention mechanism adaptively learns the effective features, and finally obtains the portrait segmentation result map through SoftMax. At the same time, the loss function is improved, and Multi-Loss (multi-loss function) is introduced to make the network easier to converge. The way of attention mechanisms fused in decoding networks makes the lightweight network achieve better results in the semantic segmentation task. Experimental results show that the model achieves 92.29% MeanI-OU on the 550 self-collected portrait test set, and the split time of the single picture on the Inter(R) Core i5 CPU is 0.74 s. Compared with the traditional portrait segmentation network, the research network has obvious advantages in segmentation precision and segmentation speed, and is suitable for mobile devices.
What problem does this paper attempt to address?