Predefined OCR Processing Profiles Sample (FRE)

Language:
EN
Product-Line:
FineReader Engine
Version:
10, 11
Platform:
Windows
KB-Type:
Code Samples Collection
Category:
Recognition, OCR: Speed & Quality
Image:
image: icon_frenginepredefinedprofiles.gif

This sample shows how you can easily configure FineReader Engine with predefined processing profiles. All you need is to select the profile suitable for your task before processing and ABBYY FineReader Engine will choose the best settings automatically.

  • Comparison Document Conversion Profiles: Accuracy vs. Speed

Screenshot made with a Laptop (2012) Quad i7-3720QM, 2,6 GHz, Windows 7, 16 GB RAM, 64 bit;
FineReader Engine 10 R7 - Std. sample files that are included

  • the same sample on an older machine:

Screenshot made with a Laptop (2009) Core2 Duo T9800, 2,9 GHz, Windows 7, 4 GB RAM 32 bit;
FineReader Engine 10 R1 - Std. sample files that are included
Production machines are faster and have more cores =)

  • Comparison of 2 different profiles Text Extraction (Speed – Book Archiving (Speed)

Screenshot made with a Laptop (2012) Quad i7-3720QM, 2,6 GHz, Windows 7, 16 GB RAM, 64 bit;
FineReader Engine 10 R7 - Std. sample files that are included

Description

The sample processes document images from the specified folder using two different predefined processing profiles. Then it compares the speed of processing with these profiles and the number of recognized elements. The result of comparison is shown on a diagram and in the table below the diagram.

To view how it works:

  1. Select the folder with images to process.
  2. Specify recognition languages of the processing documents.
  3. Specify two different predefined processing profiles to compare.
  4. To run the sample, click Go.
  5. Change the settings and click Recalculate to receive new statistics. You can restore default settings by clicking Restore defaults.

Details

The sample uses the following procedure of processing:

  1. Create the Engine object using the GetEngineObject function.
  2. Load necessary modules using the LoadModule method of the Engine object.
  3. Load a predefined profile for your scenario using the LoadPredefinedProfile method of the Engine object.
  4. Call the CreateFRDocument method of the Engine object to create the FRDocument object.
  5. Use the AddImageFile method to add pages to the document.
  6. To specify recognition language, use the SetPredefinedTextLanguage method of the RecognizerParams object.
  7. Call the Process method of the FRDocument object. Pass the RecognizerParams object as a subobject of the PageProcessingParams object to this method.
  8. Close the FRDocument object using the Close method.
  9. Unload FineReader Engine — use the DeinitializeEngine function.

Video

Further Info

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.