MCPcopy Create free account
hub / github.com/PaddlePaddle/PaddleYOLO / visualize_box_mask

Function visualize_box_mask

deploy/python/visualize.py:25–55  ·  view source on GitHub ↗

Args: im (str/np.ndarray): path of image/np.ndarray read by cv2 results (dict): include 'boxes': np.ndarray: shape:[N,6], N: number of box, matix element:[class, score, x_min, y_min, x_max, y_max] MaskRCNN's results include 'masks'

(im, results, labels, threshold=0.5)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

predict_videoMethod · 0.90
visualizeFunction · 0.90

Calls 3

draw_maskFunction · 0.70
draw_boxFunction · 0.70
draw_segmFunction · 0.70

Tested by

no test coverage detected