evaluation(on:)
Generates metrics by evaluating the object detector’s performance using annotated images in a data source.
Declaration
func evaluation(on annotatedImages: MLObjectDetector.DataSource) -> MLObjectDetectorMetricsParameters
- annotatedImages:
An Datasource instance that contains a set of images with object annotations.
Return Value
An MLObjectDetectorMetrics instance that represents the object detector’s performance on the annotated images.