Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/roboflow/trackers
/ functions
Functions
754 in github.com/roboflow/trackers
⨍
Functions
754
◇
Types & classes
127
↳
Endpoints
4
↓ 1 callers
Function
_format_labels
Generate label strings for each detection.
demo/app.py:120
↓ 1 callers
Function
_format_sequence_table
Format single sequence metrics as a table. Args: result: Sequence result. columns: Columns to include. Returns: Form
src/trackers/eval/results.py:616
↓ 1 callers
Method
_freeze
Save Kalman filter state before track is lost (ORU mechanism).
src/trackers/core/ocsort/tracklet.py:76
↓ 1 callers
Function
_get_alive_tracklets
Remove dead or immature lost tracklets and get alive trackers that are within `maximum_frames_without_update` AND (it's mature OR it was
src/trackers/core/sort/utils.py:15
↓ 1 callers
Function
_get_alive_tracklets
Remove dead or immature lost tracklets and get alive trackers that are within `maximum_frames_without_update` AND (it's mature OR it was
src/trackers/core/bytetrack/utils.py:15
↓ 1 callers
Method
_get_anchor_points
Extract anchor points from detections based on position setting. Args: detections: Detections object with xyxy boxes. Re
src/trackers/annotators/trace.py:98
↓ 1 callers
Function
_get_paths
Get GT and tracker file paths for a sequence. Args: gt_dir: Ground truth directory (direct parent of sequences). tracker_dir: Tra
src/trackers/eval/evaluate.py:341
↓ 1 callers
Function
_get_video_info
Return video duration in seconds and frame count using OpenCV.
demo/app.py:327
↓ 1 callers
Function
_init_annotators
Initialize supervision annotators based on display options.
demo/app.py:82
↓ 1 callers
Function
_init_model
Load detection model via inference-models. Args: model_id: Model identifier (e.g., 'rfdetr-nano' or 'workspace/project/version').
src/trackers/scripts/track.py:552
↓ 1 callers
Function
_init_tracker
Create tracker instance from registry. Args: tracker_id: Registered tracker name (e.g., 'bytetrack', 'sort'). **kwargs: Tracker-s
src/trackers/scripts/track.py:627
↓ 1 callers
Function
_iter_capture_frames
( src: str | int | Path, )
src/trackers/io/video.py:47
↓ 1 callers
Function
_iter_image_folder_frames
( folder: Path, *, extensions: frozenset[str] = IMAGE_EXTENSIONS, )
src/trackers/io/video.py:71
↓ 1 callers
Function
_load_expected
Load TrackEval-derived reference metrics for a dataset.
tests/core/test_tracker_integration.py:26
↓ 1 callers
Function
_make_frame
(h: int = 480, w: int = 640, seed: int = 42)
tests/core/test_cbiou_tracker.py:36
↓ 1 callers
Function
_no_confidence_detection
(xyxy: tuple[float, float, float, float])
tests/core/test_trackers.py:65
↓ 1 callers
Function
_parse_seqmap
Parse a sequence map file to get list of sequence names.
src/trackers/eval/evaluate.py:370
↓ 1 callers
Function
_remove_distractor_matches
Remove tracker detections matched to distractor ground truth regions. Uses the Hungarian algorithm to match tracker detections against ALL ground
src/trackers/io/mot.py:333
↓ 1 callers
Function
_resolve_class_filter
Resolve class names to integer IDs.
demo/app.py:340
↓ 1 callers
Method
_resolve_final_state
Return `(icon, suffix)` for the final printed line.
src/trackers/scripts/progress.py:173
↓ 1 callers
Function
_resolve_nav_item_url
Return an absolute URL for a nav item when it maps to a concrete page.
docs/hooks/schema_inject.py:136
↓ 1 callers
Function
_resolve_num_frames
Determine the total frame count from data if not explicitly provided.
src/trackers/io/mot.py:243
↓ 1 callers
Function
_resolve_track_id_filter
Resolve a comma-separated string of track IDs to a list of integers. Args: track_ids_arg: Comma-separated string (e.g. `"1,3,5"`). `None`
demo/app.py:356
↓ 1 callers
Function
_run_frameless
Run tracking from pre-computed detections without frame source.
src/trackers/scripts/track.py:335
↓ 1 callers
Function
_run_model
Run model inference and return sv.Detections.
src/trackers/scripts/track.py:587
↓ 1 callers
Function
_run_tracker_on_flat_dataset
Run a tracker on GT-derived detections and save flat MOT output files.
tests/core/test_tracker_integration.py:33
↓ 1 callers
Function
_run_with_source
Run tracking with a frame source (video, webcam, images).
src/trackers/scripts/track.py:384
↓ 1 callers
Function
_sequential_hota_reference
Pre-vectorization HOTA reference: per-alpha Python loop + dict id-remapping. Mirrors the pre-PR second-pass logic (commit 2ca10bd^) for different
tests/eval/test_hota.py:21
↓ 1 callers
Method
_spawn_new_tracklets
( self, confidences: np.ndarray, detection_boxes: np.ndarray, unmatched_detect
src/trackers/core/sort/tracker.py:156
↓ 1 callers
Method
_spawn_new_tracks
( self, detection_boxes: np.ndarray, confidences: np.ndarray, unmatched_high_l
src/trackers/core/bytetrack/tracker.py:266
↓ 1 callers
Function
_speed_direction_batch
Compute normalized direction vectors from track centers to detection centers. For each (track, detection) pair, computes the unit vector pointing
src/trackers/core/ocsort/utils.py:15
↓ 1 callers
Method
_unfreeze
Restore state and apply virtual trajectory (ORU mechanism). Generates linear interpolation between last observation and new detection
src/trackers/core/ocsort/tracklet.py:80
↓ 1 callers
Method
_unfreeze_xcycsr
ORU interpolation for XCYCSR representation. Generates time_gap predict+update cycles with virtual observations interpolated from the
src/trackers/core/ocsort/tracklet.py:105
↓ 1 callers
Method
_unfreeze_xyxy
ORU interpolation for XYXY representation. Same pattern as XCYCSR: time_gap predict+update cycles with factors 0 to (time_gap-1)/time
src/trackers/core/ocsort/tracklet.py:147
↓ 1 callers
Function
_validate_search_space_entry
(cls_name: str, key: str, spec: Any, init_params: set[str])
src/trackers/core/base.py:236
↓ 1 callers
Method
_validate_sequence_files
Validate that every selected sequence has required MOT files. This performs eager filesystem validation so configuration errors are r
src/trackers/tune/tuner.py:200
↓ 1 callers
Function
_validate_tracker_init_params
Ensure ``params`` keys are valid ``__init__`` parameter names.
src/trackers/tune/tuner.py:322
↓ 1 callers
Method
abs_to_rel
Return points unchanged.
src/trackers/motion/transformation.py:57
↓ 1 callers
Function
add_eval_subparser
Add the eval subcommand to the argument parser.
src/trackers/scripts/eval.py:16
↓ 1 callers
Function
add_track_subparser
Add the track subcommand to the argument parser.
src/trackers/scripts/track.py:55
↓ 1 callers
Function
aggregate_clear_metrics
Aggregate CLEAR metrics across multiple sequences. Sums integer fields and MOTP_sum, then recomputes derived ratios from the totals. Matches
src/trackers/eval/clear.py:287
↓ 1 callers
Method
applyNativeMetrics
()
docs/javascripts/cli_builder_framework.js:465
↓ 1 callers
Method
bbox_to_measurement
Convert an `[x1, y1, x2, y2]` bbox to a measurement vector. Args: bbox: Bounding box `[x1, y1, x2, y2]`. Returns:
src/trackers/utils/state_representations.py:91
↓ 1 callers
Method
bindEvents
()
docs/javascripts/cli_builder_framework.js:179
↓ 1 callers
Method
clamp_velocity
Clamp velocity components to prevent degenerate predictions. Called before `predict` to ensure physical plausibility (e.g. non-negati
src/trackers/utils/state_representations.py:110
↓ 1 callers
Method
createCommandOutputBlock
()
docs/javascripts/cli_builder_framework.js:118
↓ 1 callers
Method
createSelector
(label, value, group, isSelected)
docs/javascripts/cli_builder_framework.js:514
↓ 1 callers
Function
download_dataset
Download benchmark tracking datasets from the official GCP bucket. Downloads ZIP files into a persistent cache directory and extracts them in
src/trackers/datasets/download.py:76
↓ 1 callers
Method
getNumericInputForKey
(key)
docs/javascripts/cli_builder_framework.js:390
↓ 1 callers
Method
getRenderApi
()
docs/javascripts/cli_builder_framework.js:102
↓ 1 callers
Method
get_state
Get current filter state for saving. Returns: Dictionary with x, P, and other matrices.
src/trackers/utils/kalman_filter.py:128
↓ 1 callers
Method
get_state_bbox
Get current bounding box estimate from Kalman filter. Returns: Current bounding box estimate `[x1, y1, x2, y2]`.
src/trackers/core/ocsort/tracklet.py:258
↓ 1 callers
Method
get_state_bbox
Get current bounding box estimate from the filter/state.
src/trackers/core/bytetrack/tracklet.py:58
↓ 1 callers
Method
handleSelectorSelection
(selectorButton)
docs/javascripts/cli_builder_framework.js:242
↓ 1 callers
Method
init
()
docs/javascripts/cli_builder_framework.js:51
↓ 1 callers
Method
json
Serialize to JSON string. Args: indent: Indentation level for formatting. Defaults to `2`. Returns: JSON str
src/trackers/eval/results.py:482
↓ 1 callers
Function
main
Main entry point for the trackers CLI.
src/trackers/scripts/__main__.py:15
↓ 1 callers
Function
observeDynamicCopyButtons
()
docs/javascripts/pycon_copy.js:76
↓ 1 callers
Method
predict
Predict next bounding box position and advance missed-frame clock. Propagates the Kalman filter and advances `time_since_update`, `age`,
src/trackers/core/bytetrack/tracklet.py:38
↓ 1 callers
Method
processCheckboxInput
(input)
docs/javascripts/cli_builder_framework.js:291
↓ 1 callers
Method
rel_to_abs
Return points unchanged.
src/trackers/motion/transformation.py:61
↓ 1 callers
Method
render
()
docs/javascripts/cli_builder_framework.js:69
↓ 1 callers
Method
reset
Reset tracker state by clearing all tracks and resetting ID counter. Call this method when switching to a new video or scene.
src/trackers/core/sort/tracker.py:234
↓ 1 callers
Method
reset
Reset tracker state by clearing all tracks and resetting ID counter. Call this method when switching to a new video or scene.
src/trackers/core/botsort/tracker.py:400
↓ 1 callers
Function
run_tune
Execute the tune command.
src/trackers/scripts/tune.py:118
↓ 1 callers
Method
sanitizeInputValue
(key, value, input, isCommit)
docs/javascripts/cli_builder_framework.js:340
↓ 1 callers
Method
save
Save to a JSON file. Args: path: Destination file path.
src/trackers/eval/results.py:512
↓ 1 callers
Method
setCheckboxField
(key, checked, options = {})
docs/javascripts/cli_builder_framework.js:363
↓ 1 callers
Method
setElementVisibleById
(id, visible)
docs/javascripts/cli_builder_framework.js:383
↓ 1 callers
Method
set_state
Restore filter state from saved dictionary. Args: state: Dictionary from get_state().
src/trackers/utils/kalman_filter.py:143
↓ 1 callers
Method
show
Display a frame and check for quit key (q or ESC). Returns: True if quit was requested, False otherwise.
src/trackers/io/video.py:143
↓ 1 callers
Method
startNumericHold
(button)
docs/javascripts/cli_builder_framework.js:431
↓ 1 callers
Method
syncNativeMetricsWithRetries
()
docs/javascripts/cli_builder_framework.js:499
↓ 1 callers
Method
to_dict
Convert to dictionary representation. Returns: Dictionary with all metric values.
src/trackers/eval/results.py:397
↓ 1 callers
Method
to_dict
Convert to dictionary representation. Returns: Dictionary with all metric values.
src/trackers/eval/results.py:471
↓ 1 callers
Method
unbindEvents
()
docs/javascripts/cli_builder_framework.js:195
↓ 1 callers
Method
update
Update tracker state with new detections and return tracked objects. Performs Kalman filter prediction, IoU-based association, and initializes
src/trackers/core/sort/tracker.py:170
↓ 1 callers
Method
updateSelectorGroup
(group, selectedValue)
docs/javascripts/cli_builder_framework.js:263
↓ 1 callers
Function
video_factory
Create a small test video with *n* frames.
tests/scripts/test_progress.py:33
Method
__enter__
(self)
src/trackers/io/video.py:127
Method
__enter__
(self)
src/trackers/io/video.py:160
Method
__enter__
(self)
src/trackers/scripts/progress.py:144
Method
__exit__
(self, *_: object)
src/trackers/io/video.py:130
Method
__exit__
(self, *_: object)
src/trackers/io/video.py:163
Method
__exit__
( self, exc_type: type[BaseException] | None, exc_val: BaseException | None, e
src/trackers/scripts/progress.py:155
Function
__getattr__
Provide back-compat access with deprecation warnings for every symbol.
src/trackers/core/botsort/cmc.py:29
Function
__getattr__
Lazy imports for evaluate functions to avoid circular imports.
src/trackers/eval/__init__.py:29
Method
__init__
Initialise BIoU with a configurable buffer ratio. Args: buffer_ratio: Non-negative relative margin to expand each box
src/trackers/utils/iou.py:154
Method
__init__
Initialise the filter with the first detection. Args: bbox: First detection `[x1, y1, x2, y2]`.
src/trackers/utils/state_representations.py:71
Method
__init__
(self, bbox: np.ndarray, state_estimator_class: type[BaseStateEstimator])
src/trackers/utils/base_tracklet.py:20
Method
__init__
Initialize Kalman filter. Args: dim_x: Dimension of state vector. dim_z: Dimension of measurement vector.
src/trackers/utils/kalman_filter.py:34
Method
__init__
Initialize CMC. Args: cfg: Optional configuration. If None, defaults are used. Notes: - Detector/ex
src/trackers/utils/cmc.py:240
Method
__init__
( self, color: Color | ColorPalette | None = None, position: Position | None = None,
src/trackers/annotators/trace.py:82
Method
__init__
( self, lost_track_buffer: int = 30, frame_rate: float = 30.0, track_activatio
src/trackers/core/cbiou/tracker.py:108
Method
__init__
( self, initial_bbox: np.ndarray, state_estimator_class: type[BaseStateEstimator] = XY
src/trackers/core/sort/tracklet.py:18
Method
__init__
( self, lost_track_buffer: int = 30, frame_rate: float = 30.0, track_activatio
src/trackers/core/sort/tracker.py:81
Method
__init__
Initialize tracklet with first detection. Args: initial_bbox: Initial bounding box `[x1, y1, x2, y2]`. state_estimato
src/trackers/core/ocsort/tracklet.py:44
Method
__init__
( self, lost_track_buffer: int = 30, frame_rate: float = 30.0, minimum_consecu
src/trackers/core/ocsort/tracker.py:87
Method
__init__
( self, initial_bbox: np.ndarray, state_estimator_class: type[BaseStateEstimator] = XY
src/trackers/core/bytetrack/tracklet.py:17
Method
__init__
( self, lost_track_buffer: int = 30, frame_rate: float = 30.0, track_activatio
src/trackers/core/bytetrack/tracker.py:91
← previous
next →
201–300 of 754, ranked by callers