NeuralFalcon commited on
Commit
69fa352
·
verified ·
1 Parent(s): 2ec5152

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -56,8 +56,8 @@ def remove_watermark(image_path,file_type="",saved_path=""):
56
 
57
  # Create the mask for the watermark area
58
  # text_mask_path = 'watermark_mask.png'
59
- # text_mask_path ='./mask/mask_1.png'
60
- text_mask_path ='./mask/mask_2.png'
61
  cleaned_image = remove_watermark_area(watermark_area, text_mask_path)
62
  # cv2.imwrite('cleaned_watermark.jpg', cleaned_image)
63
  # Paste back the cleaned watermark on the original image
 
56
 
57
  # Create the mask for the watermark area
58
  # text_mask_path = 'watermark_mask.png'
59
+ text_mask_path ='./mask/mask_1.png'
60
+ # text_mask_path ='./mask/mask_2.png'
61
  cleaned_image = remove_watermark_area(watermark_area, text_mask_path)
62
  # cv2.imwrite('cleaned_watermark.jpg', cleaned_image)
63
  # Paste back the cleaned watermark on the original image