Converts bounding boxes from (x, y, w, h) format to \((x_{min}, y_{min}, x_{max}, y_{max})\) format. (x, y) refers to top left of bouding box. (w, h) refers to width and height of box.

box_xywh_to_xyxy(boxes)

Arguments

boxes

(Tensor[N, 4]): boxes in (x, y, w, h) which will be converted.

Value

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