jw2yang commited on
Commit
91f2bf0
1 Parent(s): f10035b

Update detectron2/utils/visualizer.py

Browse files
Files changed (1) hide show
  1. detectron2/utils/visualizer.py +1 -1
detectron2/utils/visualizer.py CHANGED
@@ -900,7 +900,7 @@ class Visualizer:
900
  width = x1 - x0
901
  height = y1 - y0
902
 
903
- linewidth = max(self._default_font_size / 4, 1)
904
 
905
  self.output.ax.add_patch(
906
  mpl.patches.Rectangle(
900
  width = x1 - x0
901
  height = y1 - y0
902
 
903
+ linewidth = max(self._default_font_size / 4, 5)
904
 
905
  self.output.ax.add_patch(
906
  mpl.patches.Rectangle(