RecAPIPlus, as a part of RecAPI, contains a programming interface based on a document-oriented approach and provides formatted page output.

General service functions

These functions are responsible for the initialization and termination of CSDK, loading and saving RecAPIPlus settings, and setting the count of the OCR threads.

Simple multi-page document handling

With these functions the application of the user can implement document-based solutions. The application can create multi-page documents. It can insert recognized pages that have been processed using KernelAPI functions. It can also delete and move pages, and save and load the document from the proprietary OPD file type. When the document is ready, the application can export it into the output file, using the appropriate output format.

One-step functions

RecAPIPlus has two distinct one-step functions. The source code of the user contains only one call to the function that performs the whole workflow.

One of the functions uses the following 123-type workflows from OmniPage 18:

  • Loading

  • Image preprocessing

  • Recognition

  • Page and document formatting

  • Exporting

It can process several multi-page image files or it can work from a scanner. During the process, it uses all settings as previously adjusted by the application.

The other function executes workflow files created by the Workflow Assistant, the Workflow Applet, the Batch Manager in OmniPage 18 or by the ITest component of the CSDK.

Layout retention output

RecAPIPlus provides complex and accurate layout retention outputs in several file formats like RTF, DOC, WordML, XLS, PDF, WP, and WAV. One-step functions also use the output converters of this module.

Different converters have different capabilities for layout retention. The following output levels are available:

  • Plain Text (previously called No formatting)

  • Formatted Text (previously called Retain Font and Paragraphs)

  • True Page

  • Flowing Page

  • Spreadsheet

Not all converters can realize each level of output formatting. For example, an outputted Word document or a PDF document can use Flowing Page and True Page levels, which are very similar to the original layout. There are also simple text converters, which can retain only the text in Plain Text mode, or the text and its attributes in Formatted Text mode. In addition, final output results can be influenced by adjusting settings. For the lists of the supported formatting levels of each output converter, see the Output Converters and Output Levels in RecAPI Help.