box_area {torchvision} | R Documentation |
Box Area
Description
Computes the area of a set of bounding boxes, which are specified by its
(x_{min}, y_{min}, x_{max}, y_{max})
coordinates.
Usage
box_area(boxes)
Arguments
boxes |
(Tensor[N, 4]): boxes for which the area will be computed. They
are expected to be in
|
Value
area (Tensor[N]): area for each box
[Package torchvision version 0.7.0 Index]