Registry / ai-ml / trackers

trackers

JSON →
library2.4.0pypypiunverified

A unified library for object tracking featuring clean room re-implementations of leading multi-object tracking algorithms. Current version: 2.4.0. Release cadence: irregular, with occasional major updates.

pip install trackers
INSTALL
IMPORT
SIG · TRACKERS
T
trackers
ai-mlpythonv2.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

BotSort
from trackers import BotSort
from trackers import BotSort

Initialize a tracker and update with detections (list of lists).

from trackers import BotSort import numpy as np tracker = BotSort() # Example: update with random detections (x1, y1, x2, y2, score, class_id) detections = np.random.rand(5, 6).tolist() tracks = tracker.update(detections, img_size=(640, 480)) print(tracks)
Debug
Known issues
breakingIn version 2.0, the import paths changed: all trackers are now importable directly from the trackers package. Submodule imports like 'from trackers.botsort import BotSort' no longer work.
fix
Use 'from trackers import BotSort' instead of 'from trackers.botsort import BotSort'.
affects: <2.0 -> >=2.0
gotchaThe update() method expects detections as a list of lists in the format [x1, y1, x2, y2, score, class_id]. It does not accept numpy arrays directly as input.
fix
Convert your detections to a list of lists before calling update().
affects: all
deprecatedThe 'verbose' parameter in tracker initialization is deprecated and will be removed in a future version. Use logging configuration instead.
fix
Remove the 'verbose' parameter and configure Python logging separately.
affects: >=2.3, <2.5
Upgrade
Version history
2.4.0latest on PyPI · released May 6, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
18
OpenAI (training)
1
Resources
trackers — pip install trackers · libregistry