Omnibus commited on
Commit
396a20f
1 Parent(s): 080f581

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.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)
 
27
  print(i)
28
  capture.set(cv2.CAP_PROP_POS_FRAMES, i)
29
  ret, frame_f = capture.read(i)
30
+ cv2.imwrite(f"{uid}-vid_tmp.png", frame_f)
31
  out = os.path.abspath(f"{uid}-vid_tmp.png")
32
  print(out)
33
  res = rev_img_searcher.search(out)