SuriRaja commited on
Commit
91afe9a
·
verified ·
1 Parent(s): d1f3a22

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -356,7 +356,7 @@ class HRCollectorVideoProcessor:
356
 
357
  def stop_and_dump_to_file(self) -> Optional[str]:
358
  self.recording = False
359
- if len(self.frames) < 30: # ~1s
360
  return None
361
  h, w = self.frames[0].shape[:2]
362
  fourcc = cv2.VideoWriter_fourcc(*"mp4v")
 
356
 
357
  def stop_and_dump_to_file(self) -> Optional[str]:
358
  self.recording = False
359
+ if len(self.frames) < 30: # ~1s
360
  return None
361
  h, w = self.frames[0].shape[:2]
362
  fourcc = cv2.VideoWriter_fourcc(*"mp4v")