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

Method load_mask

src/python/coco.py:141–183  ·  view source on GitHub ↗

Load instance masks for the given image. Different datasets use different ways to store masks. This function converts the different mask format to one format in the form of a bitmap [height, width, instances]. Returns: masks: A bool array of shape [height, w

(self, image_id)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

annToMaskMethod · 0.95
map_source_class_idMethod · 0.80

Tested by

no test coverage detected