BoxMOT
BoxMOT is a multi-object tracking toolkit for axis-aligned boxes, oriented boxes, and instance masks. Track videos, image sequences, and live streams from the CLI, or use its detectors, appearance encoders, and trackers in Python.
Swap components to suit your footage, reuse detections and embeddings across
experiments, and evaluate or tune trackers on the same inputs. Selected trackers
also provide native C++ backends. The tracker overview
lists supported inputs, including mask-aware tracking and 2D/3D sensor fusion.
For manual object selection, EdgeTAM tracks boxes or
points drawn in an interactive video window launched from boxmot ui.
Get started
Choose CLI or Python below. The docs remember your choice across examples with the same tab labels.
Replace video.mp4 with your video. The detector weights download on first use;
--save writes the tracked video. See Track for webcams,
streams, and display options, or Installation
for other backends.
Compare trackers on a dataset
Materialize detections and appearance embeddings once, then reuse that build
for evaluation. This YOLOX example uses the
source checkout with the yolo extra:
from boxmot.engine.eval.evaluator import run_eval
from boxmot.engine.materialization.workflow import materialize
if __name__ == "__main__":
build = materialize(experiment="mot17/ablation-yolox-lmbn.yaml")
result = run_eval(experiment="mot17/ablation-yolox-lmbn.yaml", build=build)
print(result.summary)
Materialization downloads the configured MOT17 split and model weights as
needed. Replace BUILD_ID with the ID it prints. See
supported datasets to choose a benchmark and
comparison guidance to keep experiments comparable.
The Python example passes the returned build path directly to evaluation.
Where to go next
| Goal | Guide |
|---|---|
| Choose a tracker and check its input requirements | Trackers |
| Choose box, oriented-box, mask, or sensor-fusion tracking and its variants | Tracking tasks |
| Choose a benchmark or bring your own data | Datasets |
| Materialize, evaluate, tune, or train ReID models | Modes |
| Compose components and pipelines in Python | Python API |
| Deploy with Docker, HTTP, or native C++ | Integrations |
For component boundaries and data contracts, see the tracking pipeline and canonical structures guides.