A confidence score is a numerical estimate of whether a predicted bounding box represents a valid object. YOLO makes it high when an object occupies a grid location and near zero when no object is present. section 12.2.2
Each grid detector predicts five box values: center position, width, height, and confidence. Training labels assign confidence 1 to an actual box and 0 elsewhere; YOLO also describes training confidence toward the predicted box’s intersection over union with ground truth. section 12.2.3 section 12.4
Filtering detections
A prediction routine reads the fifth value in each grid cell as confidence, converts the grid-relative box to image coordinates, and can omit predictions below a chosen cutoff.
Figure 12.4 YOLO outputs as visualized in the first YOLO paper
Visualizes YOLO’s grid-based outputs, including a confidence value associated with each predicted box. section 12.2.2












