You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Skip detect pipeline when detect.enabled is false #144
This consumes ~17% CPU on an M2 Mac Mini for a pipeline whose output is never used — no inference runs, no trackers initialize, no snapshots or review items are generated from it.
After reducing the detect resolution to 1280×360 (the only workaround), CPU dropped to ~3% — an 82% reduction.
Proposed solution
In frigate/config/camera/camera.py (or wherever create_ffmpeg_cmds is called), skip generating the detect pipeline output when detect.enabled is false for that camera.
The detect role should still be required (for Fregata validation), but the actual ffmpeg output for the detect role should only be created when detection is enabled.
Impact:
Users who disable detection on specific cameras (e.g., for recording-only cameras, 180°/fisheye cameras, or cameras where detection quality is poor) would save significant CPU
No breaking change — detection-enabled cameras are unaffected
The detect role requirement for validation can remain
Alternatives considered
No response
Pre-flight checks
I searched existing issues and discussions and found no similar request.
This is specific to Fregata's macOS experience, not a general Frigate feature request (which belongs upstream).
Activity