oguzakif commited on
Commit
5ad413a
1 Parent(s): 9ccc177

change mask adding to list

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -180,7 +180,6 @@ def track_and_mask(vid, original_frame, masked_frame):
180
 
181
  mask = mask.astype(np.uint8) # convert to an unsigned byte
182
  mask = mask * 255
183
- mask_list.append(mask)
184
  cv2.polylines(frame, [np.int0(location).reshape(
185
  (-1, 1, 2))], True, (0, 255, 0), 3)
186
 
 
180
 
181
  mask = mask.astype(np.uint8) # convert to an unsigned byte
182
  mask = mask * 255
 
183
  cv2.polylines(frame, [np.int0(location).reshape(
184
  (-1, 1, 2))], True, (0, 255, 0), 3)
185