Enumeration

VNRequestTextRecognitionLevel

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

Declaration

typedef enum VNRequestTextRecognitionLevel : NSInteger {
    ...
} VNRequestTextRecognitionLevel;

Topics

Enumeration Cases

VNRequestTextRecognitionLevelFast

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

VNRequestTextRecognitionLevelAccurate

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

See Also

Customizing Recognition Constraints

customWords

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

minimumTextHeight

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

recognitionLevel

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