Class

VNGenerateImageFeaturePrintRequest

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

Declaration

class VNGenerateImageFeaturePrintRequest : VNImageBasedRequest

Overview

This request returns an array of feature print elements in the form of data wrapped in VNFeaturePrintObservation objects.

Topics

Scaling and Cropping Images

var imageCropAndScaleOption: VNImageCropAndScaleOption

An optional setting informing the Vision algorithm how to scale an input image before generating the feature print.

enum VNImageCropAndScaleOption

An enumeration of different ways Vision can crop and scale an input image.

Specifying Algorithm Revision

let VNGenerateImageFeaturePrintRequestRevision1: Int

A constant for specifying revision 1 of the feature print 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 VNClassifyImageRequest

A request to classify an image.

class VNRequest

The abstract superclass for analysis requests.

class VNObservation

The abstract superclass for analysis results.