Skip to main content

BoxMOT logo

Pluggable Python and C++ multi-object tracking modules for axis-aligned and oriented bounding box detections from any model.

CI PyPI version downloads license python-version docker pulls DOI colab discord Ask DeepWiki

mikel-brostrom%2Fboxmot | Trendshift


DocsInstallationModesAPI ReferenceTrackersContributing

BoxMOT demo

BoxMOT gives you one CLI and one Python API for running modern multi-object tracking workflows. It covers direct tracking, catalog-backed evaluation, tuning, research loops, ReID training and evaluation, and ReID export without forcing you to rebuild the detector and tracker stack for each experiment.

Why BoxMOT

  • One interface for track, generate, eval, tune, research, train-reid, eval-reid, export, and native build workflows.
  • Swappable trackers with shared detector and ReID plumbing.
  • Dataset and experiment workflows with reusable detections and embeddings.
  • Support for both AABB and OBB tracking paths.
  • Optional production-ready native C++ tracker implementations with the same metrics as the Python path, opted into via --tracker-backend cpp and embeddable in standalone C++ projects via CMake (see Native C++ Integration).
  • Public Python API for embedding the same workflows in applications and notebooks.

Installation

BoxMOT supports Python 3.10 through 3.13.

pip install boxmot
boxmot --help

For mode-specific extras such as yolo, evolve, research, onnx, openvino, and tflite, see the installation guide.

Benchmark Results

Tracker Status MOT17 ablation SportsMOT val MMOT OBB test OBB
HOTA MOTA IDF1 HOTA MOTA IDF1 HOTA MOTA IDF1
occluboost 71.10
(71.10)
78.50
(78.50)
85.28
(85.28)
83.17 97.48 89.36 49.84
(49.84)
39.41
(39.41)
58.60
(58.60)
botsort 69.68
(69.74)
78.23
(78.27)
82.33
(82.55)
76.93 98.11 78.30 52.31
(52.40)
45.43
(45.53)
61.42
(61.42)
boosttrack 69.25
(—)
75.91
(—)
83.20
(—)
76.32 97.08 77.82 48.39
(—)
41.36
(—)
56.36
(—)
strongsort 68.05
(—)
76.19
(—)
80.76
(—)
79.80 97.31 80.27 49.76
(—)
43.70
(—)
57.32
(—)
deepocsort 67.95
(—)
75.83
(—)
80.54
(—)
79.51 97.94 79.59 50.84
(—)
44.21
(—)
59.33
(—)
bytetrack 67.68
(67.68)
78.04
(78.04)
79.16
(79.16)
67.93 97.25 76.90 33.97
(33.97)
33.72
(33.72)
39.74
(39.74)
hybridsort 67.31
(—)
74.09
(—)
78.87
(—)
81.14 98.07 81.88 54.64
(—)
47.50
(—)
64.67
(—)
ocsort 66.44
(66.44)
74.55
(74.55)
77.90
(77.90)
76.34 96.60 75.64 28.64
(28.64)
26.17
(26.17)
30.06
(30.06)
sfsort 62.65
(62.65)
76.87
(76.87)
69.18
(69.18)
75.73 98.39 72.99 47.83
(47.83)
45.42
(45.42)
52.09
(52.09)

Scores are Python first and C++ in parentheses.
MMOT reported metrics are 'class average'. See Experiment Workflows for details.

Related guides:

Minimal Usage

CLI:

boxmot track --detector yolo26n --reid lmbn_n_duke --tracker occluboost --source 0 --save --show

Python:

import numpy as np
from boxmot.trackers import OccluBoost

tracker = OccluBoost()

# dets: (N, 6) array with [x1, y1, x2, y2, conf, cls] per detection
dets = np.array([[100, 200, 300, 400, 0.9, 0]], dtype=np.float32)
# OBB alternative: (N, 7) with [cx, cy, w, h, angle_radians, conf, cls]
# dets = np.array([[200, 300, 200, 200, 0.25, 0.9, 0]], dtype=np.float32)
img = np.zeros((480, 640, 3), dtype=np.uint8)  # current frame

# tracks: AABB (M, 8), or OBB (M, 9) with angle after h
tracks = tracker.update(dets, img)
print(tracks)

Contributing

Start with CONTRIBUTING.md and the contributor docs.

Contributors

BoxMOT contributors

Support and Citation

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

