JrEasy commited on
Commit
410094c
·
verified ·
1 Parent(s): 4b2bc7c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -99,7 +99,7 @@ def process_video(input_video):
99
 
100
  # Resize the frame to 640x640 before passing to the model
101
  resized_frame = cv2.resize(frame, (640, 640))
102
-
103
  gray_frame = cv2.cvtColor(resized_frame, cv2.COLOR_BGR2GRAY)
104
  input_frame = cv2.merge([gray_frame, gray_frame, gray_frame])
105
 
 
99
 
100
  # Resize the frame to 640x640 before passing to the model
101
  resized_frame = cv2.resize(frame, (640, 640))
102
+ print(resized_frame.shape)
103
  gray_frame = cv2.cvtColor(resized_frame, cv2.COLOR_BGR2GRAY)
104
  input_frame = cv2.merge([gray_frame, gray_frame, gray_frame])
105