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

box_cxcywh_to_xyxy(boxes)

Arguments

boxes

(Tensor[N, 4]): boxes in \((c_x, c_y, w, h)\) format which will be converted.

Value

boxes (Tensor(N, 4)): boxes in \((x_{min}, y_{min}, x_{max}, y_{max})\) format.