MCPcopy Index your code

hub / github.com/roboflow/trackers / functions

Functions754 in github.com/roboflow/trackers

Method__init__
( self, initial_bbox: np.ndarray, state_estimator_class: type[BaseStateEstimator] = XC
src/trackers/core/botsort/tracklet.py:45
Method__init__
( self, lost_track_buffer: int = 30, frame_rate: float = 30.0, track_activatio
src/trackers/core/botsort/tracker.py:110
Method__init__
( self, tracker_id: str, gt_dir: str | Path, detections_dir: str | Path,
src/trackers/tune/tuner.py:114
Method__init__
(self, path: Path | None)
src/trackers/io/mot.py:443
Method__init__
(self, path: Path | None, *, fps: float = _DEFAULT_OUTPUT_FPS)
src/trackers/io/video.py:91
Method__init__
(self, window_name: str = "Tracking")
src/trackers/io/video.py:138
Method__init__
( self, max_points: int = 200, min_distance: int = 15, block_size: int = 3,
src/trackers/motion/estimator.py:66
Method__init__
(self, homography_matrix: np.ndarray)
src/trackers/motion/transformation.py:102
Method__init__
( self, source_info: _SourceInfo, console: Console | None = None, )
src/trackers/scripts/progress.py:112
Method__init__
(self)
tests/core/test_trackers.py:75
Method__init__
Args: param1: Integer parameter. param2: Float parameter. param3: String
tests/core/test_registration.py:175
Method__init__
(self)
tests/core/test_registration.py:329
Method__init__
(self)
tests/core/test_registration.py:344
Method__init__
(self, x: int = 1)
tests/core/test_registration.py:363
Method__init__
(self, x: int = 0)
tests/core/test_registration.py:415
Method__init_subclass__
Register subclass in the tracker registry if it defines tracker_id. Extracts parameter metadata from __init__ at class definition time.
src/trackers/core/base.py:323
Function_call_botsort
Call BoTSORTTracker._get_associated_indices with default similarity threshold.
tests/core/test_associated_indices.py:54
Function_call_bytetrack
Call ByteTrackTracker._get_associated_indices with the given matrix.
tests/core/test_associated_indices.py:37
Function_call_ocsort
Call OCSORTTracker._get_associated_indices with zeros for direction matrix.
tests/core/test_associated_indices.py:45
Function_call_sort
Call SORTTracker._get_associated_indices with n_tracks dummy tracks.
tests/core/test_associated_indices.py:27
Method_compute
(self, boxes_1: np.ndarray, boxes_2: np.ndarray)
src/trackers/utils/iou.py:118
Method_compute
(self, boxes_1: np.ndarray, boxes_2: np.ndarray)
src/trackers/utils/iou.py:169
Method_compute
(self, boxes_1: np.ndarray, boxes_2: np.ndarray)
src/trackers/utils/iou.py:267
Method_compute
(self, boxes_1: np.ndarray, boxes_2: np.ndarray)
src/trackers/utils/iou.py:316
Method_compute
(self, boxes_1: np.ndarray, boxes_2: np.ndarray)
src/trackers/utils/iou.py:368
Method_compute
(self, boxes_1: np.ndarray, boxes_2: np.ndarray)
tests/core/test_trackers.py:78
Method_counting_reset
(self_tracker: SORTTracker)
tests/tune/test_tuner.py:411
Function_create
(n_frames: int)
tests/io/test_video.py:54
Function_create
(n_frames: int)
tests/scripts/test_progress.py:36
Method_create_filter
(self, bbox: np.ndarray)
src/trackers/utils/state_representations.py:190
Method_create_filter
(self, bbox: np.ndarray)
src/trackers/utils/state_representations.py:241
Method_create_filter
(self, bbox: np.ndarray)
src/trackers/utils/state_representations.py:277
Method_is_bounded
Whether the source has a known total frame count.
src/trackers/scripts/progress.py:169
Method_objective
Sample hyperparameters, run tracker over all sequences, return metric. Args: trial: Optuna trial used to sample parameter values.
src/trackers/tune/tuner.py:229
Function_reference_biou
Independent BIoU reference: buffer boxes, then apply vanilla IoU.
tests/utils/test_iou.py:39
Function_torchvision_ciou
Reference CIoU from torchvision.
tests/utils/test_iou.py:32
Function_torchvision_diou
Reference DIoU from torchvision.
tests/utils/test_iou.py:25
Function_torchvision_giou
Reference GIoU from torchvision.
tests/utils/test_iou.py:18
Methodabs_to_rel
Transform points from absolute (world) to relative (frame) coordinates. Args: points: Array of shape `(N, 2)` containing `(x, y)`
src/trackers/motion/transformation.py:22
Methodabs_to_rel
Transform from absolute (world) to relative (frame) coordinates.
src/trackers/motion/transformation.py:138
Methodapply_cmc_batch
Apply CMC to all active tracks. .. deprecated:: 2.5 Use CMC.apply_batch(H, self.tracks) directly. Args: H: 2
src/trackers/core/botsort/tracker.py:411
Methodapply_to_xyxy
Deprecated alias for :meth:`CMC.warp_xyxy_corners`. .. deprecated:: 2.5 Renamed to :meth:`CMC.warp_xyxy_corners`. This wrapper fo
src/trackers/utils/cmc.py:708
Functionbbox
A 40x60 bounding box in xyxy format.
tests/core/test_botsort_tracklet.py:28
Functionbbox
()
tests/core/test_tracklets.py:47
Methodbbox_to_measurement
(self, bbox: np.ndarray)
src/trackers/utils/state_representations.py:215
Methodbbox_to_measurement
(self, bbox: np.ndarray)
src/trackers/utils/state_representations.py:258
Methodbbox_to_measurement
(self, bbox: np.ndarray)
src/trackers/utils/state_representations.py:303
Methodclamp_velocity
(self)
src/trackers/utils/state_representations.py:221
Methodclamp_velocity
(self)
src/trackers/utils/state_representations.py:264
Methodclamp_velocity
(self)
src/trackers/utils/state_representations.py:309
Functionclasses
(value)
docs/javascripts/command_builder.js:186
Methodclear_tracker
Clear the trajectory for a specific tracker ID. Args: tracker_id: The tracker ID to clear.
src/trackers/annotators/trace.py:213
Methodconstructor
(options)
docs/javascripts/cli_builder_framework.js:13
MethodcreateCheckbox
(label, key, checked)
docs/javascripts/cli_builder_framework.js:524
MethodcreateHeader
(title)
docs/javascripts/cli_builder_framework.js:547
MethodcreateNumericInputRow
(label, key, value, config, rowClass = "")
docs/javascripts/cli_builder_framework.js:596
MethodcreateSelectorRow
(label, options, group, selectedValue, rowClass = "")
docs/javascripts/cli_builder_framework.js:664
MethodcreateTextInputRow
(label, placeholder, key, value, rowClass = "")
docs/javascripts/cli_builder_framework.js:554
Functioncreate_state_estimator
Create a state estimator for the given state representation. Args: state_repr: The desired representation. Ex: StateRepresentation.XCYCSR
src/trackers/utils/state_representations.py:325
Functiondancetrack_flat_data
Fixture providing DanceTrack flat format test data.
tests/conftest.py:134
Functiondancetrack_mot17_data
Fixture providing DanceTrack MOT17 format test data.
tests/conftest.py:140
Methoddestroy
()
docs/javascripts/cli_builder_framework.js:60
Functiondirectory_with_corrupted_image
Directory with valid images followed by one corrupted image file.
tests/io/test_video.py:104
Functiondirectory_with_non_image_files
Directory containing only non-image files.
tests/io/test_video.py:94
Functionempty_directory
Empty directory with no files.
tests/io/test_video.py:86
Methodfrom_dict
Create `CLEARMetrics` from a dictionary. Args: data: Dictionary with metric values. Returns: `CLEARMetrics`
src/trackers/eval/results.py:141
Methodfrom_dict
Create `IdentityMetrics` from a dictionary. Args: data: Dictionary with metric values. Returns: `IdentityMet
src/trackers/eval/results.py:324
Methodfrom_dict
Create `SequenceResult` from a dictionary. Args: data: Dictionary with sequence name and metrics. Returns: `
src/trackers/eval/results.py:369
Methodfrom_dict
Create `BenchmarkResult` from a dictionary. Args: data: Dictionary with sequences and aggregate results. Returns:
src/trackers/eval/results.py:458
FunctiongenerateCommand
(state)
docs/javascripts/command_builder.js:74
FunctiongetValidationErrors
(state)
docs/javascripts/command_builder.js:143
Methodget_state
Snapshot the filter state for later restoration (e.g. ORU freeze). Returns: Opaque state dictionary.
src/trackers/utils/state_representations.py:134
Methodget_state_bbox
Get current bounding box estimate from the filter/state.
src/trackers/utils/base_tracklet.py:55
MethodhandleChange
(event)
docs/javascripts/cli_builder_framework.js:270
MethodhandleClick
(event)
docs/javascripts/cli_builder_framework.js:226
FunctionhandleCopyButtonClick
(event)
docs/javascripts/pycon_copy.js:8
FunctionhandleCopyButtonPointerDown
(event)
docs/javascripts/pycon_copy.js:22
MethodhandleInput
(event)
docs/javascripts/cli_builder_framework.js:283
MethodhandlePointerDown
(event)
docs/javascripts/cli_builder_framework.js:217
FunctionhandleSelectionCopy
(event)
docs/javascripts/pycon_copy.js:36
MethodhandleVisibilityChange
()
docs/javascripts/cli_builder_framework.js:211
Methodminimal_args
Parsed args with only required flags.
tests/scripts/test_tune.py:30
Methodnormalize_for_fusion
Normalize similarity values for score fusion in BoT-SORT association. By default returns the matrix unchanged. Signed variants (GIoU, DIoU,
src/trackers/utils/iou.py:84
Methodnormalize_for_fusion
(self, similarity_matrix: np.ndarray)
src/trackers/utils/iou.py:331
Methodnormalize_for_fusion
(self, similarity_matrix: np.ndarray)
src/trackers/utils/iou.py:400
FunctiononInputChange
({ key, value, isCommit, builder: instance })
docs/javascripts/command_builder.js:190
Functionon_page_content
Process page HTML content to remove doctest directives. This hook runs after markdown is converted to HTML, so we need to handle HTML-en
docs/hooks/doctest_filter.py:17
Functionon_page_context
Build TechArticle + speakable JSON-LD for the page and store in page.meta.
docs/hooks/schema_inject.py:198
Methodpredict
Run the Kalman filter prediction step.
src/trackers/utils/state_representations.py:117
Methodpredict
Predict next bounding box position and advance missed-frame state. Propagates the Kalman filter and increments `time_since_update` (and
src/trackers/utils/base_tracklet.py:41
Methodpredict
Predict next state (prior) using state transition model. Computes: x = F @ x P = F @ P @ F.T + Q
src/trackers/utils/kalman_filter.py:74
Methodquit_requested
Return True if user pressed quit key.
src/trackers/io/video.py:156
Methodrel_to_abs
Transform points from relative (frame) to absolute (world) coordinates. Args: points: Array of shape `(N, 2)` containing `(x, y)`
src/trackers/motion/transformation.py:36
Methodrel_to_abs
Transform from relative (frame) to absolute (world) coordinates.
src/trackers/motion/transformation.py:142
FunctionrenderBody
(code, api)
docs/javascripts/command_builder.js:200
Methodreset
Clear all stored trajectories. Call this when switching videos or when you want to reset trajectory history.
src/trackers/annotators/trace.py:206
Methodreset
Clear all internal tracking state. Call between videos or when tracking should restart from scratch.
src/trackers/core/base.py:411
Methodreset
Reset tracker state by clearing all tracks and resetting ID counter. Call this method when switching to a new video or scene.
src/trackers/core/ocsort/tracker.py:275
Methodreset
Reset the estimator state. Call this when starting a new video or when you want to reset the world coordinate system to the current f
src/trackers/motion/estimator.py:217
Methodreset
(self)
tests/core/test_registration.py:350
← previousnext →301–400 of 754, ranked by callers