rosebe commited on
Commit
5b85a92
·
1 Parent(s): e040c78

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -131,7 +131,9 @@ def detect_image(image):
131
 
132
  return results.render()[0]
133
 
134
- def detect_video(video):
 
 
135
 
136
  frame_count = 0
137
  while True:
 
131
 
132
  return results.render()[0]
133
 
134
+ def detect_video(video_path):
135
+
136
+ video = cv2.VideoCapture(video_path)
137
 
138
  frame_count = 0
139
  while True: