#5555th of 56 in Image and video

yolov5-deepsort-inference

YOLOv5 detection plus DeepSort tracking for counting vehicles and pedestrians

Stars
1.5k
License
GPL-3.0
Last commit
Mar 2026
Language
Python
Stars, last 29 weeks+29
21 Apr 2026: 1,451 stars28 Apr 2026: 1,454 stars5 May 2026: 1,455 stars12 May 2026: 1,455 stars19 May 2026: 1,456 stars26 May 2026: 1,459 stars2 Jun 2026: 1,461 stars9 Jun 2026: 1,463 stars16 Jun 2026: 1,463 stars23 Jun 2026: 1,464 stars30 Jun 2026: 1,467 stars7 Jul 2026: 1,467 stars14 Jul 2026: 1,467 stars21 Jul 2026: 1,469 stars28 Jul 2026: 1,469 stars4 Aug 2026: 1,469 stars11 Aug 2026: 1,470 stars18 Aug 2026: 1,470 stars25 Aug 2026: 1,471 stars1 Sept 2026: 1,472 stars8 Sept 2026: 1,472 stars15 Sept 2026: 1,473 stars22 Sept 2026: 1,476 stars29 Sept 2026: 1,476 stars6 Oct 2026: 1,476 stars13 Oct 2026: 1,478 stars20 Oct 2026: 1,479 stars27 Oct 2026: 1,479 stars3 Nov 2026: 1,480 stars10 Nov 2026: 1,480 stars

1,451 on 21 Apr 20261,480 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Python project that runs YOLOv5 detection and DeepSort tracking on video to track people, cars and trucks. It wraps both in a `Detector` class whose `feedCap` call returns an annotated frame, and `demo.py` runs the example. Custom YOLOv5 weights can be placed in the `weights` folder. The README points to a newer YOLOv11 version as the latest.

Who it is for: Computer vision developers adding vehicle or pedestrian tracking to video

Strengths

  • Wrapped `Detector` class with a single `feedCap` call returns an annotated frame
  • Custom-trained YOLOv5 weights can be used by placing them in `weights/`
  • Includes DeepSort re-ID tracking, not only per-frame detection
  • Short setup: `pip install -r requirements.txt` then `python demo.py`

Weaknesses

  • Detection filter is hardcoded to person, car and truck labels
  • Author points to a newer YOLOv11-DeepSort repository as the latest version
  • GPL-3.0 license limits use in closed-source products
  • README is in Chinese; no tests or benchmarks listed

What it needs

  • GPU optional
  • Needs PyTorch, YOLOv5 (ultralytics), DeepSort
  • Models: YOLOv5 .pt weights (default yolov5m.pt)

Quick answers

Is yolov5-deepsort-inference open source?

Yes. Its code is on GitHub under the GPL-3.0 license.

Does yolov5-deepsort-inference need a GPU?

No. It runs on a CPU and can use a GPU when you have one.

Also in Image and video

See all 56
Also in Image and video
RankProjectScore
1frigateLocal NVR with realtime object detection for IP cameras37.4k starsMIT92 out of 100
2MoneyPrinterTurboGenerates short videos from a topic, with script, footage, voiceover and subtitles142.4k stars+12,729 (+9.8%) in 30 daysMIT88 out of 100
3toonflow-appInfinite-canvas tool for AI short drama and comic video production21.4k stars+4,197 (+24%) in 30 daysMIT86 out of 100
#4ComfyUINode-graph editor for running diffusion image, video, audio and 3D workflows146.3k stars+9,609 (+7.0%) in 30 daysGPL-3.085 out of 100
#5InvokeAIWeb UI for diffusion image generation with inpainting canvas and node workflows29.1k stars+545 (+1.9%) in 30 daysApache-2.085 out of 100