Given a single image ID or filepath, obtain the image, bbox, and possibly more information, then convert everything to a State object.
State
The index idx is given additionally, though it might not be used.
idx
ImageHistoryDataset.arbitrary_to_ds()
dgs.models.dataset.dataset.ImageHistoryDataset
dgs.models.dataset.dataset.ImageHistoryDataset.configure_torch_module