How to detect document language using FineReader Engine

To detect languages present in a document or in a single page of a document set multiple recognition languages using the SetPredefinedTextLanguage Method and use the LanguageDetectionMode Property of the RecognizerParams Object. The detected languages are stored in the DetectedLanguages Property of the FRDocument Object and the FRPage Object.

For more information please refer to the following articles of the Developer's Help respectively:

  • SetPredefinedTextLanguage Method of the RecognizerParams Object
  • RecognizerParams Object (IRecognizerParams Interface)
  • FRDocument Object (IFRDocument Interface) 
  • FRPage Object (IFRPage Interface) 

Was this article helpful?

1 out of 5 found this helpful

Have more questions? Submit a request

Comments

2 comments

  • Avatar
    Prabhakaran Subramanian

    Is there an API for this to run this on Finereader Cloud SDK?

    0
  • Avatar
    Nikolai Kromm

    Hi,

    For Cloud OCR SDK, you can set several language names separated with commas, for example "English,French,German".

    You can view the name of the language, which has been used for recognition via the lang attribute of the formatting (FormattingType) tag for xml output.

    For more detailed information please refer to the Output XML document article.

    0

Please sign in to leave a comment.

Recently viewed