MCPcopy Create free account
hub / github.com/UX-Decoder/Semantic-SAM / reset_image

Method reset_image

utils/visualizer.py:294–300  ·  view source on GitHub ↗

Args: img: same as in __init__

(self, img)

Source from the content-addressed store, hash-verified

292 self.reset_image(img)
293
294 def reset_image(self, img):
295 """
296 Args:
297 img: same as in __init__
298 """
299 img = img.astype("uint8")
300 self.ax.imshow(img, extent=(0, self.width, self.height, 0), interpolation="nearest")
301
302 def save(self, filepath):
303 """

Callers 3

_setup_figureMethod · 0.95
draw_panoptic_segMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected