Metadata-Version: 2.4
Name: trackers
Version: 2.0.0rc0
Summary: A unified library for object tracking featuring clean room re-implementations of leading multi-object tracking algorithms
Author-email: Piotr Skalski <piotr.skalski92@gmail.com>, Soumik Rakshit <soumik@roboflow.com>
License: Apache License 2.0
License-File: LICENSE
Keywords: AI,DETR,DL,ML,Roboflow,YOLO,deep-learning,deepsort,machine-learning,mot,sort,tracking,vision
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX
Classifier: Operating System :: Unix
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Software Development
Classifier: Typing :: Typed
Requires-Python: >=3.9
Requires-Dist: firerequests>=0.1.2
Requires-Dist: numpy>=2.0.2
Requires-Dist: supervision>=0.25.1
Provides-Extra: cpu
Requires-Dist: torch>=2.6.0; extra == 'cpu'
Requires-Dist: torchvision>=0.21.0; extra == 'cpu'
Provides-Extra: cu124
Requires-Dist: torch>=2.6.0; extra == 'cu124'
Requires-Dist: torchvision>=0.21.0; extra == 'cu124'
Provides-Extra: deepsort
Requires-Dist: scipy>=1.13.1; extra == 'deepsort'
Requires-Dist: timm>=1.0.15; extra == 'deepsort'
Requires-Dist: validators>=0.34.0; extra == 'deepsort'
Description-Content-Type: text/markdown

[![colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1VT_FYIe3kborhWrfKKBqqfR0EjQeQNiO?usp=sharing)
[![discord](https://img.shields.io/discord/1159501506232451173?logo=discord&label=discord&labelColor=fff&color=5865f2&link=https%3A%2F%2Fdiscord.gg%2FGbfgXGJ8Bk)](https://discord.gg/GbfgXGJ8Bk)

<div align="center">
    <h1 align="center">trackers</h1>
    <img width="200" src="https://github.com/user-attachments/assets/3fce0d37-dc1a-4b1f-b9ec-ca6ccf3a33f1" alt="make sense logo">
    </br>
    <p>coming: when it's ready...</p>
</div>

## Hello

A unified library for object tracking featuring clean room re-implementations of leading multi-object tracking algorithms.

## Installation

Pip install the `trackers` package in a [**Python>=3.9**](https://www.python.org/) environment.

```bash
pip install trackers
```

<details>
<summary>Install from source</summary>

<br>

By installing `trackers` from source, you can explore the most recent features and enhancements that have not yet been officially released. Please note that these updates are still in development and may not be as stable as the latest published release.

```bash
pip install git+https://github.com/roboflow/trackers.git
```

</details>

## Quickstart

With a modular design, `trackers` lets you combine object detectors from different libraries (such as `ultralytics`, `transformers`, or `mmdetection`) with the tracker of your choice. 

```python
import supervision as sv
from rfdetr import RFDETRBase
from trackers.sort_tracker import SORTTracker

model = RFDETRBase()
tracker = SORTTracker()
annotator = sv.LabelAnnotator(text_position=sv.Position.CENTER)

def callback(frame, _):
    detections = model.predict(frame)
    detections = tracker.update(detections)
    return annotator.annotate(frame, detections, detections.tracker_id)

sv.process_video(
    source_path=<SOURCE_VIDEO_PATH>,
    target_path=<TARGET_VIDEO_PATH>,
    callback=callback,
)
```

https://github.com/user-attachments/assets/910490b3-32a0-4b7f-8b84-5b50aa83e004

## License

The code is released under the [Apache 2.0 license](https://github.com/roboflow/trackers/blob/main/LICENSE).

## Contribution

We welcome all contributions—whether it’s reporting issues, suggesting features, or submitting pull requests. Please read our [contributor guidelines](https://github.com/roboflow/trackers/blob/main/CONTRIBUTING.md) to learn about our processes and best practices.
