Abstract:A lightweight improved model CAM-YOLOX is designed based on YOLOX to address the issues of false alarms of land targets and missed detections of shore targets encountered in ship target detection in large scene Synthetic Aperture Radar(SAR)images in near-shore scenes. Firstly, embed Coordinate Attention Mechanism in the backbone to enhance ship feature extraction and maintain high detection performance; Secondly, add a shallow branch to the Feature Pyramid Network structure to enhance the ability to extract small target features; Finally, in the feature fusion network, Shuffle unit was used to replace CBS and stacked Bottleneck structures in CSPLayer, achieving model compression. Experiments are carried out on the LS-SSDD-v1.0 remote sensing dataset. The experimental results show that compared with the original algorithm, the improved algorithm in this paper has the precision increased by 5.51%, the recall increased by 3.68%, and the number of model parameters decreased by 16.33% in the near-shore scene ship detection. The proposed algorithm can effectively suppress false alarms on land and reduce the missed detection rate of ships on shore without increasing the number of model parameters.