Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/roboflow/trackers
/ types & classes
Types & classes
127 in github.com/roboflow/trackers
⨍
Functions
754
◇
Types & classes
127
↳
Endpoints
4
↓ 19 callers
Class
Tuner
Wraps Optuna to tune hyperparameters of a registered MOT tracker. Uses the tracker's ``search_space`` ClassVar to define the Optuna parameter
src/trackers/tune/tuner.py:40
↓ 19 callers
Class
_SourceInfo
Metadata about a frame source used to drive progress display. Attributes: source_type: Kind of source (`video`, `image_dir`, `webcam`,
src/trackers/scripts/progress.py:30
↓ 17 callers
Class
BoTSORTTracklet
Tracklet for the BoT-SORT tracker. Uses ``XCYCWHStateEstimator`` (center + width/height) by default, mirroring the original BoT-SORT Kalman f
src/trackers/core/botsort/tracklet.py:22
↓ 15 callers
Class
_TrackingProgress
Context-manager that renders a single live progress line. Args: source_info: Source metadata returned by `_classify_source`. cons
src/trackers/scripts/progress.py:103
↓ 10 callers
Class
CBIoUTracker
Cascaded-Buffered IoU (C-BIoU) tracker. Implements the matching strategy from Yang et al., *Hard To Track Objects with Irregular Motions and
src/trackers/core/cbiou/tracker.py:20
↓ 9 callers
Class
BoTSORTTracker
BoT-SORT-style multi-object tracker (IoU association + optional CMC). The tracker maintains a list of active tracks (Kalman-filter-based) an
src/trackers/core/botsort/tracker.py:26
↓ 8 callers
Class
BIoU
Buffered Intersection over Union. Computes IoU after expanding each box by a configurable relative margin around its center: - ``x1' = x
src/trackers/utils/iou.py:123
↓ 7 callers
Class
ByteTrackTracker
ByteTrack operates online by processing all detector outputs, categorizing them by confidence thresholds to enable a two-stage association process
src/trackers/core/bytetrack/tracker.py:24
↓ 7 callers
Class
IoU
Standard Intersection over Union. Computes the ratio of the intersection area to the union area for every pair of boxes. Values range from 0
src/trackers/utils/iou.py:102
↓ 5 callers
Class
SORTTracker
In SORT, object tracking begins with high-confidence detections fed into a Kalman filter framework assuming uniform motion for state prediction ac
src/trackers/core/sort/tracker.py:25
↓ 4 callers
Class
SequenceResult
Result for a single sequence evaluation. Attributes: sequence: Name of the sequence. CLEAR: CLEAR metrics for this sequence, or `
src/trackers/eval/results.py:352
↓ 4 callers
Class
_MOTOutput
Context manager for MOT format file writing.
src/trackers/io/mot.py:440
↓ 3 callers
Class
CMCConfig
Configuration for camera motion compensation (CMC). The CMC module estimates a global 2D affine transform `H` (2x3) between consecutive
src/trackers/utils/cmc.py:30
↓ 3 callers
Class
IdentityTransformation
No-op transformation where absolute and relative coordinates are identical. Used for the first frame (before any camera motion is detected) or wh
src/trackers/motion/transformation.py:50
↓ 3 callers
Class
KalmanFilter
Generic Kalman filter implementation. A standard linear Kalman filter for state estimation. This is a clean, general-purpose implementation t
src/trackers/utils/kalman_filter.py:13
↓ 3 callers
Class
_VideoOutput
Context manager for lazy video file writing.
src/trackers/io/video.py:88
↓ 2 callers
Class
BenchmarkResult
Result for multi-sequence evaluation. Attributes: sequences: Dictionary mapping sequence names to their results. aggregate: Combi
src/trackers/eval/results.py:446
↓ 2 callers
Class
ByteTrackTracklet
src/trackers/core/bytetrack/tracklet.py:16
↓ 2 callers
Class
CMC
Camera motion compensation estimator. Estimates a global 2D affine transform H (2x3) between consecutive frames and provides helpers to
src/trackers/utils/cmc.py:207
↓ 2 callers
Class
GIoU
Generalized Intersection over Union (Rezatofighi et al., 2019). Extends standard IoU by penalizing the empty area within the smallest enclosi
src/trackers/utils/iou.py:242
↓ 2 callers
Class
HomographyTransformation
Full perspective transformation using a 3x3 homography matrix. Supports rotation, translation, scaling, and perspective changes. This is the
src/trackers/motion/transformation.py:66
↓ 2 callers
Class
OCSORTTracklet
Tracklet for OC-SORT tracker with ORU (Observation-centric Re-Update). Manages a single tracked object with Kalman filter state estimation. I
src/trackers/core/ocsort/tracklet.py:23
↓ 2 callers
Class
SORTTracklet
src/trackers/core/sort/tracklet.py:17
↓ 2 callers
Class
_MOTFrameData
Detection data for a single frame from a MOT format file. Attributes: ids: Track IDs for each detection. Shape `(N,)` where N is number
src/trackers/io/mot.py:35
↓ 2 callers
Class
_TrackingIoU
Test-double IoU that records non-empty compute calls.
tests/core/test_trackers.py:72
↓ 1 callers
Class
CIoU
Complete Intersection over Union (Zheng et al., 2019). Builds on **DIoU** by adding a penalty for mismatched aspect ratio between boxes (via
src/trackers/utils/iou.py:335
↓ 1 callers
Class
CLEARMetrics
CLEAR metrics with TrackEval-compatible field names. Float metrics are stored as fractions (0-1 range), not percentages. The values follow the ori
src/trackers/eval/results.py:84
↓ 1 callers
Class
DIoU
Distance Intersection over Union (Zheng et al., 2019). Extends IoU by penalizing the normalized Euclidean distance between bounding-box cente
src/trackers/utils/iou.py:283
↓ 1 callers
Class
Dataset
Supported benchmark tracking datasets. Attributes: MOT17: Pedestrian tracking with crowded scenes and frequent occlusions. St
src/trackers/datasets/manifest.py:13
↓ 1 callers
Class
HOTAMetrics
HOTA metrics with TrackEval-compatible field names. HOTA evaluates both detection quality and association quality. Float metrics are stored as fra
src/trackers/eval/results.py:182
↓ 1 callers
Class
IdentityMetrics
Identity metrics with TrackEval-compatible field names. Identity metrics measure global ID consistency using an optimal one-to-one assignment betw
src/trackers/eval/results.py:296
↓ 1 callers
Class
OCSORTTracker
OC-SORT enhances traditional SORT by shifting to an observation-centric paradigm, using detections to correct Kalman filter errors accumulated dur
src/trackers/core/ocsort/tracker.py:24
↓ 1 callers
Class
ParameterInfo
Holds metadata for a single tracker parameter. Stores the type, default value, and description extracted from the tracker's __init__ signatur
src/trackers/core/base.py:23
↓ 1 callers
Class
TrackerInfo
Holds a tracker class and its extracted parameter metadata. Used by the CLI to discover available trackers and their configurable options wit
src/trackers/core/base.py:53
↓ 1 callers
Class
TrackerParameters
Tracker parameter mapping with CLI-only filtering for IoU metrics.
src/trackers/core/base.py:35
↓ 1 callers
Class
_DisplayWindow
Context manager for OpenCV display window with resizable output.
src/trackers/io/video.py:135
↓ 1 callers
Class
_MOTSequenceData
Prepared sequence data ready for metric evaluation. This dataclass contains all data needed by CLEAR, HOTA, and Identity metrics. IDs are rem
src/trackers/io/mot.py:98
Class
docs/javascripts/cli_builder_framework.js:12
Class
BadTracker
tests/core/test_registration.py:320
Class
BaseIoU
Abstract base for IoU similarity metrics used in tracker association. Subclasses implement a specific Intersection over Union variant (e.g. s
src/trackers/utils/iou.py:15
Class
BaseStateEstimator
Abstract Kalman filter with a specific bounding box state representation. Wraps a `KalmanFilter` and provides a unified interface for boundin
src/trackers/utils/state_representations.py:49
Class
BaseTracker
Abstract tracker with auto-registration via tracker_id class variable. Subclasses that define `tracker_id` are automatically registered and b
src/trackers/core/base.py:292
Class
BaseTracklet
Abstract base class for all tracker-specific tracklets. Provides common interface and attributes for tracklet management.
src/trackers/utils/base_tracklet.py:14
Class
CoordinatesTransformation
Abstract base class for coordinate transformations. Subclasses implement specific transformation types that convert points between absolute (
src/trackers/motion/transformation.py:14
Class
DatasetAsset
Downloadable asset types within a dataset split. Attributes: FRAMES: Raw video frames as individual image files. ANNOTATIONS: Gro
src/trackers/datasets/manifest.py:43
Class
DatasetSplit
Available dataset splits. Attributes: TRAIN: Training split. VAL: Validation split. TEST: Test split.
src/trackers/datasets/manifest.py:29
Class
EmptySpaceTracker
tests/core/test_registration.py:359
Class
MinimalTracker
tests/core/test_registration.py:341
Class
MotionAwareTraceAnnotator
Draws object trajectories with camera motion compensation. This annotator maintains a history of object positions in world coordinates and dr
src/trackers/annotators/trace.py:24
Class
MotionEstimator
Estimates camera motion between consecutive video frames. Uses sparse optical flow (Lucas-Kanade) to track feature points and computes the ge
src/trackers/motion/estimator.py:25
Class
StateRepresentation
Kalman filter state representation for bounding boxes. Attributes: XCYCSR: Center-based representation with 7 state variables:
src/trackers/utils/state_representations.py:23
Class
TerminalCommandBuilder
docs/javascripts/cli_builder_framework.js:12
Class
TestAddTuneSubparser
tests/scripts/test_tune.py:28
Class
TestAggregateHOTAMetrics
Multi-sequence aggregation of HOTA metrics.
tests/eval/test_hota.py:413
Class
TestAggregateIdentityMetrics
Multi-sequence aggregation of Identity metrics.
tests/eval/test_identity.py:167
Class
TestBIoUProperties
Verify behavior of Buffered IoU.
tests/utils/test_iou.py:228
Class
TestBoTSORTTrackerCMC
BoT-SORT camera motion compensation integration.
tests/core/test_botsort_tracker.py:79
Class
TestBoTSORTTrackerLifecycle
BoT-SORT-specific lifecycle behavior.
tests/core/test_botsort_tracker.py:43
Class
TestBoxIoA
Intersection-over-area computation.
tests/eval/test_box.py:198
Class
TestBoxIoU
Pairwise intersection-over-union computation.
tests/eval/test_box.py:17
Class
TestBuildLine
tests/scripts/test_progress.py:170
Class
TestCBIoUAssociationTolerance
BIoU should associate near-miss detections that plain IoU would miss.
tests/core/test_cbiou_tracker.py:89
Class
TestCBIoUConstruction
tests/core/test_cbiou_tracker.py:41
Class
TestCBIoUFrameWarning
tests/core/test_cbiou_tracker.py:76
Class
TestCBIoUSearchSpace
tests/core/test_cbiou_tracker.py:196
Class
TestCBIoUUnmatchedLowConfidence
tests/core/test_cbiou_tracker.py:209
Class
TestCBIoUZeroBufferEquivalence
With buffer_ratio=0, BIoU recovers IoU; C-BIoU should match BoT-SORT (no CMC).
tests/core/test_cbiou_tracker.py:139
Class
TestCIoUProperties
Verify mathematical properties of CIoU.
tests/utils/test_iou.py:354
Class
TestCMCApplyBatch
`CMC.apply_batch` against center-state tracklets. All tests build default `BoTSORTTracklet(bbox)` instances (center-state estimator) and veri
tests/core/test_botsort_cmc.py:149
Class
TestCMCApplyBatchAdversarial
Adversarial H inputs to CMC.apply_batch. Covers wrong-shape H (should raise) and non-finite H values (should propagate to state without raisi
tests/core/test_botsort_cmc.py:539
Class
TestCMCApplyToXYXY
Direct unit tests on `CMC.warp_xyxy_corners(x1, y1, x2, y2, R, t=None)`. Each test passes raw 1-D NumPy arrays for the four corner channels and a
tests/core/test_botsort_cmc.py:221
Class
TestCMCEstimateAcrossMethods
CMC.estimate() contract — parametrised over every supported method. All tests instantiate CMC via `_make_cmc(method)` (skips when the method is
tests/core/test_botsort_cmc.py:49
Class
TestClass
tests/core/test_registration.py:174
Class
TestClassifySource
tests/scripts/test_progress.py:70
Class
TestComputeHOTAMetrics
Per-sequence HOTA metric computation (DetA, AssA, LocA, HOTA).
tests/eval/test_hota.py:121
Class
TestComputeIdentityMetrics
Per-sequence Identity metric computation (IDTP, IDFN, IDFP, IDF1).
tests/eval/test_identity.py:20
Class
TestDIoUProperties
Verify mathematical properties of DIoU.
tests/utils/test_iou.py:314
Class
TestDefaultTrialParams
tests/tune/test_tuner.py:119
Class
TestDegenerateInputs
Pin behavior of BaseIoU.compute on edge-case inputs.
tests/utils/test_iou.py:431
Class
TestEmptyArrayHandling
Verify BaseIoU.compute handles empty inputs for all subclasses.
tests/utils/test_iou.py:394
Class
TestEvaluateMOTSequence
MOT sequence evaluation: single-metric, multi-metric, and output formats.
tests/eval/test_evaluate.py:30
Class
TestExtractParamsFromInit
tests/core/test_registration.py:172
Class
TestFormatLabels
tests/scripts/test_track.py:67
Class
TestFormatTime
tests/scripts/test_progress.py:155
Class
TestFramesFromSourceErrors
tests/io/test_video.py:191
Class
TestFramesFromSourceImageDirectory
tests/io/test_video.py:151
Class
TestFramesFromSourceVideo
tests/io/test_video.py:119
Class
TestFuseScore
Tests for _fuse_score — IoU similarity fused with detection scores.
tests/core/test_botsort_utils.py:21
Class
TestGIoUProperties
Verify mathematical properties of GIoU.
tests/utils/test_iou.py:274
Class
TestGetAliveTrackers
Tests for _get_alive_tracklets — tracklet lifecycle filtering.
tests/core/test_botsort_utils.py:70
Class
TestGetAssociatedIndicesSortedOutput
_get_associated_indices returns sorted unmatched lists across all trackers.
tests/core/test_associated_indices.py:75
Class
TestInitAnnotators
tests/scripts/test_track.py:23
Class
TestIoUVariantsAgainstTorchvision
Compare IoU variants against reference implementations.
tests/utils/test_iou.py:175
Class
TestLoadMotFrameImage
tests/io/test_frames.py:51
Class
TestLoadMotSequenceFrame
tests/tune/test_tuner.py:429
Class
TestMotDistractorPreprocessing
GT preprocessing must follow TrackEval's class-based distractor handling. TrackEval (`mot_challenge_2d_box.py`) scores only the pedestrian class
tests/io/test_mot.py:30
Class
TestMotFrameStems
tests/io/test_frames.py:18
Class
TestNormalizeType
tests/core/test_registration.py:139
Class
TestParseDocstringArguments
tests/core/test_registration.py:24
Class
TestPrintAvailable
Output of --list.
tests/scripts/test_download.py:224
next →
1–100 of 127, ranked by callers