Omnibus commited on
Commit
babfa19
·
1 Parent(s): 9e7978c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -115,7 +115,7 @@ def rem_bg(vid,frame_count):
115
  capture.set(cv2.CAP_PROP_POS_FRAMES, i)
116
  ret, frame_f = capture.read(i)
117
  frame_ff = cv2.cvtColor(frame_f, cv2.COLOR_BGR2RGB)
118
- out = rem_bg(frame_ff)
119
 
120
  cv2.imwrite(f'{uid}-rembg/{i}.png',out)
121
  fbox2.append(f'{uid}-rembg/{i}.png')
 
115
  capture.set(cv2.CAP_PROP_POS_FRAMES, i)
116
  ret, frame_f = capture.read(i)
117
  frame_ff = cv2.cvtColor(frame_f, cv2.COLOR_BGR2RGB)
118
+ out = rembg(frame_ff)
119
 
120
  cv2.imwrite(f'{uid}-rembg/{i}.png',out)
121
  fbox2.append(f'{uid}-rembg/{i}.png')