| In the field of maritime monitoring, real -time and accurate detection of ships in remote sensing images is a crucial task for ensuring maritime safety and regulating the marine environment. This paper proposes a ship detection method based on the Dual-YOLOv7 model, aiming to enhance the efficiency and accuracy of ship detection in remote sensing images. The study introduces the CC Attention-Fusion module and improves the Shuffle -Fusion module to effectively fuse the features of infrared and visible light images, thereby strengthening the model’s adaptability to different lighting and weather conditions. Meanwhile, the depthwise separable convolution model is introduced, and the D-SimSPPF module is constructed to significantly improve detection speed while ensuring detection accuracy. In addition, the CIoU-C loss function is constructed to make the selection of bounding box sizes closer to the actual size of ships, further enhancing detection accuracy. To verify the practical application capability of the model, the Dual-YOLOv7 model was deployed on the AGX Orin embedded platform and trained and tested on the MMShip dataset. Experimental results show that compared with existing object detection networks such as Mask R-CNN, YOLOv8-seg, YOLOv5-seg, YOLOv7-seg, and RT-DETR, the Dual-YOLOv7 model achieved the highest detection accuracy with an mAP50% of 91.6%. At the same time, the model’s total computational cost is only 117.6 GFLOPs, with the least computational consumption, indicating a significant efficiency advantage in practical applications. These results demonstrate that the Dual-YOLOv7 model has a promising application prospect in the task of ship detection in remote sensing images and can provide strong technical support for maritime monitoring and management. |