Developer's Documentation for free mobile OCR SDK

Documentation Menu

setRecognitionLanguages method of the RTRDataCaptureProfileBuilder protocol

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. You can specify multiple languages, though note that adding too many languages may decrease performance.

Use the languagesAvailableForOCR method to check which languages are supported in your application.

- (id<RTRDataCaptureProfileBuilder>)setRecognitionLanguages:(NSSet*)recognitionLanguages;

Parameters

recognitionLanguages

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.

Return values

The method returns the same RTRDataCaptureProfileBuilder object on which it was called.