The invention provides an inland ship target detection and identification method based on
deep learning, and the method comprises the steps: building a multi-layer shallow information network through an improved YOLOv8
algorithm, adjusting a detection layer, adding a shallow detection head, capturing the features of a
small target and the
semantic information of the
small target more finely, enhancing the target identification capability in a targeted manner, and improving the detection efficiency. The function of conveniently and interactively detecting and identifying the inland ship target is realized. According to the method, an EfficientNetV2 lightweight network optimization strategy is combined, a
model network structure is improved, and a more effective
loss function is adopted, so that the calculation efficiency and precision are improved, and the model training and reasoning efficiency is guaranteed. A dynamic non-monotonic focusing mechanism is adopted to ensure that the anchor frame is more fit with a real bounding
box model, and the overall performance of the
detector is improved. According to the method, the problems that the detection effect of the
small target is not ideal, the detection anchor frame and the actual boundary are not tightly attached, and the
system interaction is insufficient in a complex water surface environment are solved.