aidas-79 commited on
Commit
e778157
·
verified ·
1 Parent(s): 24c0734

Update video_detection.py

Browse files
Files changed (1) hide show
  1. 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'}