Hi,

I need to detect 2 languages at the same time from an image, so, may I know how it is done.

I was trying with createcompoundtextlanguage method, but couldn't get any result.

Below is the code, what i have tried.

 

FREngine.ILanguageDatabase langDatabase = engineLoader.Engine.CreateLanguageDatabase();

FREngine.ITextLanguage textLanguage = langDatabase.CreateCompoundTextLanguage(inputLang);

{

if (inputLang == "Arabic") langDatabase.CreateCompoundTextLanguage("Arabic,English");

else if (inputLang == "Italian") langDatabase.CreateCompoundTextLanguage("Italian,English");

 

 

Note: "inputLang" is a string of languages taken out from excel sheets.

 

 

Please help.

 

Thank You