Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -116,7 +116,7 @@ def rem_bg(vid,frame_count):
|
|
116 |
ret, frame_f = capture.read(i)
|
117 |
frame_ff = cv2.cvtColor(frame_f, cv2.COLOR_BGR2RGB)
|
118 |
out = rm(frame_ff)
|
119 |
-
|
120 |
cv2.imwrite(f'{uid}-rembg/{i}.png',out)
|
121 |
fbox2.append(f'{uid}-rembg/{i}.png')
|
122 |
|
|
|
116 |
ret, frame_f = capture.read(i)
|
117 |
frame_ff = cv2.cvtColor(frame_f, cv2.COLOR_BGR2RGB)
|
118 |
out = rm(frame_ff)
|
119 |
+
print (i)
|
120 |
cv2.imwrite(f'{uid}-rembg/{i}.png',out)
|
121 |
fbox2.append(f'{uid}-rembg/{i}.png')
|
122 |
|