Spaces:
Runtime error
Runtime error
Update video_detection.py
Browse files- video_detection.py +1 -0
video_detection.py
CHANGED
@@ -45,6 +45,7 @@ def video_detection(cap):
|
|
45 |
iterating, frame = cap.read()
|
46 |
|
47 |
n_frames = 0
|
|
|
48 |
|
49 |
#name = f"output_{uuid.uuid4()}.mp4"
|
50 |
name = f"output_{n_chunks}.mp4" #if stream_as_mp4 else '.ts'}
|
|
|
45 |
iterating, frame = cap.read()
|
46 |
|
47 |
n_frames = 0
|
48 |
+
n_chunks = 0
|
49 |
|
50 |
#name = f"output_{uuid.uuid4()}.mp4"
|
51 |
name = f"output_{n_chunks}.mp4" #if stream_as_mp4 else '.ts'}
|