Contents

VNClassificationObservation

An object that represents classification information that an image-analysis request produces.

Declaration

class VNClassificationObservation

Overview

This type of observation results from performing a VNCoreMLRequest image analysis with a Core ML model whose role is classification (rather than prediction or image-to-image processing). Vision infers that an MLModel object is a classifier model if that model predicts a single feature. That is, the model’s modelDescription object has a non-nil value for its predictedFeatureName property.

Topics

Determining Classification

Measuring Confidence and Precision

See Also

Machine learning image analysis