MCPcopy Index your code

hub / github.com/roboflow/trackers / functions

Functions754 in github.com/roboflow/trackers

Methodreset
(self)
tests/core/test_registration.py:369
Methodreset
(self)
tests/core/test_registration.py:421
Methodreset
(self)
tests/tune/test_tuner.py:197
Functionreset_random_seeds
Reset random state before each test for reproducibility.
tests/conftest.py:48
Functionrun_eval
Execute the eval command.
src/trackers/scripts/eval.py:99
Functionrun_track
Execute the track command.
src/trackers/scripts/track.py:268
Methodrun_tracker
(tracker: CBIoUTracker | BoTSORTTracker)
tests/core/test_cbiou_tracker.py:151
Functionsample_mot_files
Create sample GT and tracker MOT files for testing.
tests/eval/test_evaluate.py:17
Methodset_state
Restore a previously saved filter state. Args: state: Dictionary from `get_state`.
src/trackers/utils/state_representations.py:142
Functionsportsmot_flat_data
Fixture providing SportsMOT flat format test data.
tests/conftest.py:122
Functionsportsmot_mot17_data
Fixture providing SportsMOT MOT17 format test data.
tests/conftest.py:128
Methodstate_to_bbox
(self)
src/trackers/utils/state_representations.py:218
Methodstate_to_bbox
(self)
src/trackers/utils/state_representations.py:261
Methodstate_to_bbox
(self)
src/trackers/utils/state_representations.py:306
Methodtable
Format as a table string. Args: columns: Metric columns to include. If `None`, includes all available metrics.
src/trackers/eval/results.py:493
Methodtest_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
Methodtest_accepts_path_object
(self, image_directory_factory)
tests/io/test_video.py:178
Methodtest_accepts_string_path
(self, image_directory_factory)
tests/io/test_video.py:184
Methodtest_active_immature_track_survives
A track updated this frame survives even with 1 successful update.
tests/core/test_botsort_utils.py:77
Methodtest_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
Methodtest_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
Methodtest_all_metrics
All three metric groups are present when all metrics requested.
tests/eval/test_evaluate.py:62
Methodtest_all_non_integer_returns_none
(self, capsys: pytest.CaptureFixture)
tests/scripts/test_track.py:193
Functiontest_all_trackers_associated_indices_are_deterministically_sorted
All trackers return stable ascending unmatched indices on same pattern.
tests/core/test_associated_indices.py:108
Methodtest_all_unknown_names_returns_none
(self, capsys: pytest.CaptureFixture)
tests/scripts/test_track.py:161
Methodtest_all_unmatched_detections_are_sorted
All detections are unmatched when no tracks exist; result is sorted.
tests/core/test_associated_indices.py:79
Methodtest_asset_comma_parsing
--asset values are split on commas and whitespace-stripped.
tests/scripts/test_download.py:152
Methodtest_asset_flag_accepts_comma_separated
--asset accepts comma-separated values.
tests/scripts/test_download.py:48
Methodtest_at_most_one
Pairwise CIoU is at most 1; unlike IoU/DIoU/GIoU it can be < -1.
tests/utils/test_iou.py:357
Methodtest_auto_adds_required_metric_family
Tuner auto-adds the metric family required by the objective.
tests/tune/test_tuner.py:241
Methodtest_axis_aligned_updates_p
Axis-aligned R must propagate into P via A @ P @ A.T.
tests/core/test_botsort_cmc.py:353
Methodtest_axis_aligned_updates_p_batch_path
Batch path must update P when R is axis-aligned.
tests/core/test_botsort_cmc.py:411
Methodtest_batch_input_matches_per_element_loop
Vectorised batch call must equal applying the helper per element.
tests/core/test_botsort_cmc.py:308
Methodtest_biou_monotonic_in_buffer_ratio
Larger buffer ratio yields equal-or-higher BIoU for near-miss boxes.
tests/utils/test_iou.py:250
Methodtest_biou_zero_ratio_matches_iou
BIoU(buffer_ratio=0) should equal standard IoU for all box pairs.
tests/utils/test_iou.py:260
Methodtest_both_empty
(self, iou_instance)
tests/utils/test_iou.py:424
Functiontest_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
Functiontest_botsort_tracklet_apply_cmc_identity_is_noop
apply_cmc with an identity transform must leave state unchanged.
tests/core/test_botsort_tracklet.py:111
Functiontest_botsort_tracklet_apply_cmc_none_is_noop
apply_cmc(None) must leave state and covariance unchanged.
tests/core/test_botsort_tracklet.py:98
Functiontest_botsort_tracklet_apply_cmc_translates_center
A pure translation H must shift center by (tx, ty).
tests/core/test_botsort_tracklet.py:120
Functiontest_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
Functiontest_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
Functiontest_botsort_tracklet_predict_keeps_valid_bbox
BBox width/height stay positive even after many predictions.
tests/core/test_botsort_tracklet.py:48
Methodtest_bounded_completed
(self)
tests/scripts/test_progress.py:245
Methodtest_bounded_format
(self)
tests/scripts/test_progress.py:171
Methodtest_bounded_interrupted_by_display_quit
(self)
tests/scripts/test_progress.py:258
Methodtest_bounded_keyboard_interrupt
(self)
tests/scripts/test_progress.py:271
Methodtest_buffer_boundary_exactly_at_limit
time_since_update == maximum_frames_without_update is past the limit.
tests/core/test_botsort_utils.py:101
Methodtest_buffer_boundary_one_under_limit
time_since_update == maximum_frames_without_update - 1 survives.
tests/core/test_botsort_utils.py:107
Methodtest_buffer_ratios_forwarded_to_biou
(self)
tests/core/test_cbiou_tracker.py:55
Methodtest_buffer_zero_matches_iou
(self)
tests/utils/test_iou.py:231
Functiontest_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
Functiontest_bytetrack_consecutive_counter_resets_on_miss
ByteTrack resets the consecutive-update counter after a missed frame.
tests/core/test_trackers.py:634
Methodtest_bytetrack_defaults_match_init
(self)
tests/tune/test_tuner.py:120
Functiontest_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
Functiontest_bytetrack_tracklet_starts_with_one_successful_consecutive_update
Construction counts as the first successful consecutive update.
tests/core/test_tracklets.py:151
Methodtest_cache_dir_flag
--cache-dir sets the cache directory.
tests/scripts/test_download.py:58
Methodtest_cascade_buffer_params_in_search_space
(self)
tests/core/test_cbiou_tracker.py:197
Methodtest_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
Functiontest_cbiou_monotonic_ids_within_single_session
CBIoUTracker must increment IDs monotonically within one session.
tests/core/test_trackers.py:406
Methodtest_ciou_leq_diou
CIoU <= DIoU: aspect-ratio term is nonnegative after scaling by alpha.
tests/utils/test_iou.py:378
Methodtest_cmc_disabled
(self)
tests/core/test_cbiou_tracker.py:63
Methodtest_cmc_disabled_ignores_frame
When enable_cmc=False, passing frame to update is harmless.
tests/core/test_botsort_tracker.py:91
Methodtest_cmc_reset_clears_cmc_state
reset() also resets the internal CMC state.
tests/core/test_botsort_tracker.py:116
Functiontest_compute_clear_metrics
compute_clear_metrics produces the expected CLEAR-MOT counts across scenarios.
tests/eval/test_clear.py:296
Methodtest_corrupted_image_raises_os_error
(self, directory_with_corrupted_image)
tests/io/test_video.py:200
Methodtest_create_optuna_study_uses_seeded_sampler
(self)
tests/tune/test_tuner.py:261
Methodtest_create_optuna_study_without_seed_uses_default_sampler
(self)
tests/tune/test_tuner.py:268
Methodtest_creates_annotators_based_on_flags
( self, flags: dict, expected_types: list, has_label_annotator: bool, )
tests/scripts/test_track.py:49
Methodtest_creates_valid_mot_output_file
Output file exists and each line is valid 10-column MOT format.
tests/tune/test_tuner.py:475
Methodtest_cross_axis_freezes_p
Cross-axis R must leave P untouched (A=None branch).
tests/core/test_botsort_cmc.py:380
Methodtest_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
Methodtest_dataset_positional
Dataset is captured as positional argument.
tests/scripts/test_download.py:63
Methodtest_default_construction
(self)
tests/core/test_cbiou_tracker.py:42
Functiontest_default_iou_is_standard_iou
Tracker(iou=None) must default to a standard IoU instance.
tests/core/test_trackers.py:291
Methodtest_delegates_to_tune_with_namespace_args
run_tune() passes all argparse.Namespace fields to tune() correctly.
tests/scripts/test_tune.py:184
Methodtest_different_frames_returns_finite_h
Two clearly different frames must return a finite (2,3) matrix.
tests/core/test_botsort_cmc.py:114
Methodtest_diou_leq_iou
DIoU <= IoU: center-distance penalty is nonnegative.
tests/utils/test_iou.py:338
Methodtest_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
Methodtest_downscale_produces_valid_output
downscale>1 must still return a finite (2,3) float32 transform.
tests/core/test_botsort_cmc.py:127
Methodtest_empty
Empty sequence list returns all-zero HOTA metrics.
tests/eval/test_hota.py:416
Methodtest_empty
Empty sequence list returns all-zero Identity metrics.
tests/eval/test_identity.py:170
Methodtest_empty_boxes_1
(self, iou_instance)
tests/utils/test_iou.py:402
Methodtest_empty_boxes_2
(self, iou_instance)
tests/utils/test_iou.py:413
Methodtest_empty_directory_raises_value_error
(self, empty_directory)
tests/io/test_video.py:192
Methodtest_empty_frames_do_not_crash
Frames with no detections are fed as sv.Detections.empty() without error.
tests/tune/test_tuner.py:501
Methodtest_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
Methodtest_empty_image_directory
(self, tmp_path: Path)
tests/scripts/test_progress.py:145
Methodtest_empty_list_is_noop
CMC.apply_batch with an empty list must not raise.
tests/core/test_botsort_cmc.py:204
Methodtest_empty_list_returns_empty
Empty input must return empty output.
tests/core/test_botsort_utils.py:73
Functiontest_epsilon_matches_trackeval
EPS constant equals numpy float epsilon, matching the TrackEval reference.
tests/eval/test_box.py:261
Methodtest_error_shows_source_lost
(self)
tests/scripts/test_progress.py:314
Functiontest_evaluate_mot_sequences_dancetrack_flat
Test evaluate_mot_sequences with DanceTrack flat format (auto-detected).
tests/eval/test_integration.py:94
Functiontest_evaluate_mot_sequences_dancetrack_mot17
Test evaluate_mot_sequences with DanceTrack MOT17 format (auto-detected).
tests/eval/test_integration.py:125
Functiontest_evaluate_mot_sequences_sportsmot_flat
Test evaluate_mot_sequences with SportsMOT flat format (auto-detected).
tests/eval/test_integration.py:28
Functiontest_evaluate_mot_sequences_sportsmot_mot17
Test evaluate_mot_sequences with SportsMOT MOT17 format (auto-detected).
tests/eval/test_integration.py:62
Methodtest_excludes_self_parameter
(self)
tests/core/test_registration.py:222
Functiontest_extract_metric
(metric: str, make_kwargs: dict, expected: float)
tests/tune/test_tuner.py:106
Functiontest_extract_metric_raises
(metric: str)
tests/tune/test_tuner.py:112
Methodtest_extract_params_infers_type_from_default
(self)
tests/core/test_registration.py:212
← previousnext →401–500 of 754, ranked by callers