Instance Property

recognitionLevel

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

Declaration

@property(readwrite, nonatomic, assign) VNRequestTextRecognitionLevel recognitionLevel;

Discussion

The recognition level determines which techniques are used during the text recognition. Set this value to VNRequestTextRecognitionLevelFast to prioritize speed over accuracy, and to VNRequestTextRecognitionLevelAccurate for longer, more computationally intensive recognition.

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.

VNRequestTextRecognitionLevel

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