Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Commit

Permalink
🚀 Update: Blur
Browse files Browse the repository at this point in the history
  • Loading branch information
Zerohertz committed Apr 11, 2023
1 parent 7e3a3b5 commit a5b2880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a5b2880

Please sign in to comment.