FacesTool.confidenceThreshold property

Detection score threshold (score = sqrt(cls·obj)). Default 0.5 — with the aspect-preserving letterboxed model input, real faces score ~0.5-0.9 even on broadcast wide shots; lower towards 0.3 to pick up very small crowd faces at the cost of noise.

Signature:

confidenceThreshold?: number;