计算机工程与应用 ›› 2024, Vol. 60 ›› Issue (10): 237-245.DOI: 10.3778/j.issn.1002-8331.2308-0196

• 图形图像处理 • 上一篇    下一篇

改进YOLOv7的城市小型无人机目标检测方法

崔勇强,李嘉轩,侯林果,梅涛,白迪,陈少平   

  1. 中南民族大学 电子信息工程学院,武汉 430074
  • 出版日期:2024-05-15 发布日期:2024-05-15

Improved YOLOv7 Target Detection Method for Small Urban UAVs

CUI Yongqiang, LI Jiaxuan, HOU Linguo, MEI Tao, BAI Di, CHEN Shaoping   

  1. College of Electronics and Information Engineering, South-Central Minzu University, Wuhan 430074, China
  • Online:2024-05-15 Published:2024-05-15

摘要: 针对“低小动”无人机的反制技术已成为低空空域安全防御的重要手段,然而实时检测与准确识别是实施有效反制的前提条件与关键基础。针对城市低空环境下,目标检测算法对不同背景下小尺度无人机目标检测精度低,容易出现漏检误检且易受外界因素干扰等问题,提出了一种基于改进YOLOv7的“低小动”无人机目标检测方法。首先采集大量不同环境、不同背景下的无人机样本构建数据集,并采用ViBe(visual background extractor)算法进行预处理;其次引入坐标注意力机制与SPDConv(space-to-depth convolution)模块改进和优化YOLOv7的网络结构;最后提出融合ViBe和改进YOLOv7的二级检测架构,将改进后的YOLOv7作为网络模型检测经ViBe处理后的图像。依据原图与处理图像的位置大小关系,将检测出的目标坐标映射回归至原图片,从而完成目标检测提取。实验结果表明,所提目标检测方法检测精度达96.5%,较原YOLOv7方法提高了15.8个百分点,显著提升了“低小动”目标的检测精度,能够满足低空无人机的实时精准检测的需求。

关键词: ViBe算法, 反无人机, YOLOv7, 坐标注意力机制, 小目标检测, SPDConv

Abstract: Countermeasures against “low and small moving” UAVs have become an important tool for low altitude airspace security defense, but real-time detection and accurate identification are the prerequisite and key foundation for effective countermeasures. Aiming at the urban low-altitude environment, the target detection algorithm has low accuracy in detecting small-scale UAV targets in different backgrounds, is prone to omission and misdetection, and is susceptible to interference from external factors, etc., a “low and small moving” UAV target detection method based on the improved YOLOv7 is proposed. Firstly, a large number of UAV samples from different environments and backgrounds are collected to build a data set and are pre-processed by ViBe (visual background extractor) algorithm. Secondly, the coordinate attention mechanism and SPDConv (space-to-depth convolution) module are introduced to improve and optimize the network structure of YOLOv7. Finally, a secondary detection architecture is proposed to fuse ViBe and improved YOLOv7, and the improved YOLOv7 is used as the network model to detect the images processed by ViBe. Based on the position size relationship between the original image and the processed image, the detected target coordinates are mapped back to the original image, so as to complete the target detection and extraction. The experimental results show that the detection accuracy of the proposed target detection method reaches 96.5%, which is 15.8?percentage points higher than that of the original YOLOv7 method, significantly improving the detection accuracy of “low and small moving” targets and meeting the demand for real-time accurate detection of low-altitude UAVs.

Key words: ViBe algorithm, anti-drone, YOLOv7, coordinate attention mechanism, small target detection, SPDConv