Field tool · arithmetic only
Detector load estimate
Frigate's object detector has to keep pace with the frames your cameras send it. Enter your own numbers to estimate how many detection runs per second you are asking for, how many your detectors can manage at the inference time Frigate reports, and how much room is left. The result is an estimate, not a measurement.
Scope. This estimate is for same-speed detector instances that each process one inference at a time. Detectors that run several inferences at once, or in a pipeline, cannot be worked out from inference time alone: for those, use a throughput figure you have measured yourself. Frigate's Object Detectors and Recommended hardware pages cover how detectors are shared and why latency does not give throughput for every device.
Estimate
This estimate needs JavaScript to run. The formula below lets you work it out by hand.
Formula
runs needed per second = cameras × detect fps × runs per frameone detector per second = 1000 ÷ inference ms(serial inference only)capacity per second = detectors × (1000 ÷ inference ms)load % = runs needed ÷ capacity × 100headroom = capacity − runs neededestimated sustainable detect fps per camera = capacity ÷ (cameras × runs per frame)
The time conversion is 1 second = 1,000 milliseconds (the SI prefix milli means one thousandth).
Assumptions
- Inference time is the average time one detection run takes on one detector, as your own Frigate reports it (System metrics, General, Detectors, Detector Inference Speed, in milliseconds). It changes with the model, the input size and the hardware, so read it from your system rather than from a spec sheet.
- Each detector instance is assumed to process one inference at a time, so at best it manages 1000 ÷ inference ms runs each second. Real throughput can be lower. Parallel or pipelined inference needs a measured throughput instead of this conversion.
- Several detector instances with the same inference time are assumed to share the work evenly, so their capacities add up.
- Average runs per frame is the total number of detection runs over all eligible frames in the same interval, including frames with zero runs. 1 means one run for every frame. Frigate uses motion detection to decide where to look, so a quiet scene can need fewer runs and a busy frame with several moving areas can need more. Change the number to test both cases.
- Average detect fps is the total configured detect fps across your cameras divided by the number of cameras. All cameras are treated as running at that average.
- The five input ranges are limits of this calculator, not Frigate limits, and the two starting values of 1 are editable scenario defaults, not recommendations.
- Nothing else on the same chip or GPU is counted, such as video decoding or other models.
- The result compares average demand with modeled capacity. It does not predict exactly when frames would be dropped. Results are rounded to four significant figures.
Sources
- Object Detectors, Frigate documentation
- Recommended hardware, Frigate documentation
- Full Reference Config, Frigate documentation
- web/public/locales/en/views/system.json, Frigate project, web interface source on GitHub
- web/src/views/system/GeneralMetrics.tsx, Frigate project, web interface source on GitHub
- Metric (SI) Prefixes, National Institute of Standards and Technology (NIST)