sportslabkit.types.detections#
Overview#
SoccerTrack detections class for inference results. |
Classes#
- class sportslabkit.types.detections.Detections(preds: list[dict] | list[list] | list[Detection], im: str | Path | Image.Image | np.ndarray, times: tuple[float, float, float] = (0, 0, 0), names: list[str] | None = None)[source]#
SoccerTrack detections class for inference results.
Overview
Methods# show(**kwargs)-
save_image(path, **kwargs)-
save_boxes(path)-
crop(save, save_dir, exist_ok)-
to_df()-
to_list()-
merge(other)-
Members
- show(**kwargs) PIL.Image.Image[source]#