[1]毛晓波,徐向阳,李楠,等.基于改进SSD和Jetson Nano的口罩佩戴检测门禁系统[J].郑州大学学报(工学版),2021,42(6):87-94.[doi:10.13705/j.issn.1671-6833.2021.06.002]
 Mao Xiaobo,Xu Xiangyang,Li Nan,et al.A Mask Wear Detection Access Control System Based on Improved SSD and Jetson Nano[J].Journal of Zhengzhou University (Engineering Science),2021,42(6):87-94.[doi:10.13705/j.issn.1671-6833.2021.06.002]
点击复制

基于改进SSD和Jetson Nano的口罩佩戴检测门禁系统()
分享到:

《郑州大学学报(工学版)》[ISSN:1671-6833/CN:41-1339/T]

卷:
42
期数:
2021年6期
页码:
87-94
栏目:
出版日期:
2021-11-10

文章信息/Info

Title:
A Mask Wear Detection Access Control System Based on Improved SSD and Jetson Nano
作者:
毛晓波1,徐向阳1,李楠1,魏刘倩1,刘玉玺1,董梦超1,焦淼鑫2
1.郑州大学 电气工程学院,河南 郑州 450001; 2.郑州大学 机械与动力工程学院,河南 郑州 450001
Author(s):
Mao Xiaobo1; Xu Xiangyang1; Li Nan1; Wei Liuqian1; Liu Yuxi1; Dong Mengchao1; Jiao Miaoxin2;
1.School of Electrical Engineering,Zhengzhou University,Zhengzhou 450001,China; 2.School of Mechanical and Power Engineering,Zhengzhou University,Zhengzhou 450001,China


关键词:
Keywords:
mask wear detection access control system object detection algorithm SSD Jetson Nano MobileNet-V3
DOI:
10.13705/j.issn.1671-6833.2021.06.002
文献标志码:
A
摘要:
为了减少疫情期间人们未佩戴口罩造成的交叉感染概率,设计一款基于改进的 SSD 和 Jetson Nano 的口罩佩戴检测门禁系统,以快速检测进出口行人是否佩戴口罩,控制闸机的开合。首先,从MAFA 和 WIDER FACE 这 2 个数据集中抽取适合用于该系统的训练图片,其中 6 000 张作为训练集,2 000张作为测试集; 其次,利用随机色相、饱和度等像素级变换和随机扩展、随机裁剪等几何级变换,对数据集中的小目标进行数据增强,使数据集更加多样,增强该检测网络的泛化能力; 再次,将原始 SSD 的VGG 特征提取网络替换为 MobileNet-V3,利用其深度可分离卷积的速度优势,以及计算量较小的 HSwish激活函数、轻量化的注意力机制等优化策略,加速检测、提高精度; 最后,将该检测网络移植到计算能力有限的人工智能边缘计算设备 Jetson Nano 上,加装高清显示器,并设计可折叠的平行四边形挡板,选择合适的外围设备,构成了一个具有防疫价值的快速检测公共场所进出口行人是否佩戴口罩的多功
能门禁系统。在该嵌入式设备上的测试结果表明: 以 MobilNet-V3 为特征提取网络的目标检测算法SSD,取得了 78%的 MAP,FPS 为 12,与以 VGG 为特征提取网络的原始 SSD 算法( FPS 为 2) 相比,检测速度是原始 SSD 算法的 6 倍。该系统在保证实时性的同时也兼顾了检测精度,达到了精度和速度的平衡。

