View source: R/ops-box_convert.R
box_cxcywh_to_xyxy | R Documentation |
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)
boxes |
(Tensor[N, 4]): boxes in |
boxes (Tensor(N, 4)): boxes in (x_{min}, y_{min}, x_{max}, y_{max})
format.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.