boxmot-23.0.0.tar.gz (26.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

boxmot-23.0.0-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

Details for the file boxmot-23.0.0.tar.gz.

File metadata

  • Download URL: boxmot-23.0.0.tar.gz
  • Upload date:
  • Size: 26.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.6 {"installer":{"name":"uv","version":"0.12.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for boxmot-23.0.0.tar.gz
Algorithm Hash digest
SHA256 47faa779b958ded21e2b9ce2331b6b00fccbd1500767f1c9b15848cc36e8ab0d
MD5 9caf40d376f865750eb91da93e76aebd
BLAKE2b-256 8b259006f5c84428d92a1fda59f3a6356e93533103b86d4557e7e1b1c5270652

See more details on using hashes here.

File details

Details for the file boxmot-23.0.0-py3-none-any.whl.

File metadata

  • Download URL: boxmot-23.0.0-py3-none-any.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.6 {"installer":{"name":"uv","version":"0.12.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for boxmot-23.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 63a9a4717f69c7b3a0839f71b807618eb3bc98b6171b87266d8eb997d6cf0666
MD5 505f62f361a702ec3dc75631bdb34637
BLAKE2b-256 7d0475111a846ea00f6b5c5fc230428985686304f90c076345e8000a7cf31b5a

See more details on using hashes here.

Release history Release notifications | RSS feed

25.0.0

2 files

This release

23.0.0 This release

2 files

22.0.0

2 files

21.0.0

2 files

20.0.0

2 files

19.0.0

2 files

18.0.0

2 files

17.0.0

2 files

16.0.11

2 files

16.0.10

2 files

16.0.9

2 files

16.0.8

2 files

16.0.7

2 files

16.0.6

2 files

16.0.5

2 files

16.0.4

2 files

16.0.3

2 files

16.0.2

2 files

16.0.1

2 files

16.0.0

2 files

15.1.0

2 files

15.0.10

2 files

15.0.9

2 files

15.0.8

2 files

15.0.7

2 files

15.0.6

2 files

15.0.5

2 files

15.0.4

2 files

15.0.3

2 files

15.0.2

2 files

15.0.1

2 files

15.0.0

2 files

14.0.0

2 files

13.0.17

2 files

13.0.16

2 files

13.0.15

2 files

13.0.14

2 files

13.0.13

2 files

13.0.12

2 files

13.0.11

2 files

13.0.10

2 files

13.0.9

2 files

13.0.8

2 files

13.0.7

2 files

13.0.6

2 files

13.0.5

2 files

13.0.4

2 files

13.0.3

2 files

13.0.2

2 files

13.0.1

2 files

13.0.0

2 files

12.0.10

2 files

12.0.9

2 files

12.0.8

2 files

12.0.7

2 files

12.0.6

2 files

12.0.5

2 files

12.0.4

2 files

12.0.2

2 files

12.0.1

2 files

12.0.0

2 files

11.0.9

2 files

11.0.8

2 files

11.0.7

2 files

11.0.6

2 files

11.0.5

2 files

11.0.4

2 files

11.0.3

2 files

11.0.2

2 files

11.0.1

2 files

11.0.0

2 files

10.0.84

2 files

10.0.83

2 files

10.0.82

2 files

10.0.81

2 files

10.0.80

2 files

10.0.79

2 files

10.0.78

2 files

10.0.77

2 files

10.0.76

2 files

10.0.75

2 files

10.0.73

2 files

10.0.72

2 files

10.0.69

2 files

10.0.68

2 files

10.0.67

2 files

10.0.66

2 files

10.0.65

2 files

10.0.64

2 files

10.0.63

2 files

10.0.62

2 files

10.0.61

2 files

10.0.60

2 files

10.0.59

2 files

10.0.58

2 files

10.0.57

2 files

10.0.56

2 files

10.0.55

2 files

10.0.54

2 files

10.0.52

2 files

10.0.51

2 files

10.0.50

2 files

10.0.49

2 files

10.0.48

2 files

10.0.47

2 files

10.0.46

2 files

10.0.45

2 files

10.0.44

2 files

10.0.43

2 files

10.0.42

2 files

10.0.41

2 files

10.0.40

2 files

10.0.39

2 files

10.0.38

2 files

10.0.37

2 files

10.0.36

2 files

10.0.35

2 files

10.0.34

2 files

10.0.33

2 files

10.0.32

2 files

10.0.31

2 files

10.0.30

2 files

10.0.29

2 files

10.0.28

2 files

10.0.27

2 files

10.0.26

2 files

10.0.25

2 files

10.0.24

2 files

10.0.23

2 files

10.0.22

2 files

10.0.21

2 files

10.0.20

2 files

10.0.19

2 files

10.0.16

2 files

10.0.15

2 files

10.0.14

2 files

10.0.13

2 files

10.0.12

2 files

10.0.11

2 files

10.0.10

2 files

10.0.9

2 files

10.0.8

2 files

10.0.7

2 files

10.0.6

2 files

10.0.5

2 files

10.0.4

2 files

10.0.3

2 files

10.0.2

2 files

10.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page