Recently, the domestic COVID-19 epidemic situation has been serious, but in some public places, some people do not wear masks or wear masks incorrectly, which requires the relevant staff to instantly remind and supervise them to wear masks correctly. However, in the face of such important and complicated work, it is necessary to carry out automated mask wearing detection in public places. This paper proposes a new mask wearing detection method based on the improved YOLOv4. Specifically, firstly, we add the Coordinate Attention Module to the backbone to coordinate feature fusion and representation. Secondly, we conduct a series of network structural improvements to enhance the model performance and robustness. Thirdly, we deploy the K-means clustering algorithm to make the nine anchor boxes more suitable for our NPMD dataset. The experimental results show that the improved YOLOv4 performs better, exceeding the baseline by 4.06% AP with a comparable speed of 64.37 FPS.
翻译:最近,国内的COVID-19流行病情况非常严重,但在某些公共场所,有些人并没有错误地戴面具或戴面具,这就要求有关工作人员立即提醒和监督他们正确戴面具,然而,面对如此重要和复杂的工作,有必要使用在公共场所戴探测仪的自动面具。本文件建议根据改进后的YOLOv4, 采用新的戴面具检查方法。具体地说,首先,我们将协调关注模块加到主干线上,以协调特征融合和代表。第二,我们进行一系列网络结构改进,以提高模型性能和坚固性。第三,我们采用K- means群集算法,使九个锚箱更适合我们的NPCD数据集。实验结果表明,改进后的YOLOv4的表现更好,超过基线4.06%,速度相当64.37 FPS。