Abstract:
In order to reduce the chance of cross infection caused by people not wearing masks during the epidemic, a mask wearing detection access control system based on improved SSD and Jetson Nano is designed to quickly detect whether pedestrians at the entrance and exit wear masks and control the opening and closing of the gate. Firstly, 6 000 training pictures suitable for the system are extracted from the two data sets of MAFA and WIDER FACE, which are used as the training set and 2 000 as the test set; Secondly, the pixel level transformations such as random rue and saturation and geometric level transformations such as random expansion and random clipping are used to enhance the small targets in the data set, so as to add more samples to the data set and enhance the generalization ability of the detection network; Thirdly, the VGG feature extraction network of the original SSD is replaced by MobileNet-V3, which makes use of its speed advantage of depth-wise separable convolution, as well as the optimization strategies such as H-Swish activation function with less computation and lightweight attention mechanism (squeeze and excite) to accelerate the detection and improve the accuracy. Finally, the detection network is transplanted to Jetson Nano, an artificial intelligence edge computing device with limited computing power, equipped with high-definition display, design a foldable parallelogram baffle, and select appropriate peripheral equipment to form a multi-functional access control system with epidemic prevention value to quickly detect whether pedestrians at the entrance and exit of public places wear masks. The test results on the embedded device are as follows: the target detection algorithm SSD with MobileNet-V3 as the feature extraction network obtains 78% MAP and FPS is 12. Compared with the original SSD algorithm with VGG as the feature extraction network (FPS is 2), the detection speed is increased five times. Facts have proved that the system not only ensures the real-time performance, but also takes into account the detection accuracy, so achieves the balance of accuracy and speed.

参考文献/References:

[1] 张修宝,林子原,田万鑫,等.全天候自然场景下的人脸佩戴口罩识别技术[J].中国科学:信息科学,2020,50(7):1110-1120.

[2] TANG X,DU D K,HE Z Q,et al.PyramidBox:a context-assisted single shot face detector[J]. Computer vision-ECCV,2018,11213:812-828.
[3] TIAN W X,WANG Z X,SHEN H F,et al.Learning better features for face detection with feature fusion and segmentation supervision[EB/OL].(2019-06-25)[2020-03-12].http://h-s.arxiv.org.zzulib.vpn358.com/abs/1811.08557.
[4] 南阳,樊治国,黄惠南,等.基于YOLOV3算法的二次检测口罩人脸识别方法:CN111414887B[P].2021-01-29.
[5] 严安,杨晓云,周治尹.基于深度学习的厨师帽和口罩佩戴的检测方法:CN111062429A[P].2020-04-24.
[6] MACQUEEN J. Some methods for classification and analysis of multivariate observations[J]. Berkeley symposium on mathematical statistics and probability, 1967,1(14): 281-297.
[7] 管军霖,智鑫.基于YOLOv4卷积神经网络的口罩佩戴检测方法[J].现代信息科技,2020,4(11):9-12.
[8] 陈国特,陈清梁,程潇,等.用于疫情防控的直梯乘梯人员佩戴口罩监测方法:CN111382719A[P].2020-07-07.
[9] 金钰丰,闫鹏飞,解艺博,等.一种口罩佩戴情况检测方法、装置、电子设备及存储介质:CN111428559A[P].2020-07-17.
[10] 杨子扬,江文涛,苏松剑,等.一种人员佩戴口罩情况的检测方法以及装置:CN109101923B[P].2020-11-27.
[11] 李超,黄伟锋,朱立学,等.基于Raspberry Pi和云平台的智能门禁系统研制与试验[J].仲恺农业工程学院学报,2020,33(1):54-60.
[12] LIU W,ANGUELOV D,ERHAN D,et al.SSD:single shot MultiBox detector[J].Lecture notes in computer science,2016,9905:21-37.
[13] SIMONYAN K,ZISSERMAN A.Very deep convolutional networks for large-scale image recognition[EB/OL].(2015-04-10)[2021-01-22].https://arxiv.org/abs/1409.1556.
[14] HOWARD A,SANDLER M,CHEN B,et al.Searching for MobileNetV3[C]//2019 IEEE/CVF International Conference on Computer Vision (ICCV).Piscataway:IEEE,2019:1314-1324.
[15] 邹佰翰,秦亚亭,苑晓兵,等.基于轻量级CNN的口罩人脸检测方法现状研究[J].软件,2020,41(8):186-188.
[16] 魏宏彬,张端金,杜广明,等.基于改进型YOLO v3的蔬菜识别算法[J].郑州大学学报(工学版),2020,41(2):7-12,31.
[17] HU J,SHEN L,SUN G.Squeeze-and-excitation networks[C]//2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition.Piscataway:IEEE,2018:7132-7141.
[18] 罗荣辉,袁航,钟发海,等.基于卷积神经网络的道路拥堵识别研究[J].郑州大学学报(工学版),2019,40(2):18-22.

更新日期/Last Update: 2021-12-17