Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ def process_vid(file):
|
|
27 |
print(i)
|
28 |
capture.set(cv2.CAP_PROP_POS_FRAMES, i)
|
29 |
ret, frame_f = capture.read(i)
|
30 |
-
frame_f.
|
31 |
out = os.path.abspath(f"{uid}-vid_tmp.png")
|
32 |
print(out)
|
33 |
res = rev_img_searcher.search(out)
|
|
|
27 |
print(i)
|
28 |
capture.set(cv2.CAP_PROP_POS_FRAMES, i)
|
29 |
ret, frame_f = capture.read(i)
|
30 |
+
frame_f.imwrite(f"{uid}-vid_tmp.png")
|
31 |
out = os.path.abspath(f"{uid}-vid_tmp.png")
|
32 |
print(out)
|
33 |
res = rev_img_searcher.search(out)
|