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
reset
(self)
tests/core/test_registration.py:369
Method
reset
(self)
tests/core/test_registration.py:421
Method
reset
(self)
tests/tune/test_tuner.py:197
Function
reset_random_seeds
Reset random state before each test for reproducibility.
tests/conftest.py:48
Function
run_eval
Execute the eval command.
src/trackers/scripts/eval.py:99
Function
run_track
Execute the track command.
src/trackers/scripts/track.py:268
Method
run_tracker
(tracker: CBIoUTracker | BoTSORTTracker)
tests/core/test_cbiou_tracker.py:151
Function
sample_mot_files
Create sample GT and tracker MOT files for testing.
tests/eval/test_evaluate.py:17
Method
set_state
Restore a previously saved filter state. Args: state: Dictionary from `get_state`.
src/trackers/utils/state_representations.py:142
Function
sportsmot_flat_data
Fixture providing SportsMOT flat format test data.
tests/conftest.py:122
Function
sportsmot_mot17_data
Fixture providing SportsMOT MOT17 format test data.
tests/conftest.py:128
Method
state_to_bbox
(self)
src/trackers/utils/state_representations.py:218
Method
state_to_bbox
(self)
src/trackers/utils/state_representations.py:261
Method
state_to_bbox
(self)
src/trackers/utils/state_representations.py:306
Method
table
Format as a table string. Args: columns: Metric columns to include. If `None`, includes all available metrics.
src/trackers/eval/results.py:493
Method
test_90deg_rotation_recovers_axis_aligned_box
90° rotation of [0,0,2,4] gives axis-aligned enclosing [-4,0,0,2].
tests/core/test_botsort_cmc.py:254
Method
test_accepts_path_object
(self, image_directory_factory)
tests/io/test_video.py:178
Method
test_accepts_string_path
(self, image_directory_factory)
tests/io/test_video.py:184
Method
test_active_immature_track_survives
A track updated this frame survives even with 1 successful update.
tests/core/test_botsort_utils.py:77
Method
test_all_distractor_classes_excluded
Every class in _DISTRACTOR_CLASSES must be excluded from GT and suppress an overlapping tracker detection.
tests/io/test_mot.py:93
Method
test_all_distractor_frame_yields_zero_gt
Frame where every GT row is a distractor class yields zero scored GT.
tests/io/test_mot.py:122
Method
test_all_metrics
All three metric groups are present when all metrics requested.
tests/eval/test_evaluate.py:62
Method
test_all_non_integer_returns_none
(self, capsys: pytest.CaptureFixture)
tests/scripts/test_track.py:193
Function
test_all_trackers_associated_indices_are_deterministically_sorted
All trackers return stable ascending unmatched indices on same pattern.
tests/core/test_associated_indices.py:108
Method
test_all_unknown_names_returns_none
(self, capsys: pytest.CaptureFixture)
tests/scripts/test_track.py:161
Method
test_all_unmatched_detections_are_sorted
All detections are unmatched when no tracks exist; result is sorted.
tests/core/test_associated_indices.py:79
Method
test_asset_comma_parsing
--asset values are split on commas and whitespace-stripped.
tests/scripts/test_download.py:152
Method
test_asset_flag_accepts_comma_separated
--asset accepts comma-separated values.
tests/scripts/test_download.py:48
Method
test_at_most_one
Pairwise CIoU is at most 1; unlike IoU/DIoU/GIoU it can be < -1.
tests/utils/test_iou.py:357
Method
test_auto_adds_required_metric_family
Tuner auto-adds the metric family required by the objective.
tests/tune/test_tuner.py:241
Method
test_axis_aligned_updates_p
Axis-aligned R must propagate into P via A @ P @ A.T.
tests/core/test_botsort_cmc.py:353
Method
test_axis_aligned_updates_p_batch_path
Batch path must update P when R is axis-aligned.
tests/core/test_botsort_cmc.py:411
Method
test_batch_input_matches_per_element_loop
Vectorised batch call must equal applying the helper per element.
tests/core/test_botsort_cmc.py:308
Method
test_biou_monotonic_in_buffer_ratio
Larger buffer ratio yields equal-or-higher BIoU for near-miss boxes.
tests/utils/test_iou.py:250
Method
test_biou_zero_ratio_matches_iou
BIoU(buffer_ratio=0) should equal standard IoU for all box pairs.
tests/utils/test_iou.py:260
Method
test_both_empty
(self, iou_instance)
tests/utils/test_iou.py:424
Function
test_botsort_tracklet_apply_cmc_does_not_affect_wh
CMC must preserve bbox width and height in xyxy space.
tests/core/test_botsort_tracklet.py:136
Function
test_botsort_tracklet_apply_cmc_identity_is_noop
apply_cmc with an identity transform must leave state unchanged.
tests/core/test_botsort_tracklet.py:111
Function
test_botsort_tracklet_apply_cmc_none_is_noop
apply_cmc(None) must leave state and covariance unchanged.
tests/core/test_botsort_tracklet.py:98
Function
test_botsort_tracklet_apply_cmc_translates_center
A pure translation H must shift center by (tx, ty).
tests/core/test_botsort_tracklet.py:120
Function
test_botsort_tracklet_larger_box_has_larger_measurement_noise
A bigger bounding box must produce strictly larger R diagonal values.
tests/core/test_botsort_tracklet.py:82
Function
test_botsort_tracklet_larger_box_has_larger_process_noise
A bigger bounding box must produce strictly larger Q diagonal values.
tests/core/test_botsort_tracklet.py:71
Function
test_botsort_tracklet_predict_keeps_valid_bbox
BBox width/height stay positive even after many predictions.
tests/core/test_botsort_tracklet.py:48
Method
test_bounded_completed
(self)
tests/scripts/test_progress.py:245
Method
test_bounded_format
(self)
tests/scripts/test_progress.py:171
Method
test_bounded_interrupted_by_display_quit
(self)
tests/scripts/test_progress.py:258
Method
test_bounded_keyboard_interrupt
(self)
tests/scripts/test_progress.py:271
Method
test_buffer_boundary_exactly_at_limit
time_since_update == maximum_frames_without_update is past the limit.
tests/core/test_botsort_utils.py:101
Method
test_buffer_boundary_one_under_limit
time_since_update == maximum_frames_without_update - 1 survives.
tests/core/test_botsort_utils.py:107
Method
test_buffer_ratios_forwarded_to_biou
(self)
tests/core/test_cbiou_tracker.py:55
Method
test_buffer_zero_matches_iou
(self)
tests/utils/test_iou.py:231
Function
test_bytetrack_calls_iou_in_low_confidence_branch
ByteTrack must call the configured IoU in its low-confidence association branch.
tests/core/test_trackers.py:256
Function
test_bytetrack_consecutive_counter_resets_on_miss
ByteTrack resets the consecutive-update counter after a missed frame.
tests/core/test_trackers.py:634
Method
test_bytetrack_defaults_match_init
(self)
tests/tune/test_tuner.py:120
Function
test_bytetrack_no_confidence_spawns_tracks_below_activation_threshold
confidence=None must route every detection to Stage 1 even when explicit-low-conf would not spawn. Asserts the actual semantic of treating `None`
tests/core/test_trackers.py:207
Function
test_bytetrack_tracklet_starts_with_one_successful_consecutive_update
Construction counts as the first successful consecutive update.
tests/core/test_tracklets.py:151
Method
test_cache_dir_flag
--cache-dir sets the cache directory.
tests/scripts/test_download.py:58
Method
test_cascade_buffer_params_in_search_space
(self)
tests/core/test_cbiou_tracker.py:197
Method
test_cases
Validate variant-vs-reference parity across shared geometric scenarios. `upper_bound` is used only for cases where the original tests expecte
tests/utils/test_iou.py:183
Function
test_cbiou_monotonic_ids_within_single_session
CBIoUTracker must increment IDs monotonically within one session.
tests/core/test_trackers.py:406
Method
test_ciou_leq_diou
CIoU <= DIoU: aspect-ratio term is nonnegative after scaling by alpha.
tests/utils/test_iou.py:378
Method
test_cmc_disabled
(self)
tests/core/test_cbiou_tracker.py:63
Method
test_cmc_disabled_ignores_frame
When enable_cmc=False, passing frame to update is harmless.
tests/core/test_botsort_tracker.py:91
Method
test_cmc_reset_clears_cmc_state
reset() also resets the internal CMC state.
tests/core/test_botsort_tracker.py:116
Function
test_compute_clear_metrics
compute_clear_metrics produces the expected CLEAR-MOT counts across scenarios.
tests/eval/test_clear.py:296
Method
test_corrupted_image_raises_os_error
(self, directory_with_corrupted_image)
tests/io/test_video.py:200
Method
test_create_optuna_study_uses_seeded_sampler
(self)
tests/tune/test_tuner.py:261
Method
test_create_optuna_study_without_seed_uses_default_sampler
(self)
tests/tune/test_tuner.py:268
Method
test_creates_annotators_based_on_flags
( self, flags: dict, expected_types: list, has_label_annotator: bool, )
tests/scripts/test_track.py:49
Method
test_creates_valid_mot_output_file
Output file exists and each line is valid 10-column MOT format.
tests/tune/test_tuner.py:475
Method
test_cross_axis_freezes_p
Cross-axis R must leave P untouched (A=None branch).
tests/core/test_botsort_cmc.py:380
Method
test_cross_axis_freezes_p_batch_path
Batch path must also freeze P when R has cross-axis terms.
tests/core/test_botsort_cmc.py:399
Method
test_dataset_positional
Dataset is captured as positional argument.
tests/scripts/test_download.py:63
Method
test_default_construction
(self)
tests/core/test_cbiou_tracker.py:42
Function
test_default_iou_is_standard_iou
Tracker(iou=None) must default to a standard IoU instance.
tests/core/test_trackers.py:291
Method
test_delegates_to_tune_with_namespace_args
run_tune() passes all argparse.Namespace fields to tune() correctly.
tests/scripts/test_tune.py:184
Method
test_different_frames_returns_finite_h
Two clearly different frames must return a finite (2,3) matrix.
tests/core/test_botsort_cmc.py:114
Method
test_diou_leq_iou
DIoU <= IoU: center-distance penalty is nonnegative.
tests/utils/test_iou.py:338
Method
test_distractor_class_excluded_and_matching_tracker_removed
A distractor-class GT (conf==1) must not be scored as GT, and a tracker detection overlapping it must be removed rather than counted FP.
tests/io/test_mot.py:39
Method
test_downscale_produces_valid_output
downscale>1 must still return a finite (2,3) float32 transform.
tests/core/test_botsort_cmc.py:127
Method
test_empty
Empty sequence list returns all-zero HOTA metrics.
tests/eval/test_hota.py:416
Method
test_empty
Empty sequence list returns all-zero Identity metrics.
tests/eval/test_identity.py:170
Method
test_empty_boxes_1
(self, iou_instance)
tests/utils/test_iou.py:402
Method
test_empty_boxes_2
(self, iou_instance)
tests/utils/test_iou.py:413
Method
test_empty_directory_raises_value_error
(self, empty_directory)
tests/io/test_video.py:192
Method
test_empty_frames_do_not_crash
Frames with no detections are fed as sv.Detections.empty() without error.
tests/tune/test_tuner.py:501
Method
test_empty_gt_frame_no_error
Missing GT frame must produce no error and zero GT dets for that frame.
tests/io/test_mot.py:132
Method
test_empty_image_directory
(self, tmp_path: Path)
tests/scripts/test_progress.py:145
Method
test_empty_list_is_noop
CMC.apply_batch with an empty list must not raise.
tests/core/test_botsort_cmc.py:204
Method
test_empty_list_returns_empty
Empty input must return empty output.
tests/core/test_botsort_utils.py:73
Function
test_epsilon_matches_trackeval
EPS constant equals numpy float epsilon, matching the TrackEval reference.
tests/eval/test_box.py:261
Method
test_error_shows_source_lost
(self)
tests/scripts/test_progress.py:314
Function
test_evaluate_mot_sequences_dancetrack_flat
Test evaluate_mot_sequences with DanceTrack flat format (auto-detected).
tests/eval/test_integration.py:94
Function
test_evaluate_mot_sequences_dancetrack_mot17
Test evaluate_mot_sequences with DanceTrack MOT17 format (auto-detected).
tests/eval/test_integration.py:125
Function
test_evaluate_mot_sequences_sportsmot_flat
Test evaluate_mot_sequences with SportsMOT flat format (auto-detected).
tests/eval/test_integration.py:28
Function
test_evaluate_mot_sequences_sportsmot_mot17
Test evaluate_mot_sequences with SportsMOT MOT17 format (auto-detected).
tests/eval/test_integration.py:62
Method
test_excludes_self_parameter
(self)
tests/core/test_registration.py:222
Function
test_extract_metric
(metric: str, make_kwargs: dict, expected: float)
tests/tune/test_tuner.py:106
Function
test_extract_metric_raises
(metric: str)
tests/tune/test_tuner.py:112
Method
test_extract_params_infers_type_from_default
(self)
tests/core/test_registration.py:212
← previous
next →
401–500 of 754, ranked by callers