DerrylNessie commited on
Commit
51a71a6
1 Parent(s): fa4830b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def draw_boxes(img, bounds, color='yellow', width=2):
25
  for bound in bounds:
26
  pts = np.array([bound[0]], np.int32)
27
  cv.fillPoly(mask, pts, color =(255,255,255))
28
- img = cv.inpaint(img, mask, 1, cv.INPAINT_NS)
29
  return(img)
30
 
31
  def draw_mask(img, bounds):
 
25
  for bound in bounds:
26
  pts = np.array([bound[0]], np.int32)
27
  cv.fillPoly(mask, pts, color =(255,255,255))
28
+ img = cv.inpaint(img, mask, 3, cv.INPAINT_NS)
29
  return(img)
30
 
31
  def draw_mask(img, bounds):