box_cxcywh_to_xyxy {torchvision} | R Documentation |
box_cxcywh_to_xyxy
Description
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)
Arguments
boxes |
(Tensor[N, 4]): boxes in |
Value
boxes (Tensor(N, 4)): boxes in (x_{min}, y_{min}, x_{max}, y_{max})
format.
[Package torchvision version 0.7.0 Index]