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
Method
__init__
( self, initial_bbox: np.ndarray, state_estimator_class: type[BaseStateEstimator] = XC
src/trackers/core/botsort/tracklet.py:45
Method
__init__
( self, lost_track_buffer: int = 30, frame_rate: float = 30.0, track_activatio
src/trackers/core/botsort/tracker.py:110
Method
__init__
( self, tracker_id: str, gt_dir: str | Path, detections_dir: str | Path,
src/trackers/tune/tuner.py:114
Method
__init__
(self, path: Path | None)
src/trackers/io/mot.py:443
Method
__init__
(self, path: Path | None, *, fps: float = _DEFAULT_OUTPUT_FPS)
src/trackers/io/video.py:91
Method
__init__
(self, window_name: str = "Tracking")
src/trackers/io/video.py:138
Method
__init__
( self, max_points: int = 200, min_distance: int = 15, block_size: int = 3,
src/trackers/motion/estimator.py:66
Method
__init__
(self, homography_matrix: np.ndarray)
src/trackers/motion/transformation.py:102
Method
__init__
( self, source_info: _SourceInfo, console: Console | None = None, )
src/trackers/scripts/progress.py:112
Method
__init__
(self)
tests/core/test_trackers.py:75
Method
__init__
Args: param1: Integer parameter. param2: Float parameter. param3: String
tests/core/test_registration.py:175
Method
__init__
(self)
tests/core/test_registration.py:329
Method
__init__
(self)
tests/core/test_registration.py:344
Method
__init__
(self, x: int = 1)
tests/core/test_registration.py:363
Method
__init__
(self, x: int = 0)
tests/core/test_registration.py:415
Method
__init_subclass__
Register subclass in the tracker registry if it defines tracker_id. Extracts parameter metadata from __init__ at class definition time.
src/trackers/core/base.py:323
Function
_call_botsort
Call BoTSORTTracker._get_associated_indices with default similarity threshold.
tests/core/test_associated_indices.py:54
Function
_call_bytetrack
Call ByteTrackTracker._get_associated_indices with the given matrix.
tests/core/test_associated_indices.py:37
Function
_call_ocsort
Call OCSORTTracker._get_associated_indices with zeros for direction matrix.
tests/core/test_associated_indices.py:45
Function
_call_sort
Call SORTTracker._get_associated_indices with n_tracks dummy tracks.
tests/core/test_associated_indices.py:27
Method
_compute
(self, boxes_1: np.ndarray, boxes_2: np.ndarray)
src/trackers/utils/iou.py:118
Method
_compute
(self, boxes_1: np.ndarray, boxes_2: np.ndarray)
src/trackers/utils/iou.py:169
Method
_compute
(self, boxes_1: np.ndarray, boxes_2: np.ndarray)
src/trackers/utils/iou.py:267
Method
_compute
(self, boxes_1: np.ndarray, boxes_2: np.ndarray)
src/trackers/utils/iou.py:316
Method
_compute
(self, boxes_1: np.ndarray, boxes_2: np.ndarray)
src/trackers/utils/iou.py:368
Method
_compute
(self, boxes_1: np.ndarray, boxes_2: np.ndarray)
tests/core/test_trackers.py:78
Method
_counting_reset
(self_tracker: SORTTracker)
tests/tune/test_tuner.py:411
Function
_create
(n_frames: int)
tests/io/test_video.py:54
Function
_create
(n_frames: int)
tests/scripts/test_progress.py:36
Method
_create_filter
(self, bbox: np.ndarray)
src/trackers/utils/state_representations.py:190
Method
_create_filter
(self, bbox: np.ndarray)
src/trackers/utils/state_representations.py:241
Method
_create_filter
(self, bbox: np.ndarray)
src/trackers/utils/state_representations.py:277
Method
_is_bounded
Whether the source has a known total frame count.
src/trackers/scripts/progress.py:169
Method
_objective
Sample hyperparameters, run tracker over all sequences, return metric. Args: trial: Optuna trial used to sample parameter values.
src/trackers/tune/tuner.py:229
Function
_reference_biou
Independent BIoU reference: buffer boxes, then apply vanilla IoU.
tests/utils/test_iou.py:39
Function
_torchvision_ciou
Reference CIoU from torchvision.
tests/utils/test_iou.py:32
Function
_torchvision_diou
Reference DIoU from torchvision.
tests/utils/test_iou.py:25
Function
_torchvision_giou
Reference GIoU from torchvision.
tests/utils/test_iou.py:18
Method
abs_to_rel
Transform points from absolute (world) to relative (frame) coordinates. Args: points: Array of shape `(N, 2)` containing `(x, y)`
src/trackers/motion/transformation.py:22
Method
abs_to_rel
Transform from absolute (world) to relative (frame) coordinates.
src/trackers/motion/transformation.py:138
Method
apply_cmc_batch
Apply CMC to all active tracks. .. deprecated:: 2.5 Use CMC.apply_batch(H, self.tracks) directly. Args: H: 2
src/trackers/core/botsort/tracker.py:411
Method
apply_to_xyxy
Deprecated alias for :meth:`CMC.warp_xyxy_corners`. .. deprecated:: 2.5 Renamed to :meth:`CMC.warp_xyxy_corners`. This wrapper fo
src/trackers/utils/cmc.py:708
Function
bbox
A 40x60 bounding box in xyxy format.
tests/core/test_botsort_tracklet.py:28
Function
bbox
()
tests/core/test_tracklets.py:47
Method
bbox_to_measurement
(self, bbox: np.ndarray)
src/trackers/utils/state_representations.py:215
Method
bbox_to_measurement
(self, bbox: np.ndarray)
src/trackers/utils/state_representations.py:258
Method
bbox_to_measurement
(self, bbox: np.ndarray)
src/trackers/utils/state_representations.py:303
Method
clamp_velocity
(self)
src/trackers/utils/state_representations.py:221
Method
clamp_velocity
(self)
src/trackers/utils/state_representations.py:264
Method
clamp_velocity
(self)
src/trackers/utils/state_representations.py:309
Function
classes
(value)
docs/javascripts/command_builder.js:186
Method
clear_tracker
Clear the trajectory for a specific tracker ID. Args: tracker_id: The tracker ID to clear.
src/trackers/annotators/trace.py:213
Method
constructor
(options)
docs/javascripts/cli_builder_framework.js:13
Method
createCheckbox
(label, key, checked)
docs/javascripts/cli_builder_framework.js:524
Method
createHeader
(title)
docs/javascripts/cli_builder_framework.js:547
Method
createNumericInputRow
(label, key, value, config, rowClass = "")
docs/javascripts/cli_builder_framework.js:596
Method
createSelectorRow
(label, options, group, selectedValue, rowClass = "")
docs/javascripts/cli_builder_framework.js:664
Method
createTextInputRow
(label, placeholder, key, value, rowClass = "")
docs/javascripts/cli_builder_framework.js:554
Function
create_state_estimator
Create a state estimator for the given state representation. Args: state_repr: The desired representation. Ex: StateRepresentation.XCYCSR
src/trackers/utils/state_representations.py:325
Function
dancetrack_flat_data
Fixture providing DanceTrack flat format test data.
tests/conftest.py:134
Function
dancetrack_mot17_data
Fixture providing DanceTrack MOT17 format test data.
tests/conftest.py:140
Method
destroy
()
docs/javascripts/cli_builder_framework.js:60
Function
directory_with_corrupted_image
Directory with valid images followed by one corrupted image file.
tests/io/test_video.py:104
Function
directory_with_non_image_files
Directory containing only non-image files.
tests/io/test_video.py:94
Function
empty_directory
Empty directory with no files.
tests/io/test_video.py:86
Method
from_dict
Create `CLEARMetrics` from a dictionary. Args: data: Dictionary with metric values. Returns: `CLEARMetrics`
src/trackers/eval/results.py:141
Method
from_dict
Create `IdentityMetrics` from a dictionary. Args: data: Dictionary with metric values. Returns: `IdentityMet
src/trackers/eval/results.py:324
Method
from_dict
Create `SequenceResult` from a dictionary. Args: data: Dictionary with sequence name and metrics. Returns: `
src/trackers/eval/results.py:369
Method
from_dict
Create `BenchmarkResult` from a dictionary. Args: data: Dictionary with sequences and aggregate results. Returns:
src/trackers/eval/results.py:458
Function
generateCommand
(state)
docs/javascripts/command_builder.js:74
Function
getValidationErrors
(state)
docs/javascripts/command_builder.js:143
Method
get_state
Snapshot the filter state for later restoration (e.g. ORU freeze). Returns: Opaque state dictionary.
src/trackers/utils/state_representations.py:134
Method
get_state_bbox
Get current bounding box estimate from the filter/state.
src/trackers/utils/base_tracklet.py:55
Method
handleChange
(event)
docs/javascripts/cli_builder_framework.js:270
Method
handleClick
(event)
docs/javascripts/cli_builder_framework.js:226
Function
handleCopyButtonClick
(event)
docs/javascripts/pycon_copy.js:8
Function
handleCopyButtonPointerDown
(event)
docs/javascripts/pycon_copy.js:22
Method
handleInput
(event)
docs/javascripts/cli_builder_framework.js:283
Method
handlePointerDown
(event)
docs/javascripts/cli_builder_framework.js:217
Function
handleSelectionCopy
(event)
docs/javascripts/pycon_copy.js:36
Method
handleVisibilityChange
()
docs/javascripts/cli_builder_framework.js:211
Method
minimal_args
Parsed args with only required flags.
tests/scripts/test_tune.py:30
Method
normalize_for_fusion
Normalize similarity values for score fusion in BoT-SORT association. By default returns the matrix unchanged. Signed variants (GIoU, DIoU,
src/trackers/utils/iou.py:84
Method
normalize_for_fusion
(self, similarity_matrix: np.ndarray)
src/trackers/utils/iou.py:331
Method
normalize_for_fusion
(self, similarity_matrix: np.ndarray)
src/trackers/utils/iou.py:400
Function
onInputChange
({ key, value, isCommit, builder: instance })
docs/javascripts/command_builder.js:190
Function
on_page_content
Process page HTML content to remove doctest directives. This hook runs after markdown is converted to HTML, so we need to handle HTML-en
docs/hooks/doctest_filter.py:17
Function
on_page_context
Build TechArticle + speakable JSON-LD for the page and store in page.meta.
docs/hooks/schema_inject.py:198
Method
predict
Run the Kalman filter prediction step.
src/trackers/utils/state_representations.py:117
Method
predict
Predict next bounding box position and advance missed-frame state. Propagates the Kalman filter and increments `time_since_update` (and
src/trackers/utils/base_tracklet.py:41
Method
predict
Predict next state (prior) using state transition model. Computes: x = F @ x P = F @ P @ F.T + Q
src/trackers/utils/kalman_filter.py:74
Method
quit_requested
Return True if user pressed quit key.
src/trackers/io/video.py:156
Method
rel_to_abs
Transform points from relative (frame) to absolute (world) coordinates. Args: points: Array of shape `(N, 2)` containing `(x, y)`
src/trackers/motion/transformation.py:36
Method
rel_to_abs
Transform from relative (frame) to absolute (world) coordinates.
src/trackers/motion/transformation.py:142
Function
renderBody
(code, api)
docs/javascripts/command_builder.js:200
Method
reset
Clear all stored trajectories. Call this when switching videos or when you want to reset trajectory history.
src/trackers/annotators/trace.py:206
Method
reset
Clear all internal tracking state. Call between videos or when tracking should restart from scratch.
src/trackers/core/base.py:411
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/ocsort/tracker.py:275
Method
reset
Reset the estimator state. Call this when starting a new video or when you want to reset the world coordinate system to the current f
src/trackers/motion/estimator.py:217
Method
reset
(self)
tests/core/test_registration.py:350
← previous
next →
301–400 of 754, ranked by callers