Spaces:
Runtime error
Runtime error
Update detectron2/utils/visualizer.py
Browse files
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,
|
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(
|