MCPcopy Create free account

hub / github.com/roboflow/trackers / functions

Functions754 in github.com/roboflow/trackers

Methodtest_update_with_frame_applies_cmc_without_error
update() with a real textured frame and CMC enabled runs without error.
tests/core/test_botsort_tracker.py:101
Methodtest_update_without_frame_skips_cmc_silently
CMC enabled but frame=None must not raise and must track normally.
tests/core/test_botsort_tracker.py:82
Methodtest_uses_source_fps_when_provided
(self, tmp_path: Path)
tests/io/test_video.py:206
Methodtest_valid_init_stores_attributes
(self, tmp_path: Path)
tests/tune/test_tuner.py:215
Methodtest_valid_range
box_iou results stay within [0, 1] (modulo EPS) for random boxes.
tests/eval/test_box.py:181
Methodtest_value_error_returns_exit_code
ValueError from download_dataset is caught and returns 1.
tests/scripts/test_download.py:197
Methodtest_values
box_iou returns the expected pairwise IoU matrix for assorted box layouts.
tests/eval/test_box.py:103
Methodtest_values
box_ioa returns the expected intersection-over-area matrix.
tests/eval/test_box.py:242
Methodtest_video_file
(self, video_factory: Callable[[int], Path])
tests/scripts/test_progress.py:71
Methodtest_video_with_zero_frame_count
(self)
tests/scripts/test_progress.py:124
Methodtest_webcam_from_int
(self)
tests/scripts/test_progress.py:96
Methodtest_webcam_from_str
(self)
tests/scripts/test_progress.py:103
Methodtest_weighted_by_tp
Aggregated HOTA skews toward the higher-TP sequence.
tests/eval/test_hota.py:456
Methodtest_writes_json_output_on_success
Best parameters are written to the output JSON file on success.
tests/scripts/test_tune.py:142
Methodtest_wrong_shape_h_raises
H with (2,2) shape must raise when the translation column is accessed.
tests/core/test_botsort_cmc.py:546
Methodtest_xcycsr_to_xyxy
xcycsr_to_xyxy converts a 1-D (cx, cy, scale, aspect) box back to xyxy.
tests/utils/test_converters.py:189
Methodtest_xcycsr_to_xyxy_2d_input
A 1-row 2-D xcycsr input keeps its 2-D shape after conversion.
tests/utils/test_converters.py:214
Methodtest_xcycsr_to_xyxy_empty
An empty (0, 4) xcycsr batch returns an empty (0, 4) xyxy batch.
tests/utils/test_converters.py:221
Methodtest_xcycsr_to_xyxy_negative_scale
A negative-scale xcycsr decodes with NaN entries (sqrt of negative).
tests/utils/test_converters.py:208
Methodtest_xcycsr_to_xyxy_zero_aspect
A zero aspect-ratio xcycsr decodes to a non-finite (NaN/Inf) box.
tests/utils/test_converters.py:202
Methodtest_xcycsr_to_xyxy_zero_scale
Zero-scale xcycsr decodes with NaN y-coords; x-center is preserved.
tests/utils/test_converters.py:195
Methodtest_xywh_to_xyxy
xywh_to_xyxy converts a single 1-D (cx, cy, w, h) box to xyxy.
tests/utils/test_converters.py:51
Methodtest_xywh_to_xyxy_batch
xywh_to_xyxy converts a 2-D batch of (cx, cy, w, h) boxes element-wise.
tests/utils/test_converters.py:57
Functiontest_xyxy_apply_cmc_90deg_rotation_state_is_axis_aligned
After 90° rotation, the post-CMC XYXY state must remain a valid box.
tests/core/test_botsort_cmc.py:499
Functiontest_xyxy_batch_matches_single_under_non_translation_R
CMC.apply_batch and per-track apply_cmc must agree for any 2x2 R on XYXY state.
tests/core/test_botsort_cmc.py:485
Methodtest_xyxy_to_xcycsr
xyxy_to_xcycsr converts a 1-D xyxy box to (cx, cy, scale, aspect).
tests/utils/test_converters.py:123
Methodtest_xyxy_to_xcycsr_2d_input
A 1-row 2-D xyxy input keeps its 2-D shape after conversion.
tests/utils/test_converters.py:136
Methodtest_xyxy_to_xcycsr_empty
An empty (0, 4) xyxy batch returns an empty (0, 4) xcycsr batch.
tests/utils/test_converters.py:143
Methodtest_xyxy_to_xcycsr_zero_height
A zero-height box yields a finite xcycsr (no NaN/Inf) with scale=0.
tests/utils/test_converters.py:129
Methodtest_xyxy_to_xywh
xyxy_to_xywh converts a single 1-D xyxy box to (cx, cy, w, h).
tests/utils/test_converters.py:30
Methodtest_xyxy_to_xywh_batch
xyxy_to_xywh converts a 2-D batch of xyxy boxes element-wise.
tests/utils/test_converters.py:36
Functiontest_xyxy_velocity_rotates_without_translation
Velocity entries (state[4:8]) must transform via R only, not R+t.
tests/core/test_botsort_cmc.py:517
Methodtest_zero_area_box_returns_finite
(self, metric: BaseIoU)
tests/utils/test_iou.py:449
Methodtest_zero_buffer_matches_botsort_without_cmc
(self)
tests/core/test_cbiou_tracker.py:142
Methodtest_zero_elapsed_no_crash
(self)
tests/scripts/test_progress.py:230
Methodtest_zero_size_box_yields_zero_size_output
A degenerate (point) box stays a point under any affine transform.
tests/core/test_botsort_cmc.py:282
Methodtick
()
docs/javascripts/cli_builder_framework.js:503
Methodto_dict
Convert to dictionary representation. Returns: Dictionary with all metric values.
src/trackers/eval/results.py:172
Methodto_dict
Convert to dictionary representation. Returns: Dictionary with all metric values.
src/trackers/eval/results.py:342
Functiontrack
Run tracking on the uploaded video and return the output path.
demo/app.py:382
Methodtracked_objects
All confirmed alive tracks with Kalman-predicted bounding boxes. Exposes every confirmed track (tracker_id != -1) that the tracker st
src/trackers/core/base.py:429
Methodtrackers
Deprecated alias for :attr:`tracks`. .. deprecated:: 2.5 Use :attr:`tracks` instead. Will be removed in v3.0.
src/trackers/core/sort/tracker.py:107
Functiontracklet
(bbox: np.ndarray, request: pytest.FixtureRequest)
tests/core/test_botsort_tracklet.py:34
Methodupdate
Update the filter with a new observation. Args: bbox: Bounding box `[x1, y1, x2, y2]` or `None` when no observati
src/trackers/utils/state_representations.py:122
Methodupdate
Update state estimate with measurement. If z is None, the state is not updated (prediction only). Args: z: Measurement v
src/trackers/utils/kalman_filter.py:88
Methodupdate
Update tracklet state with a new bounding-box observation. Args: bbox: Bounding box `[x1, y1, x2, y2]`.
src/trackers/core/sort/tracklet.py:28
Methodupdate
Update tracker state with new detections and return tracked objects. Performs Kalman filter prediction, two-stage association using direction
src/trackers/core/ocsort/tracker.py:167
Methodupdate
Update tracklet state with a new bounding-box observation. Args: bbox: Bounding box `[x1, y1, x2, y2]`.
src/trackers/core/bytetrack/tracklet.py:28
Methodupdate
Update tracklet with a new observation. In the BoT-SORT flow **only matched tracks** call ``update(bbox)`` with an actual bounding bo
src/trackers/core/botsort/tracklet.py:176
Methodupdate
Process a new frame and return the coordinate transformation. The returned transformation converts between: - Absolute coordinates: P
src/trackers/motion/estimator.py:94
Methodupdate
(self, detections: Any, frame: np.ndarray | None = None)
tests/core/test_registration.py:347
Methodupdate
(self, detections: Any, frame: np.ndarray | None = None)
tests/core/test_registration.py:366
Methodupdate
(self, detections: Any, frame: np.ndarray | None = None)
tests/core/test_registration.py:418
Methodwrite
Write a frame to the video file. Initializes writer on first call. Returns: True if write succeeded or path is None, False on fai
src/trackers/io/video.py:96
← previous701–754 of 754, ranked by callers