A collection of key-value information produced by a Core ML image analysis request.


This type of observation results from performing a VNCoreMLRequest image analysis with a Core ML model whose role is prediction (rather than classification or image-to-image processing). Vision infers that an MLModel object is a predictor model if that model predicts multiple features—that is, the model's modelDescription object has a nil value for its predictedFeatureName property (and instead describes its outputs in an outputDescriptionsByName dictionary).



Inherits From

Conforms To

See Also

Machine Learning Image Analysis

Classifying Images with Vision and Core ML

Preprocess photos using the Vision framework and classify them with a Core ML model.

class VNCoreMLRequest

An image analysis request that uses a Core ML model to process images.

class VNClassificationObservation

Scene classification information produced by an image analysis request.

class VNPixelBufferObservation

An output image produced by a Core ML image analysis request.