Omnibus commited on
Commit
38e0d39
1 Parent(s): cd796aa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def process_vid(file):
23
  frame_count = int(capture.get(cv2.CAP_PROP_FRAME_COUNT))
24
  rev_img_searcher = ReverseImageSearcher()
25
  try:
26
- for i in frame_count-1:
27
  print(i)
28
  capture.set(cv2.CAP_PROP_POS_FRAMES, i)
29
  ret, frame_f = capture.read(i)
 
23
  frame_count = int(capture.get(cv2.CAP_PROP_FRAME_COUNT))
24
  rev_img_searcher = ReverseImageSearcher()
25
  try:
26
+ for i in range(frame_count-1):
27
  print(i)
28
  capture.set(cv2.CAP_PROP_POS_FRAMES, i)
29
  ret, frame_f = capture.read(i)