Programming with LEADTOOLS OCR Professional

To recognize one or more pages using the LEADTOOLS OCR Professional Engine:

  1. Start the OCR Engine with the L_Doc2StartUp function. 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 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 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 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

LEADTOOLS OCR Support Forum

See Also:

Introduction

Microsoft Code Snippet Picker

LEADTOOLS Support Forums