View source: R/ops-box_convert.R
box_xywh_to_xyxy | R Documentation |
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)
boxes |
(Tensor[N, 4]): boxes in (x, y, w, h) which will be converted. |
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.