Skip to main content

edgefirst-tracker

ByteTrack multi-object tracking. Installs alone — it does not require the tensor, image, or decoder wheels.

PyPI License

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.

License

Apache-2.0

Metadata

Release files for edgefirst-tracker 0.34.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for edgefirst-tracker 0.34.1
File Size Uploaded Provenance Actions
edgefirst_tracker-0.34.1.tar.gz 2.2 MB With provenance Details for edgefirst_tracker-0.34.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for edgefirst-tracker 0.34.1
File Actions
edgefirst_tracker-0.34.1-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for edgefirst_tracker-0.34.1-cp311-abi3-win_amd64.whl
edgefirst_tracker-0.34.1-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 abi3 Linux glibc 2.17+ x86-64 Details for edgefirst_tracker-0.34.1-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
edgefirst_tracker-0.34.1-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.11 abi3 Linux glibc 2.17+ ARM64 Details for edgefirst_tracker-0.34.1-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
edgefirst_tracker-0.34.1-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for edgefirst_tracker-0.34.1-cp311-abi3-macosx_11_0_arm64.whl
edgefirst_tracker-0.34.1-cp38-abi3-win_amd64.whl CPython 3.8 abi3 Windows x86-64 Details for edgefirst_tracker-0.34.1-cp38-abi3-win_amd64.whl
edgefirst_tracker-0.34.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 abi3 Linux glibc 2.17+ x86-64 Details for edgefirst_tracker-0.34.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
edgefirst_tracker-0.34.1-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.8 abi3 Linux glibc 2.17+ ARM64 Details for edgefirst_tracker-0.34.1-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
edgefirst_tracker-0.34.1-cp38-abi3-macosx_11_0_arm64.whl CPython 3.8 abi3 macOS 11.0+ ARM64 Details for edgefirst_tracker-0.34.1-cp38-abi3-macosx_11_0_arm64.whl

Total release size: 5.2 MB

Release files / edgefirst_tracker-0.34.1.tar.gz

Download URL edgefirst_tracker-0.34.1.tar.gz
Size 2.2 MB
Tags Source
SHA-256 checksum
How to use checksums
dc265cd5ccbd36d9178a626fde6d078d55b93a12c2a4771bfdccbbf402055524
BLAKE2b-256 checksum
How to use checksums
f862c7544fc6690a7bf89a008dd150d9387679076d04ee4fb57792b4ea51c145
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

Release files / edgefirst_tracker-0.34.1-cp311-abi3-win_amd64.whl

Download URL edgefirst_tracker-0.34.1-cp311-abi3-win_amd64.whl
Size 314.7 kB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
287063e1c18590e850e72ca04c328cd52e8626da445574da5706562d812fe51f
BLAKE2b-256 checksum
How to use checksums
d88fbf08a08dc3b75c67106250f485e3bea6cb90f73dc588f77938a60d19e108
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

Release files / edgefirst_tracker-0.34.1-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL edgefirst_tracker-0.34.1-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 391.3 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
865bd146d3a1bd70d30eab0171f7028fbaafbb1297ca220b6e29365a9f14950d
BLAKE2b-256 checksum
How to use checksums
a00bbd53721db7eb992e6174a6adb9fc4fae6ca0bef45c41a019c33a9d7e1e62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

Release files / edgefirst_tracker-0.34.1-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL edgefirst_tracker-0.34.1-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 395.5 kB
Tags CPython 3.11 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
17df424fe7d53fd4717886321bc09c978a867c493462d84455c39c529c46d9c3
BLAKE2b-256 checksum
How to use checksums
11012d22ed2402c76f4a4e1911b019ebb26643971fcbef07047e1549efb36ab3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

Release files / edgefirst_tracker-0.34.1-cp311-abi3-macosx_11_0_arm64.whl

Download URL edgefirst_tracker-0.34.1-cp311-abi3-macosx_11_0_arm64.whl
Size 390.5 kB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
44b71858b8cdd108f4bb2666777e469382a70279089110c3f38e3fa9cf1fb401
BLAKE2b-256 checksum
How to use checksums
60528fc63aa656f941bc14120a85211ddc4d61c846c80b7f659997a9df134954
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

Release files / edgefirst_tracker-0.34.1-cp38-abi3-win_amd64.whl

Download URL edgefirst_tracker-0.34.1-cp38-abi3-win_amd64.whl
Size 318.9 kB
Tags CPython 3.8 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
06a3cfc5ad0c50edf3e02c473276684bc1c56c0138d34fd6ec5fc77672664f48
BLAKE2b-256 checksum
How to use checksums
8473eb03cf9d6149460ad72428333551f632a7413cec09cee653b0ec11c3220b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

Release files / edgefirst_tracker-0.34.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL edgefirst_tracker-0.34.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 414.7 kB
Tags CPython 3.8 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
706fe077ea1d89d9b2f0864bbf04f2268ced77a6abd4ccf90a3b6471a1d1f1c0
BLAKE2b-256 checksum
How to use checksums
6ac6b06341cfb432dd3caec82c4b8cc77966ca5031023fdb9fa69dbe8590a6ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

Release files / edgefirst_tracker-0.34.1-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL edgefirst_tracker-0.34.1-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 399.6 kB
Tags CPython 3.8 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
775125e8ae0494baa8c43fd95c2f3e8bf2d22c4c28fe8c8061915b695bb4c428
BLAKE2b-256 checksum
How to use checksums
7bd7139d50c1b055f1cfe5eb2291de51149d3219a5bb5a0746fa98776a9a0685
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

Release files / edgefirst_tracker-0.34.1-cp38-abi3-macosx_11_0_arm64.whl

Download URL edgefirst_tracker-0.34.1-cp38-abi3-macosx_11_0_arm64.whl
Size 394.4 kB
Tags CPython 3.8 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
d5f1e1dd0855540e2b785bedefd9ef964de588772057a55a89b57dbaf64596a0
BLAKE2b-256 checksum
How to use checksums
ac7e8c641d3106957566b6b930d072955dd5de983cd059354e31798240f15d31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

Security for edgefirst-tracker 0.34.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 9 files in this release have been uploaded with provenance metadata.

Select from 9 files

Attestation for edgefirst_tracker-0.34.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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