{"title":"Improved Object Detection Method Utilizing YOLOv7-Tiny for Unmanned Aerial Vehicle Photographic Imagery","authors":"Linhua Zhang, Ning Xiong, Xinghao Pan, Xiaodong Yue, Peng Wu, Caiping Guo","doi":"10.3390/a16110520","DOIUrl":null,"url":null,"abstract":"In unmanned aerial vehicle photographs, object detection algorithms encounter challenges in enhancing both speed and accuracy for objects of different sizes, primarily due to complex backgrounds and small objects. This study introduces the PDWT-YOLO algorithm, based on the YOLOv7-tiny model, to improve the effectiveness of object detection across all sizes. The proposed method enhances the detection of small objects by incorporating a dedicated small-object detection layer, while reducing the conflict between classification and regression tasks through the replacement of the YOLOv7-tiny model’s detection head (IDetect) with a decoupled head. Moreover, network convergence is accelerated, and regression accuracy is improved by replacing the Complete Intersection over Union (CIoU) loss function with a Wise Intersection over Union (WIoU) focusing mechanism in the loss function. To assess the proposed model’s effectiveness, it was trained and tested on the VisDrone-2019 dataset comprising images captured by various drones across diverse scenarios, weather conditions, and lighting conditions. The experiments show that mAP@0.5:0.95 and mAP@0.5 increased by 5% and 6.7%, respectively, with acceptable running speed compared with the original YOLOv7-tiny model. Furthermore, this method shows improvement over other datasets, confirming that PDWT-YOLO is effective for multiscale object detection.","PeriodicalId":7636,"journal":{"name":"Algorithms","volume":"5 2","pages":"0"},"PeriodicalIF":1.8000,"publicationDate":"2023-11-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Algorithms","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3390/a16110520","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0
Abstract
In unmanned aerial vehicle photographs, object detection algorithms encounter challenges in enhancing both speed and accuracy for objects of different sizes, primarily due to complex backgrounds and small objects. This study introduces the PDWT-YOLO algorithm, based on the YOLOv7-tiny model, to improve the effectiveness of object detection across all sizes. The proposed method enhances the detection of small objects by incorporating a dedicated small-object detection layer, while reducing the conflict between classification and regression tasks through the replacement of the YOLOv7-tiny model’s detection head (IDetect) with a decoupled head. Moreover, network convergence is accelerated, and regression accuracy is improved by replacing the Complete Intersection over Union (CIoU) loss function with a Wise Intersection over Union (WIoU) focusing mechanism in the loss function. To assess the proposed model’s effectiveness, it was trained and tested on the VisDrone-2019 dataset comprising images captured by various drones across diverse scenarios, weather conditions, and lighting conditions. The experiments show that mAP@0.5:0.95 and mAP@0.5 increased by 5% and 6.7%, respectively, with acceptable running speed compared with the original YOLOv7-tiny model. Furthermore, this method shows improvement over other datasets, confirming that PDWT-YOLO is effective for multiscale object detection.
在无人机照片中,目标检测算法在提高不同尺寸目标的速度和准确性方面遇到了挑战,主要是由于复杂的背景和小目标。本研究引入了基于YOLOv7-tiny模型的PDWT-YOLO算法,以提高各种尺寸目标检测的有效性。该方法通过引入专用的小目标检测层来增强对小目标的检测,同时通过将YOLOv7-tiny模型的检测头(IDetect)替换为解耦头来减少分类任务与回归任务之间的冲突。通过在损失函数中使用WIoU (Wise Intersection over Union)聚焦机制取代CIoU (Complete Intersection over Union)损失函数,加快了网络收敛速度,提高了回归精度。为了评估所提出的模型的有效性,在VisDrone-2019数据集上对其进行了训练和测试,该数据集包括各种无人机在不同场景、天气条件和照明条件下捕获的图像。实验表明,mAP@0.5:0.95和mAP@0.5分别比原来的YOLOv7-tiny模型提高了5%和6.7%,运行速度可以接受。此外,该方法在其他数据集上也有改进,证实了PDWT-YOLO对多尺度目标检测的有效性。