CAPN: a Combine Attention Partial Network for glove detection

PeerJ Comput Sci. 2023 Sep 14:9:e1558. doi: 10.7717/peerj-cs.1558. eCollection 2023.

Abstract

Accidents caused by operators failing to wear safety gloves are a frequent problem at electric power operation sites, and the inefficiency of manual supervision and the lack of effective supervision methods result in frequent electricity safety accidents. To address the issue of low accuracy in glove detection with small-scale glove datasets. This article proposes a real-time glove detection algorithm using video surveillance to address these issues. The approach employs transfer learning and an attention mechanism to enhance detection average precision. The key ideas of our algorithm are as follows: (1) introducing the Combine Attention Partial Network (CAPN) based on convolutional neural networks, which can accurately recognize whether gloves are being worn, (2) combining channel attention and spatial attention modules to improve CAPN's ability to extract deeper feature information and recognition accuracy, and (3) using transfer learning to transfer human hand features in different states to gloves to enhance the small sample dataset of gloves. Experimental results show that the proposed network structure achieves high performance in terms of detection average precision. The average precision of glove detection reached 96.59%, demonstrating the efficacy of CAPN.

Keywords: Attention mechanism; Channel attention; Object detection; Spatial attention; Transfer learning.

Associated data

  • figshare/10.6084/m9.figshare.22138439.v1

Grants and funding

This work was supported by the National Natural Science Foundation of China (No. 62202346), Hubei Key Research and Development Program (No. 2021BAA042), the Open project of engineering research center of Hubei Province for clothing information (No. 2022HBCI01), the Wuhan applied basic frontier research project (No. 2022013988065212), MIIT’s AI Industry Innovation Task unveils flagship projects (key technologies, equipment, and systems for flexible customized and intelligent manufacturing in the clothing industry), and the Hubei Science and Technology Project of safe production special fund (scene control platform based on proprioception information computing of artificial intelligence) (No. 62202346), the Hubei key research and development program (No. 2021BAA042), the Open project of engineering research center of Hubei province for clothing information (No. 2022HBCI01), and the Hubei science and technology project of safe production special fund (scene control platform based on proprioception information computing of artificial intelligence). The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.