setRecognitionLanguage method of the TextRecognitionSettings interface

Documentation Menu

Sets the languages to be used for recognition.

note Note: This method is available only in the extended version of the library.

By default, only the English language is set. Setting the correct languages for your text will improve recognition accuracy. However, setting too many languages may slow down performance.

void setRecognitionLanguage( Language... languages );



One or more languages to be used for recognition, represented each by a constant of the Language enumeration.