dgs.models.dataset.MOT.MOTImageHistory.arbitrary_to_ds

MOTImageHistory.arbitrary_to_ds(a: list[State], idx: int) list[State][source]

Given a single image ID or filepath, obtain the image, bbox, and possibly more information, then convert everything to a State object.

The index idx is given additionally, though it might not be used.