← 开源
adipandas

multi-object-tracker

Multi-object trackers in Python

Model DevelopmentClassical MLPython
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
697
Star
101
Fork
+1
本周
4
贡献者
创建于 2018-09-11 · 更新于 2026-10-13 · 今日第 14862 名
主要开发者
adipandasedavalosanayapaartheee

adipandas/multi-object-tracker 排名第 14,862,有 697 个星标。

同类别比较

adipandas/multi-object-tracker 排名第 14,862,此处有 8 个同类条目;auroua/InsightFace_TF 排名第 14,863。

同类别比较
名称排名指标
tambetm/simple_dqn14,848
语言:
HTML
星标数:
699
分叉数:
185
简介:
Simple deep Q-learning agent.
yandex/rep14,849
语言:
Jupyter Notebook
星标数:
699
分叉数:
145
简介:
Machine Learning toolbox for Humans
bes-dev/MobileStyleGAN.pytorch14,851
语言:
Python
星标数:
698
分叉数:
87
简介:
An official implementation of MobileStyleGAN in PyTorch
jonasrauber/eagerpy14,857
语言:
Python
星标数:
698
分叉数:
39
auroua/InsightFace_TF14,863
语言:
Python
星标数:
697
分叉数:
247
简介:
Insight Face on TensorFlow
tkn-tub/ns3-gym14,870
语言:
C++
星标数:
697
分叉数:
221
简介:
ns3-gym - The Playground for Reinforcement Learning in Networking Research
vecxoz/vecstack14,871
语言:
Python
星标数:
697
分叉数:
79
简介:
Python package for stacking (machine learning technique)
HasnainRaz/Fast-SRGAN14,879
语言:
Python
星标数:
695
分叉数:
120
简介:
A Fast Deep Learning Model to Upsample Low Resolution Videos to High Resolution at 30fps
关键参数与规格
关键参数与规格
参数值
语言Python
类别Model Development
子类别Classical ML
关键词Object detection
星标数697
分叉数101
贡献者4
创建日期2018-09-11
更新日期2026-10-13
1 天星标数0
7 天星标数1
排名14,862
上次排名14,701
排名变化-161
7 天星标排名10,904
上次 7 天星标排名10,961
7 天星标排名变化57
总星标排名14,934
上次总星标排名14,904
总星标排名变化-30
README 摘录

Multi-object trackers in Python Easy to use implementation of various multi-object tracking algorithms. YOLOv3 Installation This package requires **Python 3. 3 or later) is available here and can be done with the following command: Additionally, you can install the package through GitHub instead: **Note - for using neural network models with GPU** For using the opencv -based object detection modules provided in this repository with GPU, you may have to compile a CUDA enabled version of OpenCV from source

. To build opencv from source, refer the following links: [link-1], [link-2] How to use? : Examples The interface for each tracker is simple and similar. Please refer the example template below. Please refer examples folder of this repository for more details. Running tests Install the test dependencies and run the test suite with: Pretrained object detection models You will have to download the pretrained weights for the neural-network models. The shell scripts for downloading these are provided here

below respective folders. Notes There are some variations in implementations as compared to what appeared in papers of and . In case you find any bugs in the algorithm, I will be happy to accept your pull request or you can create an issue to point it out. References, Credits and Contributions Please see REFERENCES. Citation If you use this repository in your work, please consider citing it with:

常见问题

记录了多少星标和分叉?

adipandas/multi-object-tracker 有 697 个星标和 101 个分叉。

仓库排名是多少?

adipandas/multi-object-tracker 排名第 14,862。

记录的语言和类别是什么?

adipandas/multi-object-tracker 有 697 个星标,语言为 Python,类别为 Model Development。

哪个仓库排名最接近?

adipandas/multi-object-tracker 与 auroua/InsightFace_TF 比较,后者排名第 14,863,有 697 个星标。

README

Multi-object trackers in Python

Easy to use implementation of various multi-object tracking algorithms.

YOLOv3 + CentroidTracker TF-MobileNetSSD + CentroidTracker
Video source: link Video source: link

Available Multi Object Trackers

  • CentroidTracker
  • IOUTracker
  • CentroidKF_Tracker
  • SORT

Available OpenCV-based object detectors:

  • detector.TF_SSDMobileNetV2
  • detector.Caffe_SSDMobileNet
  • detector.YOLOv3

Installation

This package requires Python 3.10 or later.

Pip install for OpenCV (version 3.4.3 or later) is available here and can be done with the following command:

pip install motrackers

Additionally, you can install the package through GitHub instead:

git clone https://github.com/adipandas/multi-object-tracker
cd multi-object-tracker
pip install [-e] .

Note - for using neural network models with GPU
For using the opencv dnn-based object detection modules provided in this repository with GPU, you may have to compile a CUDA enabled version of OpenCV from source.

  • To build opencv from source, refer the following links: [link-1], [link-2]

How to use?: Examples

The interface for each tracker is simple and similar. Please refer the example template below.

from motrackers import CentroidTracker # or IOUTracker, CentroidKF_Tracker, SORT
input_data = ...
detector = ...
tracker = CentroidTracker(...) # or IOUTracker(...), CentroidKF_Tracker(...), SORT(...)
while True:
    done, image = 
    if done:
        break
    detection_bboxes, detection_confidences, detection_class_ids = detector.detect(image)
    # NOTE: 
    # * `detection_bboxes` are numpy.ndarray of shape (n, 4) with each row containing (bb_left, bb_top, bb_width, bb_height)
    # * `detection_confidences` are numpy.ndarray of shape (n,);
    # * `detection_class_ids` are numpy.ndarray of shape (n,).
    output_tracks = tracker.update(detection_bboxes, detection_confidences, detection_class_ids)
    # `output_tracks` is a list with each element containing tuple of
    # (, , , , , , , , , )
    for track in output_tracks:
        frame, id, bb_left, bb_top, bb_width, bb_height, confidence, x, y, z = track
        assert len(track) == 10
        print(track)

Please refer examples folder of this repository for more details. You can clone and run the examples.

Running tests

Install the test dependencies and run the test suite with:

pip install -e ".[test]"
pytest

Pretrained object detection models

You will have to download the pretrained weights for the neural-network models. The shell scripts for downloading these are provided here below respective folders. Please refer DOWNLOAD_WEIGHTS.md for more details.

Notes

  • There are some variations in implementations as compared to what appeared in papers of SORT and IoU Tracker.
  • In case you find any bugs in the algorithm, I will be happy to accept your pull request or you can create an issue to point it out.

References, Credits and Contributions

Please see REFERENCES.md and CONTRIBUTING.md.

Citation

If you use this repository in your work, please consider citing it with:

@misc{multiobjtracker_amd2018,
  author = {Deshpande, Aditya M.},
  title = {Multi-object trackers in Python},
  year = {2020},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/adipandas/multi-object-tracker}},
}
排名相邻
同类项目