Instance Property

recognitionLanguages

An array of languages to detect, in priority order.

Declaration

var recognitionLanguages: [String] { get set }

Discussion

The order of the languages in the array defines the order in which languages are used during language processing and text recognition.

Specify the languages as ISO language codes.

See Also

Specifying Language

var usesLanguageCorrection: Bool

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

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