提交 2a949675 编写于 作者: C chenyun

fix demo.ipynb due to bug import in refactoring

上级 64b394ec
此差异由.gitattributes 抑制。
......@@ -107,7 +107,7 @@ def vis_bbox(img, bbox, label=None, score=None, ax=None):
height = bb[2] - bb[0]
width = bb[3] - bb[1]
ax.add_patch(plot.Rectangle(
xy, width, height, fill=False, edgecolor='red', linewidth=3))
xy, width, height, fill=False, edgecolor='red', linewidth=2))
caption = list()
......@@ -124,7 +124,7 @@ def vis_bbox(img, bbox, label=None, score=None, ax=None):
ax.text(bb[1], bb[0],
': '.join(caption),
style='italic',
bbox={'facecolor': 'white', 'alpha': 0.7, 'pad': 10})
bbox={'facecolor': 'white', 'alpha': 0.5, 'pad': 0})
return ax
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册