1.下载官方代码mikel-brostrom/yolov8_tracking:Real-timemulti-objecttrackingandsegmentationusingYOLOv8withDeepOCSORTandOSNet(github.com)https://github.com/mikel-brostrom/yolov8_tracking1.到上面的github网站下载跟踪代码,该代码使用YOLOv8作为检测网络,不过YOLOv8的文件需要去下面的链接下载,然后替换掉跟踪代码中YOLOv8的空文件。GitHub-ultralytics/ultralyticsat15b3b0365