Converts boxes from given in_fmt to out_fmt.
box_convert(boxes, in_fmt, out_fmt)
boxes (Tensor[N, 4]): Boxes into converted format.
Supported in_fmt and out_fmt are:
'xyxy': boxes are represented via corners,
\(x_{min}, y_{min}\) being top left and
\(x_{max}, y_{max}\) being bottom right.
'xywh' : boxes are represented via corner, width and height,
\(x_{min}, y_{min}\) being top left,
w, h being width and height.
'cxcywh' : boxes are represented via centre, width and height,
\(c_x, c_y\) being center of box,
w, h being width and height.