MCPcopy Create free account
hub / github.com/VincentHancoder/SSGD / mask2bbox

Function mask2bbox

mmdet/core/mask/utils.py:68–89  ·  view source on GitHub ↗

Obtain tight bounding boxes of binary masks. Args: masks (Tensor): Binary mask of shape (n, h, w). Returns: Tensor: Bboxe with shape (n, 4) of \ positive region in binary mask.

(masks)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

instance_postprocessMethod · 0.90
test_mask2bboxFunction · 0.90

Calls

no outgoing calls

Tested by 1

test_mask2bboxFunction · 0.72