Due to the broad usage and widespread popularity of drones, the demand for a more accurate object detection algorithm for images captured by drone platforms has become increasingly urgent. This article addresses this issue by first analyzing the unique characteristics of datasets related to drones. We then select the widely used YOLOv7 algorithm as the foundation and conduct a comprehensive analysis of its limitations, proposing a targeted solution. In order to enhance the network’s ability to extract features from small objects, we introduce non-strided convolution modules and integrate modules that utilize attention mechanism principles into the baseline network. Additionally, we improve the semantic information expression for small targets by optimizing the feature fusion process in the network. During training, we adopt the latest Lion optimizer and MPDIoU loss to further boost the overall performance of the network. The improved network achieves impressive results, with mAP50 scores of 56.8% and 94.6% on the VisDrone2019 and NWPU VHR-10 datasets, respectively, particularly in detecting small objects.
Object detection in low-light conditions is increasingly relevant across various applications, presenting a challenge for improving accuracy. This study employs the popular YOLOv7 framework and examines low-light image characteristics, implementing performance enhancement strategies tailored to these conditions. We integrate an agile hybrid convolutional module to enhance edge information extraction, improving detailed discernment in low-light scenes. Convolutional attention and deformable convolutional modules are added to extract rich semantic information. Cross-layer connection structures are established to reinforce critical information, enhancing feature representation. We use brightness-adjusted data augmentation and a novel bounding box loss function to improve detection performance. Evaluations on the ExDark dataset show that our method achieved an mAP50 of 80.1% and an mAP50:95 of 52.3%, improving by 8.6% and 11.5% over the baseline model, respectively. These results validate the effectiveness of our approach for low-light object detection.