Enumeration

VNRequestTextRecognitionLevel

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

Declaration

enum VNRequestTextRecognitionLevel : Int

Topics

Enumeration Cases

case fast

Fast text recognition returns results more quickly at the expense of accuracy.

case accurate

Accurate text recognition takes more time to produce a more comprehensive result.

See Also

Customizing Recognition Constraints

var customWords: [String]

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

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.