Sets the languages to be used for recognition.
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 decrease performance.
Use the languagesAvailableForOCR method to check which languages are supported in your application.
The set of languages to be used for recognition, each language represented by its internal name as a string. See Available Languages for the list of languages.