DerrylNessie commited on
Commit
303d9fc
1 Parent(s): 2ad20b3

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
  pts = pts.reshape((-1,1,2))
28
- cv.fillPoly(image, pts, color =(255,255,255))
29
  return (mask)
30
 
31
  def draw_mask(img, bounds):
 
25
  for bound in bounds:
26
  pts = np.array([bound[0]], np.int32)
27
  pts = pts.reshape((-1,1,2))
28
+ cv.fillPoly(mask, pts, color =(255,255,255))
29
  return (mask)
30
 
31
  def draw_mask(img, bounds):