objectDetectionMetrics
Description
Use the objectDetectionMetrics object and its object functions to
evaluate the quality of object detection results.
An objectDetectionMetrics object stores object detection quality metrics,
such as the average precision (AP) and precision recall, computed per class. To compute the AP
and precision recall metrics, pass the objectDetectionMetrics object to the
averagePrecision
or the precisionRecall
object functions, respectively. To compute the confusion matrix, pass the
objectDetectionMetrics object to the confusionMatrix
object function. Evaluate the summary of all metrics across all classes and all images in the
data set using the summarize object
function.
To get started with evaluating object detector performance using the performance metrics, see Evaluate Object Detector Performance.
Creation
Create an objectDetectionMetrics object by using the evaluateObjectDetection function.
Properties
Object Functions
imageMetrics | Evaluate per-image object detection performance metrics |
averagePrecision | Evaluate average precision metric of object detection results |
confusionMatrix | Compute confusion matrix of object detection results |
precisionRecall | Get precision recall metrics of object detection results |
summarize | Summarize object detection performance metrics at data set and class level |
metricsByArea | Evaluate detection performance across object size ranges |
Examples
Version History
Introduced in R2023bSee Also
Apps
Functions
evaluateObjectDetection|imageMetrics|averagePrecision|confusionMatrix|metricsByArea|precisionRecall
Topics
- Evaluate Object Detector Performance
- Calibrate Object Detection Confidence Scores
- Get Started with Object Detector Analyzer
- Multiclass Object Detection Using YOLO v2 Deep Learning
- Object Detection in Large Satellite Imagery Using Deep Learning
- Get Started with Object Detection Using Deep Learning
- Choose an Object Detector
