From 9aaf7db072d6b61b4012f133082d332a117b54af Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sat, 14 Aug 2021 12:50:27 +0200 Subject: [PATCH] Update plots.py (#4407) --- utils/plots.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/plots.py b/utils/plots.py index ef850ee2f26d..7db527e14924 100644 --- a/utils/plots.py +++ b/utils/plots.py @@ -79,7 +79,7 @@ def plot_one_box(x, im, color=(128, 128, 128), label=None, line_thickness=3): cv2.putText(im, label, (c1[0], c1[1] - 2), 0, tl / 3, [225, 255, 255], thickness=tf, lineType=cv2.LINE_AA) -def plot_one_box_PIL(box, im, color=(128, 128, 128), label=None, line_thickness=None): +def plot_one_box_PIL(box, im, color=(128, 128, 128), label=None, line_thickness=3): # Plots one bounding box on image 'im' using PIL im = Image.fromarray(im) draw = ImageDraw.Draw(im)