NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Handle case where camera name ends in number (#15296)
Nicolas Mowenc95bc9fe44ba
diff --git a/frigate/app.py b/frigate/app.pyindex ba82757f99..34dcf3cd7b 100644--- a/frigate/app.py+++ b/frigate/app.py@@ -437,7 +437,7 @@ class FrigateApp:# pre-create shmsfor i in range(shm_frame_count):frame_size = config.frame_shape_yuv[0] * config.frame_shape_yuv[1]- self.frame_manager.create(f"{config.name}{i}", frame_size)+ self.frame_manager.create(f"{config.name}_{i}", frame_size)capture_process = util.Process(target=capture_camera,diff --git a/frigate/video.py b/frigate/video.pyindex 96b562e8c4..d8ff1a8690 100755--- a/frigate/video.py+++ b/frigate/video.py@@ -113,7 +113,7 @@ def capture_frames(fps.value = frame_rate.eps()skipped_fps.value = skipped_eps.eps()current_frame.value = datetime.datetime.now().timestamp()- frame_name = f"{config.name}{frame_index}"+ frame_name = f"{config.name}_{frame_index}"frame_buffer = frame_manager.write(frame_name)try:frame_buffer[:] = ffmpeg_process.stdout.read(frame_size)