Back to Trending
RepositoryC++
xieincz

xieincz/Multithreaded-YOLOv5-ByteTrack

Multi-thread tracking of YOLOv5 and ByteTrack implemented by C++, accelerated by TensorRT. YOLOv5 和 ByteTrack 的多线程追踪 C++ 实现, 使用 TensorRT 进行推理加速

83stars
9forks
2issues
0views

Multithreaded-YOLOv5-ByteTrack

Multi-thread tracking of YOLOv5 and ByteTrack implemented by C++, accelerated by TensorRT.

检测器采用的是 YOLOv5 (可以轻松替换成其他同类的检测器),追踪器采用的是 ByteTrack 。和其他同类项目不同的是加入了多线程处理以及用 C++和 TensorRT 加快推理速度。一个线程负责读取来自视频文件(可以轻松更改为摄像头)的帧,一个线程负责用 YOLOv5 得到检测框,一个线程用 ByteTrack 给各个检测框 reid ,还有一个线程负责将结果绘制到视频文件中。在多 CPU 核心(>=3 核)的设备上的效果比目前其他同类的项目要更快。而且还可以根据需要给各个线程设置 CPU 亲和性(将某线程绑定到某个 CPU 核心,该功能仅限于 Linux 平台)。

此外还利用 SWIG 包装了接口,方便在 python 中像调用一个库一样使用本项目。

TODO

  • YOLOv8

Usage and demo

Click the button shown below to try this project in colab.

Open In Colab

note: You can also upload the notebook in the colab folder of this project to the colab for running.

Acknowledgement

A large part of the code is borrowed from yolov5_deepsort_tensorrt, TensorRTx, YOLOv5 and ByteTrack. Thanks for their wonderful works.

Similar Projects

Discover other similar projects and AI models.

RepositoryC++
RichardoMrMu/yolov5-deepsort-tensorrt

A c++ implementation of yolov5 and deepsort

494
May 9, 2024
RepositoryPython
mikel-brostrom/boxmot

BoxMOT: Pluggable multi-object tracking in Python and C++ for axis-aligned and oriented boxes, now with Helm deployment for continuous camera tracking on Kubernetes.

8.3k
Nov 20, 2026
RepositoryJupyter Notebook
TingsongYu/PyTorch-Tutorial-2nd

《Pytorch实用教程》(第二版)无论是零基础入门,还是CV、NLP、LLM项目应用,或是进阶工程化部署落地,在这里都有。相信在本书的帮助下,读者将能够轻松掌握 PyTorch 的使用,成为一名优秀的深度学习工程师。

4.6k
Nov 29, 2026
RepositoryPython
roboflow/inference

Turn any computer or edge device into a command center for your computer vision projects.

2.5k
Nov 30, 2026
RepositoryPython
Linaom1214/TensorRT-For-YOLO-Series

tensorrt for yolo series (YOLOv11,YOLOv10,YOLOv9,YOLOv8,YOLOv7,YOLOv6,YOLOX,YOLOv5), nms plugin support

1.2k
Oct 15, 2025
RepositoryPython
practical-tutorials/project-based-learning

Curated list of project-based tutorials

290.9k
Nov 30, 2026
RepositoryJavaScript
CyC2018/CS-Notes

:books: 技术面试必备基础知识、Leetcode、计算机操作系统、计算机网络、系统设计

186.6k
Nov 27, 2026
RepositoryPython
Significant-Gravitas/AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

188.2k
Nov 29, 2026
RepositoryC++
ClickHouse/ClickHouse

ClickHouse® is a real-time analytics database management system

51.3k
Dec 1, 2026