An improved DGA-YOLOv8 offshore ship target detection algorithm was proposed to tackle the issues of low accuracy and single ship detection categories that are present in traditional ship target detection algorithms. Firstly, the network was adapted to include deformable convolution, which expanded the model's receptive field. Learnable offsets were introduced, allowing the model to adaptively adjust the size and shape of the receptive field in response to the actual shape of the object, ensuring that the convolution area can precisely cover the contour of the ship object. Secondly, the incorporation of a GAM(global attention mechanism) attention mechanism enabled the network to effectively emphasize the key features of ship targets, thereby enhancing the target recognition capability. The experimental results demonstrate that the improved algorithm achieves accuracy and average accuracy mean (mAP) of 96.4% and 92.2%, respectively. An frames per second(FPS) of 43.55 is recorded, indicating not only an enhancement in accuracy but also the maintenance of a certain detection speed, thus fulfilling the requirements for real-time detection. When compared with other mainstream algorithms, such as faster region-based convolutional neural network(Faster R-CNN) and YOLOv5s, YOLOv10. The results show that the proposed algorithm exhibits higher average accuracy and significant superior classification performance.
| 科 Family | 属数 Number of genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) | 属 Genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) |
|---|---|---|---|---|---|---|
| 鹅膏菌科Amanitaceae | 2 | 11 | 5.26 | 鹅膏菌属 Amanita | 10 | 4.78 |
| 小菇科 Mycenaceae | 2 | 12 | 5.74 | 丝盖伞属 Inocybe | 5 | 2.39 |
| 多孔菌科 Polyporaceae | 8 | 14 | 6.70 | 蜡蘑属 Laccaria | 5 | 2.39 |
| 红菇科 Russulaceae | 3 | 23 | 11.00 | 小皮伞属 Marasmius | 6 | 2.87 |
| 小菇属 Mycena | 11 | 5.26 | ||||
| 光柄菇属 Pluteus | 5 | 2.39 | ||||
| 红菇属 Russula | 17 | 8.13 | ||||
| 栓菌属 Trametes | 5 | 2.39 |