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
test_extract_params_with_defaults
(self)
tests/core/test_registration.py:173
Method
test_extract_params_without_docstring
(self)
tests/core/test_registration.py:201
Method
test_falls_back_to_default_fps
(self, tmp_path: Path)
tests/io/test_video.py:219
Method
test_final_no_eta
(self)
tests/scripts/test_progress.py:205
Method
test_finds_eight_digit_dancetrack_name
(self, tmp_path: Path)
tests/io/test_frames.py:33
Method
test_finds_six_digit_mot_challenge_name
(self, tmp_path: Path)
tests/io/test_frames.py:27
Method
test_first_frame_initializes_track_id
Frame 1 spawns a track with a real ID (BoT-SORT special-case behavior).
tests/core/test_botsort_tracker.py:46
Method
test_first_frame_returns_identity
On the first frame there is no previous frame, so identity is returned.
tests/core/test_botsort_cmc.py:72
Method
test_fixed_params_excluded_from_tunable_search_space
(self, tmp_path: Path)
tests/tune/test_tuner.py:168
Method
test_fixed_params_merged_into_best_result
(self, tmp_path: Path)
tests/tune/test_tuner.py:131
Method
test_floating_point
box_iou is numerically stable across sub-pixel and large-coordinate boxes.
tests/eval/test_box.py:161
Method
test_format_time
(self, seconds: float, expected: str)
tests/scripts/test_progress.py:166
Method
test_frame_triggers_warning
(self)
tests/core/test_cbiou_tracker.py:77
Method
test_frames_count_in_output
(self)
tests/scripts/test_progress.py:330
Method
test_fuse_score_empty_matrix_returns_empty
Empty similarity matrix must return empty array unchanged.
tests/core/test_botsort_utils.py:24
Method
test_fuse_score_halves_with_half_confidence
Fusing with 0.5 scores must halve every IoU value.
tests/core/test_botsort_utils.py:38
Method
test_fuse_score_identity
Fusing with all-1 scores must leave IoU unchanged.
tests/core/test_botsort_utils.py:31
Function
test_fuse_score_ordering_preserved_for_signed_iou
_fuse_score via normalize_for_fusion must preserve ranking for signed variants.
tests/core/test_trackers.py:301
Method
test_fuse_score_per_detection_weighting
Each detection column must be scaled by its own score.
tests/core/test_botsort_utils.py:46
Method
test_generates_labels
( self, detections_kwargs: dict, class_names: list[str], label_flags: dict,
tests/scripts/test_track.py:115
Method
test_giou_leq_iou
GIoU <= IoU always holds.
tests/utils/test_iou.py:298
Method
test_identical_frames_near_identity
Two identical frames should produce near-zero translation.
tests/core/test_botsort_cmc.py:100
Method
test_identity_translation_only
Identity R with non-zero t must shift all corners by t.
tests/core/test_botsort_cmc.py:229
Method
test_ignored_non_distractor_gt_does_not_suppress_tracker
GT (conf=0, non-distractor class) is neither scored GT nor a distractor. A tracker detection overlapping it must be kept, not suppressed. Be
tests/io/test_mot.py:105
Method
test_image_directory
(self, image_directory_factory: Callable[[int], Path])
tests/scripts/test_progress.py:81
Method
test_image_directory_path_object
(self, image_directory_factory: Callable[[int], Path])
tests/scripts/test_progress.py:89
Method
test_immature_lost_track_dies
An immature track that has been lost must be removed.
tests/core/test_botsort_utils.py:89
Method
test_includes_six_and_eight_digit_stems
(self)
tests/io/test_frames.py:19
Method
test_inf_coordinates_raise
(self, metric: BaseIoU)
tests/utils/test_iou.py:442
Method
test_instantiate_bytetrack_with_custom_params
(self)
tests/core/test_registration.py:436
Method
test_instantiate_with_defaults
(self, tracker_id: str)
tests/core/test_registration.py:427
Method
test_instantiate_with_registry_params
Test creating tracker with params dict like CLI would do.
tests/core/test_registration.py:444
Method
test_invalid_buffer_ratio_raises
(self)
tests/core/test_cbiou_tracker.py:71
Method
test_invalid_format
box_iou raises ValueError when box_format is not 'xyxy' or 'xywh'.
tests/eval/test_box.py:115
Method
test_invalid_format
box_ioa raises ValueError when box_format is not 'xyxy' or 'xywh'.
tests/eval/test_box.py:254
Method
test_invalid_negative_buffer_ratio
(self)
tests/utils/test_iou.py:246
Method
test_invalid_search_space_value_schema_raises
Invalid search_space value dicts raise ValueError at class definition.
tests/core/test_registration.py:407
Method
test_inverted_coords_gives_zero_or_negative_similarity
(self, metric: BaseIoU)
tests/utils/test_iou.py:456
Method
test_json_hota_only
json() includes HOTA fields when only HOTA computed.
tests/eval/test_evaluate.py:91
Method
test_large_frame_index
(self)
tests/io/test_frames.py:22
Method
test_large_random_batch
(self, ours, ref_or_baseline)
tests/utils/test_iou.py:212
Method
test_list_flag
--list sets the flag to True.
tests/scripts/test_download.py:33
Method
test_list_flag_default_false
--list is False when omitted.
tests/scripts/test_download.py:38
Method
test_list_takes_precedence_over_dataset
--list wins over dataset positional.
tests/scripts/test_download.py:81
Method
test_list_triggers_print
--list calls _print_available and returns 0.
tests/scripts/test_download.py:72
Method
test_loads_bgr_array
(self, tmp_path: Path)
tests/io/test_frames.py:52
Method
test_loads_eight_digit_dancetrack_frame
(self, tmp_path: Path)
tests/tune/test_tuner.py:455
Method
test_loads_frame_with_supported_extension
(self, tmp_path: Path)
tests/tune/test_tuner.py:439
Method
test_lookup_tracker
(self, tracker_id: str)
tests/core/test_registration.py:247
Method
test_lookup_tracker_unknown_returns_none
(self)
tests/core/test_registration.py:262
Method
test_matches_single
Batch CMC must match per-track apply_cmc for a single track.
tests/core/test_botsort_cmc.py:157
Method
test_mature_lost_track_survives_within_buffer
A mature track lost for a few frames survives inside the buffer.
tests/core/test_botsort_utils.py:83
Method
test_mature_track_dies_past_buffer
Even a mature track must die once it exceeds the lost buffer.
tests/core/test_botsort_utils.py:95
Method
test_metrics_default
--metrics defaults to ['CLEAR'] when not supplied.
tests/scripts/test_tune.py:76
Method
test_metrics_invariant_to_id_relabeling
HOTA depends only on association structure, not on the integer id values. Relabeling ground-truth and tracker ids with a consistent, non-mono
tests/eval/test_hota.py:301
Method
test_missing_dataset_exits_with_error
No dataset and no --list prints error to stderr and returns 1.
tests/scripts/test_download.py:90
Method
test_mixed_state_list_raises
Heterogeneous state estimator types must raise TypeError immediately.
tests/core/test_botsort_cmc.py:209
Method
test_mixed_tracks_partial_survival
Mixed maturity and lost-time states — only valid tracks survive.
tests/core/test_botsort_utils.py:113
Method
test_multi_frame_consistency
Consistent tracking across frames yields perfect IDTP/IDFN/IDFP.
tests/eval/test_identity.py:149
Method
test_multi_frame_sequence_accumulates_correctly
Multi-frame sequences must accumulate GT/tracker dets across all frames.
tests/io/test_mot.py:143
Method
test_multiple_sequences
Identical sequences aggregate to the same HOTA; TP counts are summed.
tests/eval/test_hota.py:438
Method
test_multiple_sequences
Multi-sequence aggregation sums raw counts and recomputes IDF1.
tests/eval/test_identity.py:198
Method
test_multiple_tracklets
Batch CMC applies the same transform to every tracklet.
tests/core/test_botsort_cmc.py:179
Method
test_nan_coordinates_raise
(self, metric: BaseIoU)
tests/utils/test_iou.py:435
Method
test_near_miss_associated_with_buffer
A track initialized at box A, then a detection at box B just outside should be associated by CBIoU (buffer expands boxes) but not by
tests/core/test_cbiou_tracker.py:92
Method
test_nearby_non_overlap_gets_positive_signal
(self)
tests/utils/test_iou.py:238
Method
test_negative_coordinates_preserved
Negative input coordinates must transform without sign-related artifacts.
tests/core/test_botsort_cmc.py:295
Method
test_no_cmc_in_search_space
(self)
tests/core/test_cbiou_tracker.py:203
Function
test_no_confidence_detections_can_spawn_confirmed_tracks
Missing confidence should behave like usable detections, not suppress tracking.
tests/core/test_trackers.py:141
Function
test_no_confidence_matches_explicit_ones_confidence
Every tracker treats confidence=None the same as all-ones across multi-box batches. Multi-detection batches exercise confidence bucketing in trac
tests/core/test_trackers.py:177
Method
test_no_warning_without_frame
(self)
tests/core/test_cbiou_tracker.py:82
Method
test_non_contiguous_unmatched_indices_are_sorted
Non-contiguous unmatched indices are returned in ascending order. Scenario: 4 tracks, 5 detections; track 1 matches detection 2 (IoU=0.9).
tests/core/test_associated_indices.py:88
Method
test_non_finite_h_propagates_to_state
Non-finite H values must propagate into track state without raising.
tests/core/test_botsort_cmc.py:560
Method
test_non_image_files_raises_value_error
(self, directory_with_non_image_files)
tests/io/test_video.py:196
Method
test_non_integer_warns_and_skips
(self, capsys: pytest.CaptureFixture)
tests/scripts/test_track.py:188
Method
test_none_frame_returns_identity
Passing None as frame_bgr must return identity without raising.
tests/core/test_botsort_cmc.py:79
Method
test_none_is_noop
CMC.apply_batch with H=None must not change any tracklet state.
tests/core/test_botsort_cmc.py:194
Method
test_none_splits_and_assets_when_omitted
When --split and --asset are omitted, None is forwarded.
tests/scripts/test_download.py:167
Method
test_nonexistent_file
(self)
tests/scripts/test_progress.py:139
Method
test_nonexistent_video_raises_value_error
(self)
tests/io/test_video.py:146
Function
test_normalize_list
( value: str | DatasetSplit | DatasetAsset | list | None, expected: list | None, )
tests/utils/test_general.py:37
Method
test_normalize_type
_normalize_type returns the expected base type for assorted annotations.
tests/core/test_registration.py:167
Method
test_objective_normalized_to_uppercase
Objective string is normalized to uppercase regardless of input case.
tests/tune/test_tuner.py:253
Function
test_ocsort_oru_triggers_on_single_frame_gap
ORU unfreeze fires correctly after exactly one missed frame. Copilot raised a concern that ``_observed`` stays ``True`` throughout the first
tests/core/test_tracklets.py:159
Method
test_optional_defaults
Optional arguments have correct defaults when omitted.
tests/scripts/test_tune.py:72
Method
test_output_directory_forwarded
-o value is forwarded to download_dataset.
tests/scripts/test_download.py:182
Method
test_output_directory_short_flag
-o sets the output directory.
tests/scripts/test_download.py:53
Method
test_output_flag_short_form
-o is an alias for --output.
tests/scripts/test_tune.py:80
Method
test_output_is_2x3_float32
estimate() must always return a (2, 3) float32 matrix.
tests/core/test_botsort_cmc.py:60
Method
test_output_matches_sequential_reference
Vectorized implementation is bit-identical to pre-vectorization sequential version. Guards the hot path against future silent drift. Compares
tests/eval/test_hota.py:390
Method
test_parse_docstring
(self, docstring: str, expected: dict[str, str])
tests/core/test_registration.py:134
Method
test_per_step_biou_instances
(self)
tests/core/test_cbiou_tracker.py:46
Method
test_prefers_six_digit_when_both_exist
(self, tmp_path: Path)
tests/io/test_frames.py:39
Method
test_prints_without_error
_print_available runs without raising and does not leak output.
tests/scripts/test_download.py:227
Method
test_raises_for_tracker_without_search_space
(self, tmp_path: Path)
tests/tune/test_tuner.py:187
Method
test_raises_for_unknown_tracker
(self, tmp_path: Path)
tests/tune/test_tuner.py:182
Method
test_raises_on_unknown_fixed_param
(self, tmp_path: Path)
tests/tune/test_tuner.py:163
Method
test_raises_when_enable_cmc_without_images
(self, tmp_path: Path)
tests/tune/test_tuner.py:153
Method
test_raises_when_file_cannot_be_decoded
(self, tmp_path: Path)
tests/io/test_frames.py:64
Method
test_raises_when_frame_image_missing
(self, tmp_path: Path)
tests/tune/test_tuner.py:430
← previous
next →
501–600 of 754, ranked by callers