sportslabkit.notebook_utils#

Overview#

Function#

display_tracking_animation(detections, ground_truth_positions, predictions, width, height)

-

simulate_moving_object(num_frames, x, y, vx, vy, box_size, class_id)

-

simulate_moving_objects(num_objects, num_frames, width, height, box_size, frame_drop_rate)

-

generate_frames(ground_truth_positions, width, height, box_size)

-

display_generated_frames(frames)

-

Functions#

sportslabkit.notebook_utils.display_tracking_animation(detections, ground_truth_positions, predictions=None, width=360, height=240)[source]#
sportslabkit.notebook_utils.simulate_moving_object(num_frames: int, x: int = 0, y: int = 125, vx: int = 15, vy: int = 0, box_size: int = 25, class_id: int = 1)[source]#
sportslabkit.notebook_utils.simulate_moving_objects(num_objects: int, num_frames: int, width: int = 360, height: int = 240, box_size: int = 25, frame_drop_rate: float = 0.1)[source]#
sportslabkit.notebook_utils.generate_frames(ground_truth_positions, width=360, height=240, box_size=25)[source]#
sportslabkit.notebook_utils.display_generated_frames(frames)[source]#