Class

VNClassifyImageRequest

A request to classify an image.

Declaration

class VNClassifyImageRequest : VNImageBasedRequest

Overview

This type of request produces a collection of VNClassificationObservation objects that describe an image. Access the classifications through knownClassifications(forRevision:).

Topics

Obtaining Classifications

class func knownClassifications(forRevision: Int) -> [VNClassificationObservation]

Requests the collection of classifications that the Vision framework recognizes.

class VNClassificationObservation

Classification information produced by an image analysis request.

Specifying Algorithm Revision

let VNClassifyImageRequestRevision1: Int

A constant for specifying revision 1 of the image classification algorithm.

Relationships

Inherits From

Conforms To

See Also

Still Image Analysis

Detecting Objects in Still Images

Locate and demarcate rectangles, faces, barcodes, and text in images using the Vision framework.

Classifying Images for Categorization and Search

Analyze and label images using a Vision classification request.

Analyzing Image Similarity with Feature Print

Generate a feature print to compute distance between images.

class VNImageRequestHandler

An object that processes one or more image analysis requests pertaining to a single image.

class VNImageBasedRequest

The abstract superclass for image analysis requests that focus on a specific part of an image.

class VNGenerateImageFeaturePrintRequest

An image-based request to generate feature prints from an image.

Beta
class VNRequest

The abstract superclass for analysis requests.

class VNObservation

The abstract superclass for analysis results.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software