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

Function draw_masks

mmdet/core/visualization/image.py:164–203  ·  view source on GitHub ↗

Draw masks on the image and their edges on the axes. Args: ax (matplotlib.Axes): The input axes. img (ndarray): The image with the shape of (3, h, w). masks (ndarray): The masks with the shape of (n, h, w). color (ndarray): The colors for each masks with the shap

(ax, img, masks, color=None, with_edge=True, alpha=0.8)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

imshow_det_bboxesFunction · 0.85

Calls 2

bitmap_to_polygonFunction · 0.85
_get_bias_colorFunction · 0.85

Tested by

no test coverage detected