The invention discloses a high-precision ship multi-target tracking method, device and equipment and a storage medium, the ship multi-target tracking method based on YOLOv5 and an improved DeepSORT
algorithm comprises the following steps: firstly, connecting an
IP camera through an RTSP protocol, then collecting ship data by using the camera, screening and marking the collected ship image data, and finally, carrying out high-precision ship multi-target tracking. A detection
data set in a YOLO format and a
data set in an MOT format are obtained, and the detection
data set and the data set are divided into three types of training,
verification and testing; then, training is carried out in the YOLOv5 network by utilizing a self-built detection data set, and a ship model weight based on the YOLOv5 network is obtained; secondly, training an improved DeepSORT network by using a self-established
tracking data set to obtain a tracking weight, and finally, combining a detection
algorithm with a tracking
algorithm,
synchronizing a detection result to an improved DeepSORT multi-target tracking algorithm, and obtaining ID information and position information of a ship target; according to the invention, a DeepSORT multi-target tracking algorithm is improved, and a YOLOv5 algorithm and a heavy-load pan-tilt camera are matched to track a ship in real time; and the tracking precision is high and the real-time performance is good.