Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
vladmandic committed Jan 2, 2024
1 parent 49e3fea commit a8c779a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/ui_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ def expand_mask(image: Image.Image, blur: int = 0, erode: int = 3, dilate: int =
np_mask = cv2.GaussianBlur(np_mask, (blur_size, 1), blur) # blur x-axis
np_mask = cv2.GaussianBlur(np_mask, (1, blur_size), blur) # blur y-axis
image_mask = Image.fromarray(np_mask.astype(np.uint8))
image_mask.save('/tmp/expanded.png')
return image_mask


Expand Down

0 comments on commit a8c779a

Please sign in to comment.