摘要
以枪支为代表的危险目标检测一直是安防领域的重要研究之一。针对当前人工通过监控视频检查枪支等危险物效率低且准确率易受检查人员工作时长影响的问题,提出了利用剪枝方法对YOLOV3模型做压缩的实时枪支检测方法。采用K-means++算法对图像样本进行锚定框Anchor大小聚类,以提高模型精度。利用“通道+层”剪枝方法将训练后的模型进行压缩,通过模型修正恢复压缩前的精度。实验结果表明,该方法在保持较高精度的情况下,不仅降低了模型对内存资源的占用,且进一步减少计算量,大大提高了模型推理速度。与YOLOV3方法相比,该方法在jetson nano平台上对模型参数的缩减比例达到1/52,推理速度提高了6倍,而精确度几乎保持不变,从而达到对枪支危险物检测的实时性和高精度要求。
The detection of such dangerous targets as guns has always been one of the important research subjects in the field of security.Manual inspection of guns and other dangerous objects through surveillance video is inefficient,the accuracy of which can be easily affected by unfavorable conditions of inspectors due to continuous working.Therefore,a real-time gun detection method using the pruning method to compress the YOLOV3 model was proposed.In order to improve model accuracy,the K-means++algorithm was adopted to cluster Anchor size of data set.Then the pruning method of“channel+layer”was employed to compress the trained model.Finally,by means of retraining,the accuracy was restored to that before compression.The experimental results show that while still maintaining high accuracy,this method can reduces not only the model’s occupation of memory resources,but also the computing load,greatly improving the inference speed of the model.Compared with the YOLOV3 method,this method reduces the model parameters by up to 1/52 on the jetson nano platform and increases the reasoning speed by 6 times,with the accuracy almost unchanged,thus meeting the requirements of real-time and high-precision detection of such dangerous objects as guns.
作者
叶泽聪
高志强
崔翛龙
蒋镕圻
YE Ze-cong;GAO Zhi-qiang;CUI Xiao-long;JIANG Rong-qi(School of Information Engineering,Engineering University of PAP,Xi’an Shaanxi 710086,China;Counter-Terrorism Command Information Engineering Research Team,Engineering University of PAP,Xi’an Shaanxi 710086,China;Graduate Team,Engineering University of PAP,Xi’an Shaanxi 710086,China)
出处
《图学学报》
CSCD
北大核心
2021年第2期198-205,共8页
Journal of Graphics
基金
国家自然科学基金项目(U1603261)
新疆维吾尔自治区自然科学基金资助项目(2016D01A080)。