Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -61,7 +61,7 @@ def capture_function(vid):
|
|
61 |
fbox=[]
|
62 |
cnt=0
|
63 |
frame_count1= int(frame_count)
|
64 |
-
for i in range(int(frame_count1)
|
65 |
capture.set(cv2.CAP_PROP_POS_FRAMES, i)
|
66 |
ret, frame_f = capture.read(i)
|
67 |
#frame_ff = cv2.cvtColor(frame_f, cv2.COLOR_BGR2RGB)
|
|
|
61 |
fbox=[]
|
62 |
cnt=0
|
63 |
frame_count1= int(frame_count)
|
64 |
+
for i in range(int(frame_count1)):
|
65 |
capture.set(cv2.CAP_PROP_POS_FRAMES, i)
|
66 |
ret, frame_f = capture.read(i)
|
67 |
#frame_ff = cv2.cvtColor(frame_f, cv2.COLOR_BGR2RGB)
|