Underwater Target Detection Algorithm Based on Improved YOLOv5

Fei Lei, Feifei Tang, Shuhan Li

Journal of Marine Science and Engineering · 2022 · 164 citations · 27 references

DOIFull text

Open access

Concepts

TL;DR

Underwater target detection is crucial for ocean exploration, yet existing algorithms that excel on land often fail to perform satisfactorily underwater. The study applies YOLOv5 to underwater images and enhances it with underwater‑specific techniques. The improved model replaces YOLOv5’s backbone with a Swin Transformer, refines PANet for better multi‑scale feature fusion, and modifies the confidence loss to favor high‑quality anchors. Experimental results show the improved model achieves 87.2 % mAP, outperforming general detection models and suitable for complex underwater environments.

Abstract

Underwater target detection plays an important role in ocean exploration, to which the improvement of relevant technology is of much practical significance. Although existing target detection algorithms have achieved excellent performance on land, they often fail to achieve satisfactory outcome of detection when in the underwater environment. In this paper, one of the most advanced target detection algorithms, YOLOv5 (You Only Look Once), was first applied in the underwater environment before being improved by combining it with some methods characteristic of the underwater environment. To be specific, the Swin Transformer was treated as the basic backbone network of YOLOv5, which makes the network suitable for those underwater images with blurred targets. It is possible for the network to focus on fusing the relatively important resolution features by improving the method of path aggregation network (PANet) for multi-scale feature fusion. The confidence loss function was improved on the basis of different detection layers, with the network biased to learn high-quality positive anchor boxes and make the network more capable of detecting the target. As suggested by the experimental results, the improved network model is effective in detecting underwater targets, with the mean average precision (mAP) reaching 87.2%, which makes it advantageous over general target detection models and fit for use in the complex underwater environment.

References

27