View source: R/ops-box_convert.R
box_xyxy_to_xywh | R Documentation |
Converts bounding boxes from (x_{min}, y_{min}, x_{max}, y_{max})
format to (x, y, w, h) format.
(x1, y1) refer to top left of bounding box
(x2, y2) refer to bottom right of bounding box
box_xyxy_to_xywh(boxes)
boxes |
(Tensor[N, 4]): boxes in |
boxes (Tensor[N, 4]): boxes in (x, y, w, h) format.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.