MCPcopy Create free account
hub / github.com/BertaBescos/DynaSLAM / extract_bboxes

Function extract_bboxes

src/python/utils.py:25–48  ·  view source on GitHub ↗

Compute bounding boxes from masks. mask: [height, width, num_instances]. Mask pixels are either 1 or 0. Returns: bbox array [num_instances, (y1, x1, y2, x2)].

(mask)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected