Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
D

DeepSORT_YOLOv5_Pytorch

> 编程语言
Open source

DeepSORT + YOLOv5

392 stars0 likes1 views
WebsiteGitHub

About

DeepSORT + YOLOv5

DeepSORT_YOLOv5_Pytorch

Prepare

1 Create a virtual environment with Python >=3.8

conda create -n py38 python=3.8    
conda activate py38   

2 Install pytorch >= 1.6.0, torchvision >= 0.7.0.

conda install pytorch torchvision cudatoolkit=10.1 -c pytorch

3 Install all dependencies

bash
pip install -r requirements.txt

4 Download the yolov5 weight. I already put the yolov5s.pt inside. If you need other models, please go to official site of yolov5. and place the downlaoded .pt file under yolov5/weights/.
And I also aready downloaded the deepsort weights. You can also download it from here, and place ckpt.t7 file under deep_sort/deep/checkpoint/

Run

bash
# on video file
python main.py --input_path [VIDEO_FILE_NAME]

# on webcam 
python main.py --cam 0 --display

Reference

  1. Yolov5_DeepSort_Pytorch
  2. yolov5
  3. deep_sort_pytorch
  4. deep_sort

Note: please follow the LICENCE of YOLOv5!

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Pythondeepsortmulti-object-trackingpytorchsimple-online-and-realtime-tracking

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言