Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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)
|