diff --git a/demo.ipynb b/demo.ipynb index 2411cb93953c120e893bbad81a2d16f8a6a623e6..6390f4e08da464e761266dc7ad8282a5ea3b595a 100644 Binary files a/demo.ipynb and b/demo.ipynb differ diff --git a/utils/vis_tool.py b/utils/vis_tool.py index 480c1c9dfd997e214b1e0f7bc1ffde95b4f728ea..6878474558ff8c3683d27f068f60a80209363d68 100644 --- a/utils/vis_tool.py +++ b/utils/vis_tool.py @@ -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