Programming with LEADTOOLS OCR Module - OmniPage Engine

To recognize one or more pages using the LEADTOOLS OCR Module - OmniPage Engine:

  1. Start the OCR Engineby calling L_Doc2StartUp. For more information, refer to Starting and Shutting Down the Engine.

  2. Create a settings collection with the L_Doc2CreateSettingsCollection function, then activate it with the L_Doc2SetActiveSettingsCollection / L_Doc2SetActiveSettingsCollectionExt function.

  3. Establish an internal OCR document with one or more pages. For more information, refer to Working with Pages.

  4. Establish zones on the page(s), either manually or automatically. (This is optional. A page can be recognized with or without zones.) For more information, refer to Working with Zones.

  5. Set the active languages to be used by the OCR engine. (Optional. The default is English.) For more information, refer to Working with Languages.

  6. Set the spell checking language. (Optional. The default is English.) For more information, refer to Working with Languages.

  7. Set any special recognition module options. This is required only if the page contains zones (created either automatically or manually). For more information, refer to Recognizing Document Pages and An Overview of Recognition Modules.

  8. Provide code for the VERIFICATIONCALLBACK2 function, if it will be used. (Optional)

  9. Recognize. For more information, refer to Recognizing Document Pages.

  10. Save the recognition results, if desired. The results can be saved to either a file or to memory. For more information, refer to Recognizing Document Pages.

  11. Delete the created settings collection with the L_Doc2DeleteSettingsCollection / L_Doc2DeleteSettingsCollectionExt function.

  12. Shut down the OCR engine when finished. For more information, refer to Starting and Shutting Down the Engine.

For more information, refer to:

Programming with LEADTOOLS OCR

An Overview of Recognition Modules

Demo Programs

Tutorials

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - OmniPage Engine C API Help