MCPcopy Create free account
hub / github.com/OpenDriveLab/OpenLane / toBbox

Function toBbox

eval/CIPO_evaluation/pycocotools/mask.py:113–117  ·  view source on GitHub ↗
(rleObjs)

Source from the content-addressed store, hash-verified

111 return _mask.area([rleObjs])[0]
112
113def toBbox(rleObjs):
114 if type(rleObjs) == list:
115 return _mask.toBbox(rleObjs)
116 else:
117 return _mask.toBbox([rleObjs])[0]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected