edgefirst-tracker
ByteTrack multi-object tracking. Installs alone — it does not require the tensor, image, or decoder wheels.
Part of the EdgeFirst HAL
edgefirst-tracker is one of five Python packages built from the EdgeFirst Hardware Abstraction Layer.
The EdgeFirstAI/hal repository is the home for all of them — source, issue tracker, architecture documentation and release notes.
| Package | Provides |
|---|---|
edgefirst-tensor |
Zero-copy tensor allocation and host/GPU/CUDA mapping |
edgefirst-codec |
JPEG and PNG decoding directly into pre-allocated tensors |
edgefirst-image |
GPU-accelerated colour conversion, resize, letterbox, tiling and drawing |
edgefirst-decoder |
YOLO and ModelPack output decoding |
edgefirst-tracker |
ByteTrack (this package) |
Installation
pip install edgefirst-tracker
Requires Python 3.8 or newer and NumPy. Wheels are published for Linux (x86_64, aarch64), macOS (arm64), and Windows (x86_64). This package does not depend on edgefirst-tensor.
Packages install under the PEP 420 edgefirst.* namespace, so the import is edgefirst.tracker.
Quick start
ByteTrack.update takes detections for one timestamp and returns a list of TrackInfo (or None for unmatched rows) of the same length as the input:
import numpy as np
from edgefirst.tracker import ByteTrack
tracker = ByteTrack()
# boxes is (N, 4) XYXY; scores and labels are length N.
boxes = np.array([[0.1, 0.2, 0.3, 0.4]], dtype=np.float32)
scores = np.array([0.9], dtype=np.float32)
labels = np.array([0], dtype=np.intp)
timestamp_ns = 0
tracks = tracker.update(boxes, scores, labels, timestamp_ns)
for t in tracks:
if t is None:
continue
print(t.uuid, t.tracked_location, t.count)
Decoder.decode_tracked on the edgefirst-decoder wheel accepts this ByteTrack (or any object with an update method).
Parameters
| Argument | Default | Meaning |
|---|---|---|
high_conf |
0.7 |
Detections above this score take the first association pass |
iou |
0.25 |
IoU gate for matching a detection to a track |
update |
0.25 |
Kalman update blending factor |
lifespan_ns |
500_000_000 |
Drop a track that has not matched for this many nanoseconds (500 ms) |
Errors
update raises if boxes, scores, and labels disagree on N, or if boxes is not shape (N, 4). Empty detections (N == 0) are valid — unmatched tracks age and expire according to lifespan_ns.
Performance
Association is CPU-only (Kalman + IoU). Typical cost is microseconds per frame at tens of detections; it does not allocate GPU tensors and does not link libedgefirst_tensor. Build the tracker once and call update every frame.
Versioning and changelog
All five edgefirst-* packages are versioned and released together with the HAL itself. Release notes live in the single CHANGELOG.md.
Links
- Changelog — release notes for all packages
- Source — the
halmonorepo - Issue tracker
- Package documentation — the underlying Rust crate
- EdgeFirst
License
Apache-2.0
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file edgefirst_tracker-0.29.4.tar.gz.
File metadata
- Download URL: edgefirst_tracker-0.29.4.tar.gz
- Upload date:
- Size: 1.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
153e4d5f205dc302b2ee6629263d8386029d968d6c31df9a5b27e081760b8b7c
|
|
| MD5 |
c3dadf3f593a4599404098e3612e9c51
|
|
| BLAKE2b-256 |
8b201308ad3b1a384b7472d38fb88cdedea10b6beffd901839f01a0a27072a3f
|
Provenance
The following attestation bundles were made for edgefirst_tracker-0.29.4.tar.gz:
Publisher:
release.yml on EdgeFirstAI/hal
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
edgefirst_tracker-0.29.4.tar.gz -
Subject digest:
153e4d5f205dc302b2ee6629263d8386029d968d6c31df9a5b27e081760b8b7c - Sigstore transparency entry: 2718531344
- Sigstore integration time:
-
Permalink:
EdgeFirstAI/hal@b8a376e6e76a26bab9ab63c1ae87c48b579e53d2 -
Branch / Tag:
refs/tags/v0.29.4 - Owner: https://github.com/EdgeFirstAI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b8a376e6e76a26bab9ab63c1ae87c48b579e53d2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file edgefirst_tracker-0.29.4-cp311-abi3-win_amd64.whl.
File metadata
- Download URL: edgefirst_tracker-0.29.4-cp311-abi3-win_amd64.whl
- Upload date:
- Size: 311.4 kB
- Tags: CPython 3.11+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bbc4a97a664064ce370cff0319d07d5d226134857056ccc9b532c3b533fe3728
|
|
| MD5 |
68a26c25a45195ab0897f30298753e56
|
|
| BLAKE2b-256 |
f9ce1e019cbe038339b4d09bdb86e2e6b86a23c2961cf2f5fc5478f2176d242f
|
Provenance
The following attestation bundles were made for edgefirst_tracker-0.29.4-cp311-abi3-win_amd64.whl:
Publisher:
release.yml on EdgeFirstAI/hal
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
edgefirst_tracker-0.29.4-cp311-abi3-win_amd64.whl -
Subject digest:
bbc4a97a664064ce370cff0319d07d5d226134857056ccc9b532c3b533fe3728 - Sigstore transparency entry: 2718537677
- Sigstore integration time:
-
Permalink:
EdgeFirstAI/hal@b8a376e6e76a26bab9ab63c1ae87c48b579e53d2 -
Branch / Tag:
refs/tags/v0.29.4 - Owner: https://github.com/EdgeFirstAI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b8a376e6e76a26bab9ab63c1ae87c48b579e53d2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file edgefirst_tracker-0.29.4-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: edgefirst_tracker-0.29.4-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 388.7 kB
- Tags: CPython 3.11+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1fedd9d078e79a3f0f3cb7a65966933179b83373e861cdf83651afe524ed5903
|
|
| MD5 |
66480bf3d0971c64d480dffef21c4f80
|
|
| BLAKE2b-256 |
cc011f433732c8085a642067a5a7acc2ddb16adc96eec0c6face8d7e5642252d
|
Provenance
The following attestation bundles were made for edgefirst_tracker-0.29.4-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
release.yml on EdgeFirstAI/hal
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
edgefirst_tracker-0.29.4-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
1fedd9d078e79a3f0f3cb7a65966933179b83373e861cdf83651afe524ed5903 - Sigstore transparency entry: 2718531829
- Sigstore integration time:
-
Permalink:
EdgeFirstAI/hal@b8a376e6e76a26bab9ab63c1ae87c48b579e53d2 -
Branch / Tag:
refs/tags/v0.29.4 - Owner: https://github.com/EdgeFirstAI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b8a376e6e76a26bab9ab63c1ae87c48b579e53d2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file edgefirst_tracker-0.29.4-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: edgefirst_tracker-0.29.4-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 393.2 kB
- Tags: CPython 3.11+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27b5a0f99707246f37c754e8473d814c1c1e7667cae01748bf092aefe952448b
|
|
| MD5 |
982f8b43e62897dc4c8ff304b19513f7
|
|
| BLAKE2b-256 |
974e1c215e8972b0b9fdc21ae951f2cb2184a84fcf08997f30f05f6fdc365830
|
Provenance
The following attestation bundles were made for edgefirst_tracker-0.29.4-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:
Publisher:
release.yml on EdgeFirstAI/hal
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
edgefirst_tracker-0.29.4-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl -
Subject digest:
27b5a0f99707246f37c754e8473d814c1c1e7667cae01748bf092aefe952448b - Sigstore transparency entry: 2718538529
- Sigstore integration time:
-
Permalink:
EdgeFirstAI/hal@b8a376e6e76a26bab9ab63c1ae87c48b579e53d2 -
Branch / Tag:
refs/tags/v0.29.4 - Owner: https://github.com/EdgeFirstAI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b8a376e6e76a26bab9ab63c1ae87c48b579e53d2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file edgefirst_tracker-0.29.4-cp311-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: edgefirst_tracker-0.29.4-cp311-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 364.3 kB
- Tags: CPython 3.11+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50883cdb447e3eae064efb9f1810c59b3916277e63f79171b1c2fcb24429f52e
|
|
| MD5 |
27e0e853047d3b8795073b378236cf17
|
|
| BLAKE2b-256 |
89540147d901b3ce56570df9666806103cea5fd7595ba21068f4d05bdbb850f4
|
Provenance
The following attestation bundles were made for edgefirst_tracker-0.29.4-cp311-abi3-macosx_11_0_arm64.whl:
Publisher:
release.yml on EdgeFirstAI/hal
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
edgefirst_tracker-0.29.4-cp311-abi3-macosx_11_0_arm64.whl -
Subject digest:
50883cdb447e3eae064efb9f1810c59b3916277e63f79171b1c2fcb24429f52e - Sigstore transparency entry: 2718539116
- Sigstore integration time:
-
Permalink:
EdgeFirstAI/hal@b8a376e6e76a26bab9ab63c1ae87c48b579e53d2 -
Branch / Tag:
refs/tags/v0.29.4 - Owner: https://github.com/EdgeFirstAI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b8a376e6e76a26bab9ab63c1ae87c48b579e53d2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file edgefirst_tracker-0.29.4-cp38-abi3-win_amd64.whl.
File metadata
- Download URL: edgefirst_tracker-0.29.4-cp38-abi3-win_amd64.whl
- Upload date:
- Size: 315.1 kB
- Tags: CPython 3.8+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ac408dad1cbf0e1997e7c5d5f976b7d4dd33ca682a84a97834a4c14f161d631
|
|
| MD5 |
4b6bd3be7600645592b699a16311bda0
|
|
| BLAKE2b-256 |
733d03f7ad058ca420d7f6fd8ab034a89102e452ee46c68cf020943832c9112a
|
Provenance
The following attestation bundles were made for edgefirst_tracker-0.29.4-cp38-abi3-win_amd64.whl:
Publisher:
release.yml on EdgeFirstAI/hal
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
edgefirst_tracker-0.29.4-cp38-abi3-win_amd64.whl -
Subject digest:
3ac408dad1cbf0e1997e7c5d5f976b7d4dd33ca682a84a97834a4c14f161d631 - Sigstore transparency entry: 2718540832
- Sigstore integration time:
-
Permalink:
EdgeFirstAI/hal@b8a376e6e76a26bab9ab63c1ae87c48b579e53d2 -
Branch / Tag:
refs/tags/v0.29.4 - Owner: https://github.com/EdgeFirstAI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b8a376e6e76a26bab9ab63c1ae87c48b579e53d2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file edgefirst_tracker-0.29.4-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: edgefirst_tracker-0.29.4-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 410.8 kB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e030973098a509592be08064d5fb612a21f4424e2c3ee66328b2f0ac3314a3b2
|
|
| MD5 |
9ed92c8064f65229381ca4e7279d376e
|
|
| BLAKE2b-256 |
ffe4d692cdf3c4ebfe9a1ba287d9d9aae0720ab8d8325bab2a1726541e5e3b6d
|
Provenance
The following attestation bundles were made for edgefirst_tracker-0.29.4-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
release.yml on EdgeFirstAI/hal
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
edgefirst_tracker-0.29.4-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
e030973098a509592be08064d5fb612a21f4424e2c3ee66328b2f0ac3314a3b2 - Sigstore transparency entry: 2718535288
- Sigstore integration time:
-
Permalink:
EdgeFirstAI/hal@b8a376e6e76a26bab9ab63c1ae87c48b579e53d2 -
Branch / Tag:
refs/tags/v0.29.4 - Owner: https://github.com/EdgeFirstAI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b8a376e6e76a26bab9ab63c1ae87c48b579e53d2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file edgefirst_tracker-0.29.4-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: edgefirst_tracker-0.29.4-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 396.1 kB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2336f91071c17433458678e90a5ee8ab9fff7a833116fa8526c889b0b81d6ce3
|
|
| MD5 |
cdcc90f0e59d9abbb798e4818ecb7cab
|
|
| BLAKE2b-256 |
4a90c065e07d19eb3a1847fe46196899a2f80faa7b52776e53ff71bf1764655f
|
Provenance
The following attestation bundles were made for edgefirst_tracker-0.29.4-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:
Publisher:
release.yml on EdgeFirstAI/hal
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
edgefirst_tracker-0.29.4-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl -
Subject digest:
2336f91071c17433458678e90a5ee8ab9fff7a833116fa8526c889b0b81d6ce3 - Sigstore transparency entry: 2718533930
- Sigstore integration time:
-
Permalink:
EdgeFirstAI/hal@b8a376e6e76a26bab9ab63c1ae87c48b579e53d2 -
Branch / Tag:
refs/tags/v0.29.4 - Owner: https://github.com/EdgeFirstAI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b8a376e6e76a26bab9ab63c1ae87c48b579e53d2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file edgefirst_tracker-0.29.4-cp38-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: edgefirst_tracker-0.29.4-cp38-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 367.9 kB
- Tags: CPython 3.8+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52049dc01065b8ec5d14c3a7011189e1eb018378129d9c13879a089c105648e2
|
|
| MD5 |
00e47a55b3b5ae91b2c7fabc328cc274
|
|
| BLAKE2b-256 |
4aed31d18ed2dbc533036499c85c28994e87a0550caa0a45ed117b6b40c83784
|
Provenance
The following attestation bundles were made for edgefirst_tracker-0.29.4-cp38-abi3-macosx_11_0_arm64.whl:
Publisher:
release.yml on EdgeFirstAI/hal
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
edgefirst_tracker-0.29.4-cp38-abi3-macosx_11_0_arm64.whl -
Subject digest:
52049dc01065b8ec5d14c3a7011189e1eb018378129d9c13879a089c105648e2 - Sigstore transparency entry: 2718536406
- Sigstore integration time:
-
Permalink:
EdgeFirstAI/hal@b8a376e6e76a26bab9ab63c1ae87c48b579e53d2 -
Branch / Tag:
refs/tags/v0.29.4 - Owner: https://github.com/EdgeFirstAI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b8a376e6e76a26bab9ab63c1ae87c48b579e53d2 -
Trigger Event:
push
-
Statement type: