Converts bounding boxes from \((c_x, c_y, w, h)\) format to \((x_{min}, y_{min}, x_{max}, y_{max})\) format.
\((c_x, c_y)\) refers to center of bounding box
(w, h) are width and height of bounding box
Usage
box_cxcywh_to_xyxy(boxes)
Value
boxes (Tensor(N, 4)): boxes in \((x_{min}, y_{min}, x_{max}, y_{max})\) format.
Arguments
boxes
(Tensor[N, 4]): boxes in \((c_x, c_y, w, h)\) format which will be converted.