Convert a document (Linux)

FineReader Engine
Knowledge Base & Support
Code Samples Collection
Recognition, General, Programming Aspects, Engine Initialization, Export
Recognition, Export
image: icon_simplerec.gif

You are new to ABBYY FineReader Engine and are looking for a way to recognize an image and export recognition results. This sample shows all the steps you need to perform to make your ABBYY SDK work for you.


The procedure of recognizing and exporting an image file uses the basic objects and methods of ABBYY FineReader Engine. Do the following:

  1. Create the Engine object using the GetEngineObject function.
  2. [optional, PDF only] Check for text layer in the image file using the IsPdfWithTextualContent method of the Engine object. If text layer exists, you can copy the file without recognition, speeding up the processing. However, note that the text layer can be irrelevant.
  3. Call the CreateFRDocumentFromImage method of the Engine object to open the image file and create the FRDocument object.
  4. [optional] Create the DocumentProcessingParams object and set the parameters of analysis, recognition, and synthesis.
  5. Call the Process method of the FRDocument object.
  6. Call the Export method of the FRDocument object to save the document into a file of the specified format.
  7. Close the FRDocument object using the Close method.
  8. Unload FineReader Engine — use the DeinitializeEngine function.

Back To:

This website uses cookies which enable you to see pages or use other functions of our websites. You can turn off such cookies in your browser’s settings. If you continue to use these pages, you consent to the use of cookies.