reab5555 commited on
Commit
1b0b39f
·
verified ·
1 Parent(s): e261b22

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ def process_video(video_path, target, progress=gr.Progress()):
44
  break
45
 
46
  # Resize the frame to 640x480
47
- img_resized = cv2.resize(img, (640, 360))
48
  pil_img = Image.fromarray(cv2.cvtColor(img_resized, cv2.COLOR_BGR2RGB))
49
 
50
  # Process single image
 
44
  break
45
 
46
  # Resize the frame to 640x480
47
+ #img_resized = cv2.resize(img, (640, 360))
48
  pil_img = Image.fromarray(cv2.cvtColor(img_resized, cv2.COLOR_BGR2RGB))
49
 
50
  # Process single image