Omnibus commited on
Commit
e748eae
β€’
1 Parent(s): 0edde58

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -201,7 +201,7 @@ def blur_im(img,bounds,target_lang,trans_lang,ocr_sens,font_fac,t_color):
201
  im[y:y+h, x:x+w] = cv2.dilate(im[y:y+h, x:x+w], kernel, iterations=3)
202
  pass
203
  elif t_color=="White":
204
- im[y:y+h, x:x+w] = cv2.erode(im[y:y+h, x:x+w], kernel, iterations=3)
205
  pass
206
  else:
207
  pass
 
201
  im[y:y+h, x:x+w] = cv2.dilate(im[y:y+h, x:x+w], kernel, iterations=3)
202
  pass
203
  elif t_color=="White":
204
+ im[y:y+h, x:x+w] = cv2.erode(im[y:y+h, x:x+w], kernel, iterations=1)
205
  pass
206
  else:
207
  pass