From a5b2880642f0763044112bddc6b47b1d2e0ed26a Mon Sep 17 00:00:00 2001 From: Zerohertz Date: Tue, 11 Apr 2023 20:36:23 +0900 Subject: [PATCH] :rocket: Update: Blur --- utils/plots.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/plots.py b/utils/plots.py index c425b44..1deb59a 100644 --- a/utils/plots.py +++ b/utils/plots.py @@ -84,7 +84,7 @@ def __init__(self, im, line_width=None, font_size=None, font='Arial.ttf', pil=Fa else: # use cv2 self.im = im self.lw = line_width or max(round(sum(im.shape) / 2 * 0.003), 2) # line width - self.gaussian_blur = transforms.GaussianBlur(kernel_size=(21, 21), sigma=(5, 5)) + self.gaussian_blur = transforms.GaussianBlur(kernel_size=(21, 21), sigma=(25, 25)) def box_label(self, box, label='', color=(128, 128, 128), txt_color=(255, 255, 255)): # Add one xyxy box to image with label