Correct the number of frames saved

This commit is contained in:
Nicolas Mowen 2024-07-08 17:18:06 -06:00
parent d1540c70b1
commit c4fbe6df65

View File

@ -109,7 +109,7 @@ def capture_frames(
skipped_eps = EventsPerSecond() skipped_eps = EventsPerSecond()
skipped_eps.start() skipped_eps.start()
shm_count = 5 shm_count = max(10, config.detect.fps * 2)
shm_frames: list[str] = [] shm_frames: list[str] = []
while True: while True: