Omnibus commited on
Commit
fd3fd55
·
1 Parent(s): b81a2d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,7 +65,7 @@ def capture_function(vid):
65
  fbox=[]
66
  cnt=0
67
  frame_count1= int(frame_count)
68
- for i in range(int(frame_count1)-1):
69
  capture.set(cv2.CAP_PROP_POS_FRAMES, i)
70
  ret, frame_f = capture.read(i)
71
  #frame_ff = cv2.cvtColor(frame_f, cv2.COLOR_BGR2RGB)
 
65
  fbox=[]
66
  cnt=0
67
  frame_count1= int(frame_count)
68
+ for i in range(int(frame_count1)):
69
  capture.set(cv2.CAP_PROP_POS_FRAMES, i)
70
  ret, frame_f = capture.read(i)
71
  #frame_ff = cv2.cvtColor(frame_f, cv2.COLOR_BGR2RGB)