参考项目:https://github.com/JackWoo0831/Yolov7-tracker/tree/master
github链接:https://github.com/Whiffe/Yolov7-tracker
码云链接:https://gitee.com/YFwinston/Yolov7-tracker
b站视频:https://www.bilibili.com/video/BV1Rh4y1K7zt/
平台:AutoDL
选择镜像:
PyTorch 1.7.0 Python 3.8(ubuntu18.04) Cuda 11.0
通过github下载
git clone https://github.com/Whiffe/Yolov7-tracker
或者通过码云下载(推荐)
git clone https://gitee.com/YFwinston/Yolov7-tracker
下载权重,放在:Yolov7-tracker/weights中
权重下载:https://download.csdn.net/download/WhiffeYF/88250387
pip install -r requirements.txt
pip install Cython
pip install cython_bbox
pip install motmetrics
python tracker/track_demo.py --obj ./detect_frames/ --save_txt True
结果有文本结果和图片结果:
文本结果如下:
Yolov7-tracker/demo_result/detect_frames/01