dgs.utils.state.State.bbox_relative

property State.bbox_relative: torch.Tensor

Get the bounding box coordinates in relation to the width and height of the full image.

The relative bbox is of format XYWH, but can not simply be converted to other formats, therefore it is given as a tensor. All relative coordinates are floating point values and should lie in range [0, 1].