Class

VNTargetedImageRequest

The abstract superclass for image analysis requests that operate on both the processed image and a secondary image.

Declaration

@interface VNTargetedImageRequest : VNImageBasedRequest

Overview

Other Vision request handlers that operate on both the processed image and a secondary image inherit from this abstract base class. Instantiate one of its subclasses to perform image analysis, and pass in auxiliary image data by filling in the options dictionary at initialization.

Topics

Initializing a Targeted Image Request

- initWithTargetedCGImage:options:

Creates a new request targeting a Core Graphics image.

- initWithTargetedCGImage:options:completionHandler:

Creates a new request targeting a Core Graphics image, executing the completion handler when done.

- initWithTargetedCGImage:orientation:options:

Creates a new request targeting a Core Graphics image of known orientation.

- initWithTargetedCGImage:orientation:options:completionHandler:

Creates a new request targeting a Core Graphics image of known orientation, executing the completion handler when done.

- initWithTargetedCIImage:options:

Creates a new request targeting a CIImage.

- initWithTargetedCIImage:options:completionHandler:

Creates a new request targeting a CIImage, executing the completion handler when done.

- initWithTargetedCIImage:orientation:options:

Creates a new request targeting a CIImage of known orientation.

- initWithTargetedCIImage:orientation:options:completionHandler:

Creates a new request targeting a CIImage of known orientation, executing the completion handler when done.

- initWithTargetedCVPixelBuffer:options:

Creates a new request targeting an image in a CVPixelBufferRef.

- initWithTargetedCVPixelBuffer:options:completionHandler:

Creates a new request targeting an image in a CVPixelBufferRef, executing the completion handler when done.

- initWithTargetedCVPixelBuffer:orientation:options:

Creates a new request targeting an image in a CVPixelBufferRef of known orientation.

- initWithTargetedCVPixelBuffer:orientation:options:completionHandler:

Creates a new request targeting an image in a CVPixelBufferRef of known orientation, executing the completion handler when done.

- initWithTargetedImageData:options:

Creates a new request targeting an image as raw data.

- initWithTargetedImageData:options:completionHandler:

Creates a new request targeting an image as raw data, executing the completion handler when done.

- initWithTargetedImageData:orientation:options:

Creates a new request targeting a raw data image of known orientation.

- initWithTargetedImageData:orientation:options:completionHandler:

Creates a new request targeting a raw data image of known orientation, executing the completion handler when done.

- initWithTargetedImageURL:options:

Creates a new request targeting an image at the specified URL.

- initWithTargetedImageURL:options:completionHandler:

Creates a new request targeting an image at the specified URL, executing the completion handler when done.

- initWithTargetedImageURL:orientation:options:

Creates a new request targeting an image of known orientation, at the specified URL.

- initWithTargetedImageURL:orientation:options:completionHandler:

Creates a new request targeting an image of known orientation, at the specified URL, executing the completion handler when done.

Relationships

Inherits From

See Also

Image Alignment

VNImageRegistrationRequest

The abstract superclass for image analysis requests that align images based on their content.

VNImageAlignmentObservation

The abstract superclass for image analysis results that describe the relative alignment of two images.

VNTranslationalImageRegistrationRequest

An image analysis request that determines the affine transform needed to align the content of two images.

VNImageTranslationAlignmentObservation

Affine transform information produced by an image alignment request.

VNHomographicImageRegistrationRequest

An image analysis request that determines the perspective warp matrix needed to align the content of two images.

VNImageHomographicAlignmentObservation

Perspective warp information produced by an image alignment request.