baby.performance.calc_PR¶
- baby.performance.calc_PR(IoUs, iou_thresh=0.5)¶
Calculate precision and recall from IoU matrix
Note that this function expects the predictions to be ordered from the one with highest confidence to the one with lowest confidence.