Contents

recognitionLevel

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

Declaration

var recognitionLevel: VNRequestTextRecognitionLevel { get set }

Mentioned in

Discussion

The recognition level determines which techniques the request uses during the text recognition. Set this value to VNRequestTextRecognitionLevel.fast to prioritize speed over accuracy, and to VNRequestTextRecognitionLevel.accurate for longer, more computationally intensive recognition.

See Also

Customizing Recognition Constraints