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.

Links

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

edgefirst_tracker-0.29.3.tar.gz (1.7 MB view details)

Uploaded Source

Built Distributions

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

edgefirst_tracker-0.29.3-cp311-abi3-win_amd64.whl (311.4 kB view details)

Uploaded CPython 3.11+Windows x86-64

edgefirst_tracker-0.29.3-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (388.7 kB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ x86-64

edgefirst_tracker-0.29.3-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (393.1 kB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ ARM64

edgefirst_tracker-0.29.3-cp311-abi3-macosx_11_0_arm64.whl (364.3 kB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

edgefirst_tracker-0.29.3-cp38-abi3-win_amd64.whl (315.1 kB view details)

Uploaded CPython 3.8+Windows x86-64

edgefirst_tracker-0.29.3-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (410.7 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ x86-64

edgefirst_tracker-0.29.3-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (396.1 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ ARM64

edgefirst_tracker-0.29.3-cp38-abi3-macosx_11_0_arm64.whl (367.8 kB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

File details

Details for the file edgefirst_tracker-0.29.3.tar.gz.

File metadata

  • Download URL: edgefirst_tracker-0.29.3.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

Hashes for edgefirst_tracker-0.29.3.tar.gz
Algorithm Hash digest
SHA256 4c50cf6733b94fc1f1cffed974aa9a8940ff57ebf9f476cfe4f8b0e84aabab25
MD5 45d8d66da32f5c9e4c432b00b384a907
BLAKE2b-256 f617f69f508f7135c42f542ac74e2499c1d9b321215df5f705aec31c3a37ab47

See more details on using hashes here.

Provenance

The following attestation bundles were made for edgefirst_tracker-0.29.3.tar.gz:

Publisher: release.yml on EdgeFirstAI/hal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file edgefirst_tracker-0.29.3-cp311-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for edgefirst_tracker-0.29.3-cp311-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 0f31ed4ea67cd6ddfd6897075692bc1c14e3ed0ae035048edc773e4da607d16c
MD5 b864882d06192a076317f4c23c0a3380
BLAKE2b-256 749d5e1db328126ed301983a255fa0cda80c3b47f2fafe6890e344f67c4ad19d

See more details on using hashes here.

Provenance

The following attestation bundles were made for edgefirst_tracker-0.29.3-cp311-abi3-win_amd64.whl:

Publisher: release.yml on EdgeFirstAI/hal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file edgefirst_tracker-0.29.3-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for edgefirst_tracker-0.29.3-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4eb5435e1ec53d983f479f1dca7c83ecb82be4ed6a43e1545fec627d9fc4bb66
MD5 859cb25c715fb7571c59892f5ac68971
BLAKE2b-256 4e513233aa1b8881c5fce3a776573f556758d05b7abe982e1aa8ab63578efd30

See more details on using hashes here.

Provenance

The following attestation bundles were made for edgefirst_tracker-0.29.3-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on EdgeFirstAI/hal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file edgefirst_tracker-0.29.3-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for edgefirst_tracker-0.29.3-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1c7552b0af3c97472b49db8071efd9082acdd98d4c3f23102d708fd2f715f315
MD5 cb92e35101e153cf897827c48016195c
BLAKE2b-256 8684567eff13e80d96b3b416d553307321af89535cdf967cf3f165c11f214044

See more details on using hashes here.

Provenance

The following attestation bundles were made for edgefirst_tracker-0.29.3-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: release.yml on EdgeFirstAI/hal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file edgefirst_tracker-0.29.3-cp311-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for edgefirst_tracker-0.29.3-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 adb825f56c845998f190089f1af1704f6da166c29f9505788670f8337f1b6eea
MD5 3205336248f697831442444c54fda568
BLAKE2b-256 0eba47c801f3480875479e9594755182eaf09109a620235e12ee182a8f2f3062

See more details on using hashes here.

Provenance

The following attestation bundles were made for edgefirst_tracker-0.29.3-cp311-abi3-macosx_11_0_arm64.whl:

Publisher: release.yml on EdgeFirstAI/hal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file edgefirst_tracker-0.29.3-cp38-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for edgefirst_tracker-0.29.3-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 86a76918458da909cb633484a690a1aeb930b606e1d901ec57c7996e1001ceb7
MD5 6984b8247b3297c59c32ccbb9727ef14
BLAKE2b-256 256e59210b80841b15935ddadf2e32386e2e06b1a98b3cd282f21e070ab1b6bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for edgefirst_tracker-0.29.3-cp38-abi3-win_amd64.whl:

Publisher: release.yml on EdgeFirstAI/hal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file edgefirst_tracker-0.29.3-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for edgefirst_tracker-0.29.3-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 20dbe3821df8edfa790759b534a99a13fff3cb0e39da97121471bf8536c9939c
MD5 31eced0255e7513e8f7ebf6e9ac161ad
BLAKE2b-256 af5f5b364f9b5181e1b5110c0c7fad65ce66c38b10b31913080c7a1fccd75fe3

See more details on using hashes here.

Provenance

The following attestation bundles were made for edgefirst_tracker-0.29.3-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on EdgeFirstAI/hal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file edgefirst_tracker-0.29.3-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for edgefirst_tracker-0.29.3-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 72f0b370f0b7566c37700f4cd3a8591467cb6ea7665dd8a4e3481031e2d6ac2c
MD5 508b611a14580c7d73e65914d1bc9ad4
BLAKE2b-256 1808a795ed6cf12800d03291b5af31dba61f2a1887ac7f8cc42fdcf1c1efda5a

See more details on using hashes here.

Provenance

The following attestation bundles were made for edgefirst_tracker-0.29.3-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: release.yml on EdgeFirstAI/hal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file edgefirst_tracker-0.29.3-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for edgefirst_tracker-0.29.3-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2671846ae884788db824687a3a3ee402dda1945c60572ee90055bb40d5f8784c
MD5 9d3fc39e8fc5211e847a7afc4784ef1e
BLAKE2b-256 341fc39af0e483800e9e642084ce2347b351e2311f1a2aa5aafe3ae480b180ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for edgefirst_tracker-0.29.3-cp38-abi3-macosx_11_0_arm64.whl:

Publisher: release.yml on EdgeFirstAI/hal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.30.0

9 files

0.29.4

9 files

This release

0.29.3 This release

9 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