Boxes and masks visualization tools.
pip install Vizer
img = Image.open(path)
# draw masks
img = draw_masks(img, data['masks'], data['labels'])
# draw boxes
img = draw_boxes(img, boxes=data['boxes'], labels=data['labels'], scores=data['scores'])
# show
plt.imshow(img)
plt.show()