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


class VNImageBasedRequest : VNRequest


Other Vision request handlers that operate on still images inherit from this abstract base class. Don’t use it directly.


Specifying Request Properties

var regionOfInterest: CGRect

The region of the image in which Vision will perform the request.


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 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.