Omnibus commited on
Commit
5cb509c
·
1 Parent(s): ec4f60b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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)-1):
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)