Developer's Documentation for free mobile OCR SDK

Documentation Menu

setTranslationDictionary method of the ITextCaptureService interface

Sets the name of the translation dictionary. By default, no translation dictionary is used. Translation dictionaries should be put in the assets/translation folder.

Some dictionaries are supplied with the distribution. See Available Translation Dictionaries for a full list.

Important! After you attach a translation dictionary, the recognized text will be translated automatically, and the onFrameProcessed method will return the result in the target language. The result of recognition in source language will not be available.

void setTranslationDictionary( String dictionaryName )

Parameters

dictionaryName

The name of the translation dictionary file without extension. If set to null, translation mode is turned off.