Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/roboflow/trackers
/ functions
Functions
754 in github.com/roboflow/trackers
⨍
Functions
754
◇
Types & classes
127
↳
Endpoints
4
Method
test_raises_when_frame_missing
(self, tmp_path: Path)
tests/io/test_frames.py:60
Method
test_raises_when_images_dir_set_but_frame_missing
(self, tmp_path: Path)
tests/tune/test_tuner.py:516
Method
test_raises_when_no_sequences_found
(self, tmp_path: Path)
tests/tune/test_tuner.py:207
Method
test_range_is_minus_one_to_one
(self)
tests/utils/test_iou.py:277
Method
test_range_is_minus_one_to_one
(self)
tests/utils/test_iou.py:317
Method
test_reads_images_in_alphabetical_order
(self, image_directory_factory)
tests/io/test_video.py:152
Method
test_reads_prefixed_filenames
(self, image_directory_factory)
tests/io/test_video.py:166
Method
test_reads_single_frame_video
(self, video_factory)
tests/io/test_video.py:139
Method
test_reads_video_frames_in_order
(self, video_factory)
tests/io/test_video.py:120
Method
test_reflection_y_axis_swaps_x_endpoints
Reflection across y-axis: x→-x, output preserves min<max ordering.
tests/core/test_botsort_cmc.py:267
Method
test_registered_trackers_returns_sorted_list
(self)
tests/core/test_registration.py:266
Method
test_registers_tune_subcommand
tune subcommand is accessible under the 'tune' name.
tests/scripts/test_tune.py:36
Method
test_required_args_parsed
--tracker, --gt-dir, and --detections-dir are required and parsed.
tests/scripts/test_tune.py:43
Function
test_reset_clears_tracks_and_restarts_ids
reset() must clear state and restart tracker IDs from zero.
tests/core/test_trackers.py:357
Method
test_reset_returns_identity_on_next_call
After reset(), the very next estimate() call returns identity.
tests/core/test_botsort_cmc.py:87
Method
test_residual_above_atol_treated_as_cross_axis
Cross-axis residual above 1e-6 must take the freeze branch.
tests/core/test_botsort_cmc.py:462
Method
test_residual_below_atol_treated_as_axis_aligned
Cross-axis residual below 1e-6 takes axis-aligned (P-update) branch.
tests/core/test_botsort_cmc.py:440
Function
test_resolve_assets_rejects_unknown
( requested: list[str], available: dict[str, dict[str, str]], split_name: str, dataset_name: s
tests/datasets/test_download.py:143
Function
test_resolve_assets_with_valid_input
( requested: list[str] | None, expected_keys: list[str], )
tests/datasets/test_download.py:109
Function
test_resolve_dataset_rejects_unknown
(dataset: str)
tests/datasets/test_download.py:59
Function
test_resolve_dataset_with_valid_input
(dataset: str | Dataset, expected: Dataset)
tests/datasets/test_download.py:46
Function
test_resolve_splits_rejects_unknown
(split: list[str], match: str)
tests/datasets/test_download.py:91
Function
test_resolve_splits_with_valid_input
(split: list[str] | None, expected: list[str])
tests/datasets/test_download.py:77
Method
test_resolves_classes
( self, classes_arg: str | None, expected: list[int] | None, )
tests/scripts/test_track.py:148
Method
test_resolves_track_ids
( self, track_ids_arg: str | None, expected: list[int] | None, )
tests/scripts/test_track.py:180
Method
test_result_structure
Result contains all float summary, integer count, and array fields.
tests/eval/test_hota.py:260
Method
test_returns_0_on_success
tune() returns 0 when Tuner.run() completes without error.
tests/scripts/test_tune.py:131
Method
test_returns_1_on_import_error
ImportError (e.g. optuna not installed) causes tune() to return 1.
tests/scripts/test_tune.py:120
Method
test_returns_1_on_invalid_tracker
Invalid tracker ID causes tune() to return exit code 1.
tests/scripts/test_tune.py:101
Method
test_returns_1_on_missing_files
FileNotFoundError from Tuner (missing sequence files) returns exit code 1.
tests/scripts/test_tune.py:110
Method
test_returns_1_on_oserror_writing_output
OSError while writing output file returns exit code 1.
tests/scripts/test_tune.py:157
Method
test_returns_1_on_tuner_run_exception
Exception from tuner.run() causes tune() to return exit code 1.
tests/scripts/test_tune.py:172
Method
test_returns_none_when_missing
(self, tmp_path: Path)
tests/io/test_frames.py:47
Method
test_roundtrip
xyxy → xywh → xyxy round-trip recovers the original box without drift.
tests/utils/test_converters.py:73
Method
test_roundtrip
xyxy → xcycsr → xyxy round-trip recovers the original 1-D box.
tests/utils/test_converters.py:238
Method
test_roundtrip_2d
xyxy → xcycsr → xyxy round-trip preserves the original 2-D shape.
tests/utils/test_converters.py:244
Method
test_run_baseline_enqueue_excludes_fixed_params
Baseline enqueue only includes tunable search_space keys, not fixed_params.
tests/tune/test_tuner.py:336
Method
test_run_calls_tracker_reset_per_sequence
reset() must be called once per sequence per trial.
tests/tune/test_tuner.py:400
Method
test_run_enqueues_defaults_as_first_trial
(self, tmp_path: Path)
tests/tune/test_tuner.py:317
Method
test_run_returns_dict_with_search_space_keys
(self, tmp_path: Path)
tests/tune/test_tuner.py:380
Method
test_run_without_enqueue_defaults_skips_default_trial
(self, tmp_path: Path)
tests/tune/test_tuner.py:363
Method
test_same_seed_reproduces_sampled_trials
(self, tmp_path: Path)
tests/tune/test_tuner.py:289
Method
test_scenarios
compute_hota_metrics produces expected HOTA fields across scenarios.
tests/eval/test_hota.py:216
Method
test_scenarios
Test Identity metrics computation for various scenarios.
tests/eval/test_identity.py:104
Method
test_search_space_invalid_key_raises_value_error
A tracker with search_space key not in __init__ raises ValueError.
tests/core/test_registration.py:315
Method
test_search_space_keys_match_init_params
Registered trackers' search_space keys are valid __init__ params.
tests/core/test_registration.py:294
Method
test_seqmap_filters_sequences
(self, tmp_path: Path)
tests/tune/test_tuner.py:224
Method
test_single_class_sequence_unaffected
SportsMOT / DanceTrack-style data (all pedestrian, conf==1) must be passed through unchanged, so existing parity is preserved.
tests/io/test_mot.py:163
Method
test_single_metric
Single-metric evaluation returns only the requested metric.
tests/eval/test_evaluate.py:42
Method
test_single_sequence
Single-sequence aggregation reproduces per-sequence HOTA scores.
tests/eval/test_hota.py:424
Method
test_single_sequence
Single-sequence aggregation preserves raw counts; recomputes IDF1.
tests/eval/test_identity.py:179
Function
test_sort_trackers_property_emits_future_warning
Accessing deprecated .trackers must emit FutureWarning with correct message.
tests/core/test_trackers.py:650
Function
test_sort_tracklet_predict_does_not_drift_bbox
A single predict() step must not move the bbox of a freshly created tracklet.
tests/core/test_tracklets.py:140
Method
test_split_comma_parsing
--split values are split on commas and whitespace-stripped.
tests/scripts/test_download.py:106
Method
test_split_comma_parsing_boundary
--split handles malformed comma inputs gracefully.
tests/scripts/test_download.py:129
Method
test_split_flag_accepts_comma_separated
--split accepts comma-separated values.
tests/scripts/test_download.py:43
Method
test_split_with_spaces_stripped
--split with spaces around commas strips whitespace.
tests/scripts/test_download.py:208
Method
test_stream_url
(self, url: str)
tests/scripts/test_progress.py:117
Method
test_suffix_appended
(self)
tests/scripts/test_progress.py:218
Method
test_supports_state_estimator
BoTSORTTracker constructs and updates with any supported estimator.
tests/core/test_botsort_tracker.py:65
Method
test_symmetry
(self)
tests/utils/test_iou.py:291
Method
test_symmetry
(self)
tests/utils/test_iou.py:331
Method
test_symmetry
(self)
tests/utils/test_iou.py:371
Method
test_table_hota_only
table() shows HOTA and DetA; MOTA absent when only HOTA computed.
tests/eval/test_evaluate.py:76
Method
test_threshold_gate
IoU threshold controls whether a 0.4-similarity pair matches.
tests/eval/test_identity.py:137
Function
test_time_since_update_advances_for_unmatched
`predict()` advances `time_since_update` for unmatched tracks.
tests/core/test_trackers.py:491
Function
test_track_confirms_after_minimum_consecutive_frames
Unconfirmed tracks gain real IDs once minimum_consecutive_frames is reached.
tests/core/test_trackers.py:453
Function
test_track_expires_after_buffer
A confirmed track is pruned after maximum_frames_without_update empty frames.
tests/core/test_trackers.py:474
Function
test_track_spawned_after_frame_one_starts_unconfirmed
A track first seen on frame 2 must start with tracker_id == -1.
tests/core/test_trackers.py:437
Function
test_track_survives_short_occlusion
A confirmed track stays alive across a short detection gap.
tests/core/test_trackers.py:507
Function
test_tracked_objects_empty_before_update
Before the first update, no tracked objects are exposed.
tests/core/test_trackers.py:535
Function
test_tracked_objects_expires_after_buffer
Track is removed from tracked_objects once lost_track_buffer is exceeded.
tests/core/test_trackers.py:614
Function
test_tracked_objects_exposes_mature_track
After enough consistent frames the track is mature and visible.
tests/core/test_trackers.py:549
Function
test_tracked_objects_multiple_simultaneous_tracks
Two mature, simultaneous tracks are both exposed with valid IDs.
tests/core/test_trackers.py:569
Function
test_tracked_objects_survives_occlusion
Track stays in tracked_objects while absent from update() during occlusion.
tests/core/test_trackers.py:596
Method
test_tracker_id
(self)
tests/core/test_cbiou_tracker.py:68
Function
test_tracker_instances_do_not_share_id_allocators
Resetting one tracker instance must not make another instance reuse a live ID.
tests/core/test_trackers.py:376
Method
test_tracker_is_registered
(self, tracker_id: str)
tests/core/test_registration.py:235
Method
test_tracker_params_have_descriptions
(self, tracker_id: str)
tests/core/test_registration.py:281
Function
test_tracker_regression
( tracker_id: str, dataset: str, fixture_name: str, request: pytest.FixtureRequest, tmp_pa
tests/core/test_tracker_integration.py:87
Function
test_tracker_update_does_not_mutate_input
update() must not assign tracker_id on the caller's sv.Detections.
tests/core/test_trackers.py:103
Function
test_tracker_update_empty_does_not_mutate_input
update() with empty detections must not mutate input.
tests/core/test_trackers.py:117
Function
test_tracker_uses_configured_iou_variant
Trackers should use the configured IoU implementation for matching.
tests/core/test_trackers.py:131
Method
test_tracker_with_empty_search_space_works
Trackers with empty search_space skip validation.
tests/core/test_registration.py:356
Method
test_tracker_without_search_space_works
Trackers without search_space are still valid.
tests/core/test_registration.py:338
Function
test_tracklet_predict_increments_age
predict() must increment age by 1 each call.
tests/core/test_tracklets.py:82
Function
test_tracklet_predict_increments_time_since_update
predict() must increment time_since_update by 1 each call.
tests/core/test_tracklets.py:70
Function
test_tracklet_predict_returns_finite_bbox
predict() must always return finite bbox coordinates.
tests/core/test_tracklets.py:93
Function
test_tracklet_starts_with_one_successful_update
Construction counts as the first successful update for SORT-like counters.
tests/core/test_tracklets.py:116
Function
test_tracklet_starts_with_zero_time_since_update
Every tracklet must start with time_since_update == 0.
tests/core/test_tracklets.py:62
Function
test_tracklet_update_increments_successful_updates
update(bbox) increments number_of_successful_updates for SORT-like counters.
tests/core/test_tracklets.py:125
Function
test_tracklet_update_resets_time_since_update
update(bbox) must reset time_since_update to 0.
tests/core/test_tracklets.py:104
Method
test_translation_none_skips_offset
When t=None, only the linear part R is applied (velocity contract).
tests/core/test_botsort_cmc.py:242
Method
test_tuner_passes_seed_to_study
(self, tmp_path: Path)
tests/tune/test_tuner.py:274
Method
test_unbounded_completed
(self)
tests/scripts/test_progress.py:287
Method
test_unbounded_format
(self)
tests/scripts/test_progress.py:188
Method
test_unbounded_frames_count_in_output
(self)
tests/scripts/test_progress.py:342
Method
test_unbounded_keyboard_interrupt
(self)
tests/scripts/test_progress.py:299
Method
test_unknown_name_warns_and_skips
(self, capsys: pytest.CaptureFixture)
tests/scripts/test_track.py:156
Method
test_unmatched_low_conf_detection_has_minus_one_tracker_id
Unmatched low-confidence detection appears in update() output with tracker_id=-1.
tests/core/test_cbiou_tracker.py:210
← previous
next →
601–700 of 754, ranked by callers