MCPcopy Create free account

hub / github.com/roboflow/trackers / functions

Functions754 in github.com/roboflow/trackers

Methodtest_raises_when_frame_missing
(self, tmp_path: Path)
tests/io/test_frames.py:60
Methodtest_raises_when_images_dir_set_but_frame_missing
(self, tmp_path: Path)
tests/tune/test_tuner.py:516
Methodtest_raises_when_no_sequences_found
(self, tmp_path: Path)
tests/tune/test_tuner.py:207
Methodtest_range_is_minus_one_to_one
(self)
tests/utils/test_iou.py:277
Methodtest_range_is_minus_one_to_one
(self)
tests/utils/test_iou.py:317
Methodtest_reads_images_in_alphabetical_order
(self, image_directory_factory)
tests/io/test_video.py:152
Methodtest_reads_prefixed_filenames
(self, image_directory_factory)
tests/io/test_video.py:166
Methodtest_reads_single_frame_video
(self, video_factory)
tests/io/test_video.py:139
Methodtest_reads_video_frames_in_order
(self, video_factory)
tests/io/test_video.py:120
Methodtest_reflection_y_axis_swaps_x_endpoints
Reflection across y-axis: x→-x, output preserves min<max ordering.
tests/core/test_botsort_cmc.py:267
Methodtest_registered_trackers_returns_sorted_list
(self)
tests/core/test_registration.py:266
Methodtest_registers_tune_subcommand
tune subcommand is accessible under the 'tune' name.
tests/scripts/test_tune.py:36
Methodtest_required_args_parsed
--tracker, --gt-dir, and --detections-dir are required and parsed.
tests/scripts/test_tune.py:43
Functiontest_reset_clears_tracks_and_restarts_ids
reset() must clear state and restart tracker IDs from zero.
tests/core/test_trackers.py:357
Methodtest_reset_returns_identity_on_next_call
After reset(), the very next estimate() call returns identity.
tests/core/test_botsort_cmc.py:87
Methodtest_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
Methodtest_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
Functiontest_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
Functiontest_resolve_assets_with_valid_input
( requested: list[str] | None, expected_keys: list[str], )
tests/datasets/test_download.py:109
Functiontest_resolve_dataset_rejects_unknown
(dataset: str)
tests/datasets/test_download.py:59
Functiontest_resolve_dataset_with_valid_input
(dataset: str | Dataset, expected: Dataset)
tests/datasets/test_download.py:46
Functiontest_resolve_splits_rejects_unknown
(split: list[str], match: str)
tests/datasets/test_download.py:91
Functiontest_resolve_splits_with_valid_input
(split: list[str] | None, expected: list[str])
tests/datasets/test_download.py:77
Methodtest_resolves_classes
( self, classes_arg: str | None, expected: list[int] | None, )
tests/scripts/test_track.py:148
Methodtest_resolves_track_ids
( self, track_ids_arg: str | None, expected: list[int] | None, )
tests/scripts/test_track.py:180
Methodtest_result_structure
Result contains all float summary, integer count, and array fields.
tests/eval/test_hota.py:260
Methodtest_returns_0_on_success
tune() returns 0 when Tuner.run() completes without error.
tests/scripts/test_tune.py:131
Methodtest_returns_1_on_import_error
ImportError (e.g. optuna not installed) causes tune() to return 1.
tests/scripts/test_tune.py:120
Methodtest_returns_1_on_invalid_tracker
Invalid tracker ID causes tune() to return exit code 1.
tests/scripts/test_tune.py:101
Methodtest_returns_1_on_missing_files
FileNotFoundError from Tuner (missing sequence files) returns exit code 1.
tests/scripts/test_tune.py:110
Methodtest_returns_1_on_oserror_writing_output
OSError while writing output file returns exit code 1.
tests/scripts/test_tune.py:157
Methodtest_returns_1_on_tuner_run_exception
Exception from tuner.run() causes tune() to return exit code 1.
tests/scripts/test_tune.py:172
Methodtest_returns_none_when_missing
(self, tmp_path: Path)
tests/io/test_frames.py:47
Methodtest_roundtrip
xyxy → xywh → xyxy round-trip recovers the original box without drift.
tests/utils/test_converters.py:73
Methodtest_roundtrip
xyxy → xcycsr → xyxy round-trip recovers the original 1-D box.
tests/utils/test_converters.py:238
Methodtest_roundtrip_2d
xyxy → xcycsr → xyxy round-trip preserves the original 2-D shape.
tests/utils/test_converters.py:244
Methodtest_run_baseline_enqueue_excludes_fixed_params
Baseline enqueue only includes tunable search_space keys, not fixed_params.
tests/tune/test_tuner.py:336
Methodtest_run_calls_tracker_reset_per_sequence
reset() must be called once per sequence per trial.
tests/tune/test_tuner.py:400
Methodtest_run_enqueues_defaults_as_first_trial
(self, tmp_path: Path)
tests/tune/test_tuner.py:317
Methodtest_run_returns_dict_with_search_space_keys
(self, tmp_path: Path)
tests/tune/test_tuner.py:380
Methodtest_run_without_enqueue_defaults_skips_default_trial
(self, tmp_path: Path)
tests/tune/test_tuner.py:363
Methodtest_same_seed_reproduces_sampled_trials
(self, tmp_path: Path)
tests/tune/test_tuner.py:289
Methodtest_scenarios
compute_hota_metrics produces expected HOTA fields across scenarios.
tests/eval/test_hota.py:216
Methodtest_scenarios
Test Identity metrics computation for various scenarios.
tests/eval/test_identity.py:104
Methodtest_search_space_invalid_key_raises_value_error
A tracker with search_space key not in __init__ raises ValueError.
tests/core/test_registration.py:315
Methodtest_search_space_keys_match_init_params
Registered trackers' search_space keys are valid __init__ params.
tests/core/test_registration.py:294
Methodtest_seqmap_filters_sequences
(self, tmp_path: Path)
tests/tune/test_tuner.py:224
Methodtest_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
Methodtest_single_metric
Single-metric evaluation returns only the requested metric.
tests/eval/test_evaluate.py:42
Methodtest_single_sequence
Single-sequence aggregation reproduces per-sequence HOTA scores.
tests/eval/test_hota.py:424
Methodtest_single_sequence
Single-sequence aggregation preserves raw counts; recomputes IDF1.
tests/eval/test_identity.py:179
Functiontest_sort_trackers_property_emits_future_warning
Accessing deprecated .trackers must emit FutureWarning with correct message.
tests/core/test_trackers.py:650
Functiontest_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
Methodtest_split_comma_parsing
--split values are split on commas and whitespace-stripped.
tests/scripts/test_download.py:106
Methodtest_split_comma_parsing_boundary
--split handles malformed comma inputs gracefully.
tests/scripts/test_download.py:129
Methodtest_split_flag_accepts_comma_separated
--split accepts comma-separated values.
tests/scripts/test_download.py:43
Methodtest_split_with_spaces_stripped
--split with spaces around commas strips whitespace.
tests/scripts/test_download.py:208
Methodtest_stream_url
(self, url: str)
tests/scripts/test_progress.py:117
Methodtest_suffix_appended
(self)
tests/scripts/test_progress.py:218
Methodtest_supports_state_estimator
BoTSORTTracker constructs and updates with any supported estimator.
tests/core/test_botsort_tracker.py:65
Methodtest_symmetry
(self)
tests/utils/test_iou.py:291
Methodtest_symmetry
(self)
tests/utils/test_iou.py:331
Methodtest_symmetry
(self)
tests/utils/test_iou.py:371
Methodtest_table_hota_only
table() shows HOTA and DetA; MOTA absent when only HOTA computed.
tests/eval/test_evaluate.py:76
Methodtest_threshold_gate
IoU threshold controls whether a 0.4-similarity pair matches.
tests/eval/test_identity.py:137
Functiontest_time_since_update_advances_for_unmatched
`predict()` advances `time_since_update` for unmatched tracks.
tests/core/test_trackers.py:491
Functiontest_track_confirms_after_minimum_consecutive_frames
Unconfirmed tracks gain real IDs once minimum_consecutive_frames is reached.
tests/core/test_trackers.py:453
Functiontest_track_expires_after_buffer
A confirmed track is pruned after maximum_frames_without_update empty frames.
tests/core/test_trackers.py:474
Functiontest_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
Functiontest_track_survives_short_occlusion
A confirmed track stays alive across a short detection gap.
tests/core/test_trackers.py:507
Functiontest_tracked_objects_empty_before_update
Before the first update, no tracked objects are exposed.
tests/core/test_trackers.py:535
Functiontest_tracked_objects_expires_after_buffer
Track is removed from tracked_objects once lost_track_buffer is exceeded.
tests/core/test_trackers.py:614
Functiontest_tracked_objects_exposes_mature_track
After enough consistent frames the track is mature and visible.
tests/core/test_trackers.py:549
Functiontest_tracked_objects_multiple_simultaneous_tracks
Two mature, simultaneous tracks are both exposed with valid IDs.
tests/core/test_trackers.py:569
Functiontest_tracked_objects_survives_occlusion
Track stays in tracked_objects while absent from update() during occlusion.
tests/core/test_trackers.py:596
Methodtest_tracker_id
(self)
tests/core/test_cbiou_tracker.py:68
Functiontest_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
Methodtest_tracker_is_registered
(self, tracker_id: str)
tests/core/test_registration.py:235
Methodtest_tracker_params_have_descriptions
(self, tracker_id: str)
tests/core/test_registration.py:281
Functiontest_tracker_regression
( tracker_id: str, dataset: str, fixture_name: str, request: pytest.FixtureRequest, tmp_pa
tests/core/test_tracker_integration.py:87
Functiontest_tracker_update_does_not_mutate_input
update() must not assign tracker_id on the caller's sv.Detections.
tests/core/test_trackers.py:103
Functiontest_tracker_update_empty_does_not_mutate_input
update() with empty detections must not mutate input.
tests/core/test_trackers.py:117
Functiontest_tracker_uses_configured_iou_variant
Trackers should use the configured IoU implementation for matching.
tests/core/test_trackers.py:131
Methodtest_tracker_with_empty_search_space_works
Trackers with empty search_space skip validation.
tests/core/test_registration.py:356
Methodtest_tracker_without_search_space_works
Trackers without search_space are still valid.
tests/core/test_registration.py:338
Functiontest_tracklet_predict_increments_age
predict() must increment age by 1 each call.
tests/core/test_tracklets.py:82
Functiontest_tracklet_predict_increments_time_since_update
predict() must increment time_since_update by 1 each call.
tests/core/test_tracklets.py:70
Functiontest_tracklet_predict_returns_finite_bbox
predict() must always return finite bbox coordinates.
tests/core/test_tracklets.py:93
Functiontest_tracklet_starts_with_one_successful_update
Construction counts as the first successful update for SORT-like counters.
tests/core/test_tracklets.py:116
Functiontest_tracklet_starts_with_zero_time_since_update
Every tracklet must start with time_since_update == 0.
tests/core/test_tracklets.py:62
Functiontest_tracklet_update_increments_successful_updates
update(bbox) increments number_of_successful_updates for SORT-like counters.
tests/core/test_tracklets.py:125
Functiontest_tracklet_update_resets_time_since_update
update(bbox) must reset time_since_update to 0.
tests/core/test_tracklets.py:104
Methodtest_translation_none_skips_offset
When t=None, only the linear part R is applied (velocity contract).
tests/core/test_botsort_cmc.py:242
Methodtest_tuner_passes_seed_to_study
(self, tmp_path: Path)
tests/tune/test_tuner.py:274
Methodtest_unbounded_completed
(self)
tests/scripts/test_progress.py:287
Methodtest_unbounded_format
(self)
tests/scripts/test_progress.py:188
Methodtest_unbounded_frames_count_in_output
(self)
tests/scripts/test_progress.py:342
Methodtest_unbounded_keyboard_interrupt
(self)
tests/scripts/test_progress.py:299
Methodtest_unknown_name_warns_and_skips
(self, capsys: pytest.CaptureFixture)
tests/scripts/test_track.py:156
Methodtest_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
← previousnext →601–700 of 754, ranked by callers