Instance Property


An array of strings to supplement the recognized languages at the word recognition stage.


var customWords: [String] { get set }


The customWords list takes precedence over the standard lexicon.

See Also

Customizing Recognition Constraints

var minimumTextHeight: Float

The minimum height of the text expected to be recognized, relative to the image height.

var recognitionLevel: VNRequestTextRecognitionLevel

A value that determines whether the request prioritizes accuracy or speed in text recognition.

enum VNRequestTextRecognitionLevel

An enumeration of the tradeoff between fast and accurate text recognition.


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