bboxPrecisionRecall
Compute bounding box precision and recall against ground truth
Syntax
Description
[
measures the accuracy of bounding box overlap between precision
,recall
] = bboxPrecisionRecall(bboxes
,groundTruthBboxes
)bboxes
and groundTruthBboxes
. Precision is a
ratio of true positive instances to all positive instances of objects in the
detector, based on the ground truth. Recall is a ratio of
true positive instances to the sum of true positives and false negatives in the
detector, based on the ground truth.
If the bounding box is associated with a class label,
precision
and recall
contain metrics
for each class. If the bounding box is also associated with a confidence score for
ranking, use the evaluateObjectDetection
function.
[
specifies the overlap threshold for assigning a given box to a ground truth
box.precision
,recall
] = bboxPrecisionRecall(bboxes
,groundTruthBboxes
,threshold
)
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2018a