Instance Property

usesLanguageCorrection

A Boolean indicating whether Vision applies language correction during the recognition process.

Declaration

var usesLanguageCorrection: Bool { get set }

Discussion

When this Boolean is set to true, Vision applies language correction during the recognition process. Disabling this property returns the raw recognition results, which provides performance benefits but less accurate results.

See Also

Specifying Language

var recognitionLanguages: [String]

An array of languages to detect, in priority order.

Beta
class func supportedRecognitionLanguages(for: VNRequestTextRecognitionLevel, revision: Int) -> [String]

Requests a list of languages recognized by the specified revision.

Beta

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