After the outbreak of COVID-19, mask detection, as the most convenient and effective means of prevention, plays a crucial role in epidemic prevention and control. An excellent automatic real-time mask detection system can reduce a lot of work pressure for relevant staff. However, by analyzing the existing mask detection approaches, we find that they are mostly resource-intensive and do not achieve a good balance between speed and accuracy. And there is no perfect face mask dataset at present. In this paper, we propose a new architecture for mask detection. Our system uses SSD as the mask locator and classifier, and further replaces VGG-16 with MobileNetV2 to extract the features of the image and reduce a lot of parameters. Therefore, our system can be deployed on embedded devices. Transfer learning methods are used to transfer pre-trained models from other domains to our model. Data enhancement methods in our system such as MixUp effectively prevent overfitting. It also effectively reduces the dependence on large-scale datasets. By doing experiments in practical scenarios, the results demonstrate that our system performed well in real-time mask detection.
翻译:在COVID-19爆发后,面具检测作为最方便和有效的预防手段,在流行病的预防和控制方面发挥着关键作用。一个极好的自动实时面具检测系统可以减少相关工作人员的大量工作压力。然而,通过分析现有的面具检测方法,我们发现这些方法大部分是资源密集型的,在速度和准确性之间没有取得良好的平衡。目前没有完美的面罩数据集。在本文件中,我们建议建立一个新的面具检测结构。我们的系统使用SSD作为面具定位器和分类器,并进一步用移动式NetV2来取代VGG-16,以提取图像的特征并减少许多参数。因此,我们的系统可以安装在嵌入式装置上。传输学习方法用于将预先训练过的模型从其他领域转移到我们的模型。我们系统中的数据改进方法,例如MixUp有效防止过度配置。它还有效地减少了对大型数据集的依赖。通过在实际情况下进行实验,结果表明我们的系统在实时的面具检测中表现良好。