Spaces:
Runtime error
Runtime error
Update video_detection.py
Browse files- video_detection.py +2 -2
video_detection.py
CHANGED
@@ -47,8 +47,8 @@ def video_detection(cap):
|
|
47 |
frame = draw_boxes(frame, results)
|
48 |
|
49 |
out.write(frame)
|
50 |
-
if not count % 10:
|
51 |
-
|
52 |
# print(count)
|
53 |
count += 1
|
54 |
|
|
|
47 |
frame = draw_boxes(frame, results)
|
48 |
|
49 |
out.write(frame)
|
50 |
+
#if not count % 10:
|
51 |
+
yield frame, None
|
52 |
# print(count)
|
53 |
count += 1
|
54 |
|