A confidence threshold is the cutoff that decides whether a detection counts. Every AI detection comes with a confidence score — the model's estimate, say 0.42 or 0.88, of how sure it is — and the threshold is the line above which the system treats it as a real detection and below which it ignores it. It is the single most important dial an operator has for tuning analytics, because it directly sets the balance between catching events and raising false alarms.

Moving the dial moves precision and recall in opposite directions. Lower the threshold and the system accepts weaker detections: it catches more real events (higher recall) but also more false ones (lower precision). Raise it and it only acts on confident detections: fewer false alarms (higher precision) but more missed events (lower recall). There is no value that maximises both — the threshold is where you choose which error you can better tolerate for this camera and this job.

The pitfall is leaving it at the vendor default for every camera. The right threshold depends on the cost of a miss versus a false alarm: a perimeter where missing an intruder is unacceptable wants a lower threshold and more false alarms to chase; a retail watch-list where a wrong stop is harmful wants a higher one. Set it per camera and per use case against those costs, validate it against real footage, and remember that no threshold makes the underlying accuracy 100% — it only chooses how the inevitable errors are distributed.

Book cover: Video Encoding, Volume 1 of the Fora Soft Video Engineering HandbookBook cover: AI for Video, Volume 6 of the Fora Soft Video Engineering HandbookBook cover: AI for Video, Volume 7 of the Fora Soft Video Engineering Handbook

The handbook · 7 volumes

Fora Soft Video Engineering Handbook

A confidence threshold set too low floods operators with false alarms, and set too high it misses the event that mattered. Our seven-volume handbook covers the whole video stack, and for confidence threshold tuning start with Volume 6: detection, tracking, segmentation and the ML minimum for product decisions. Volume 7 covers real-time pipelines and moderation on the fly. Written by Nikolay Sapunov, CEO at Fora Soft.

Browse the handbook on Amazon →7 volumes · 9,000+ pages · Kindle & paperback

Tuning detection confidence thresholds so operators stop ignoring alerts?

Share sample footage and your current alert volume, and we will tune thresholds per camera and zone with measured false-alarm and miss rates. 250+ video products shipped since 2005.

Book a 30-min call →WhatsApp →Email us →