Protocol

VNRequestRevisionProviding

A protocol for specifying the revision number of Vision algorithms.

Declaration

@protocol VNRequestRevisionProviding

Overview

Subclasses of VNRequest should adopt this protocol to specify which revision of an algorithm the Vision framework uses to generate requests.

Topics

Specifying Revision Number

requestRevision

The revision of the VNRequest subclass used to generate the implementing object.

Required.

Determining Revision Type

VNRequestRevisionUnspecified

A constant enumerating the case where a VNRequest revision hasn't been specified.

VNDetectRectanglesRequestRevision1

A constant for specifying revision 1 of VNDetectRectanglesRequest.

VNTrackRectangleRequestRevision1

A constant for specifying revision 1 of VNTrackRectangleRequest.

VNTrackObjectRequestRevision1

A constant for specifying revision 1 of VNTrackObjectRequest.

VNDetectFaceLandmarksRequestRevision3

A constant for specifying revision 3 of VNDetectFaceLandmarksRequest.

Beta
VNRecognizeTextRequestRevision1

A constant for specifying revision 1 of the text recognition algorithm.

Beta
VNDetectBarcodesRequestRevision1

A constant for specifying revision 1 of the barcode detection algorithm.

VNDetectHorizonRequestRevision1

A constant for specifying revision 1 of VNDetectHorizonRequest.

VNCoreMLRequestRevision1

A constant for specifying revision 1 of a Core ML request.

VNClassifyImageRequestRevision1

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

Beta
VNGenerateImageFeaturePrintRequestRevision1

A constant for specifying revision 1 of the feature print algorithm.

Beta

Relationships

See Also

Determining the Revision

currentRevision

The current revison supported by the request.

defaultRevision

The revision of the latest request for the particular SDK linked with the client application.

supportedRevisions

The collection of currently-supported algorithm versions for the class of request.

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