提交 d0f6eebe 编写于 作者: JNingWei's avatar JNingWei 提交者: Waleed

Fix bug: cannot display instances

上级 c29266a9
......@@ -143,7 +143,8 @@ def display_instances(image, boxes, masks, class_ids, class_names,
p = Polygon(verts, facecolor="none", edgecolor=color)
ax.add_patch(p)
ax.imshow(masked_image.astype(np.uint8))
plt.show()
def draw_rois(image, rois, refined_rois, mask, class_ids, class_names, limit=10):
"""
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册