赞
踩
参考视频:https://www.youtube.com/watch?v=nkptX_vXJKo
git地址:https://github.com/MuhammadMoinFaisal/YOLOv8-DeepSORT-Object-Tracking
Clone the repository
git clone https://github.com/MuhammadMoinFaisal/YOLOv8-DeepSORT-Object-Tracking.git
Goto the cloned folder.
cd YOLOv8-DeepSORT-Object-Tracking
Install the dependecies
pip install -e '.[dev]'
这里要注意不是在yolo环境下执行,而是在普通命令行下执行,否则会报错
Run the code with mentioned command below.
For yolov8 object detection + Tracking
python predict.py model=yolov8l.pt source=“test3.mp4” show=True
解决方案参考链接:https://blog.csdn.net/qq_37164776/article/details/126832303
注:最终使用 yolov8-deepsort 报错,未实际跑起来;
github链接:https://github.com/redeagle17/Car-Counting
我的实现方式,将Car-Countind/Car Counter Project/ 路径下的 carCounter.py sort.py复制到我已经配置好环境的ultralytics
我的ultralytics版本是 ultralytics-8.0.49
运行后可以对每一个识别到的目标进行id的标注
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。