ObjectDetectionMetrics
Metrics for object detection model.
Declaration
struct ObjectDetectionMetrics<Label> where Label : Comparable, Label : Decodable, Label : Encodable, Label : HashableTopics
Creating a metrics object
Getting the properties Properties
Calculating the precision
averageOfAveragePrecisionAtVariedThresholds(predictions:annotations:confidenceThresholds:)averageOfMeanAveragePrecisionAtVariedThresholds(predictions:annotations:confidenceThresholds:)averagePrecision(predictions:annotations:confidenceThresholds:overlapThreshold:)meanAveragePrecision(predictions:annotations:confidenceThresholds:overlapThreshold:)