Classification information produced by an image analysis request.
SDKs
- iOS 11.0+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 11.0+
Framework
- Vision
Declaration
class VNClassificationObservation : VNObservation
Overview
This type of observation results from performing a VNCore
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 model
object has a non-nil
value for its predicted
property.