Class

VNFeaturePrintObservation

The observation resulting from a VNGenerateImageFeaturePrintRequest.

Declaration

class VNFeaturePrintObservation : VNObservation

Overview

The observations returned from a VNGenerateImageFeaturePrintRequest are of this class.

Topics

Fetching Feature Print Data

var data: Data

The feature print data.

var elementCount: Int

The total number of elements in the data.

Determining Types of Feature Prints

enum VNElementType

An enumeration of the type of element in feature print data.

func VNElementTypeSize(VNElementType) -> Int

The size of a feature print element.

var elementType: VNElementType

The type of each element in the data.

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 VNClassifyImageRequest

A request to classify an image.

class VNGenerateImageFeaturePrintRequest

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

class VNRequest

The abstract superclass for analysis requests.

class VNObservation

The abstract superclass for analysis results.