Shortcuts

mmcv.ops.min_area_polygons

mmcv.ops.min_area_polygons(pointsets: torch.Tensor)torch.Tensor[source]

Find the smallest polygons that surrounds all points in the point sets.

Parameters

pointsets (Tensor) – point sets with shape (N, 18).

Returns

Return the smallest polygons with shape (N, 8).

Return type

torch.Tensor