LEADTOOLS OCR C DLL Help > LEADTOOLS OCR Professional Features > Programming with LEADTOOLS OCR Professional |
To recognize one or more pages using the LEADTOOLS OCR Professional Engine:
Start the OCR Engine with the L_Doc2StartUp function. For more information, refer to Starting and Shutting Down the Engine.
Create a settings collection with the L_Doc2CreateSettingsCollection function, then activate it with the L_Doc2SetActiveSettingsCollection function.
Establish an internal OCR document with one or more pages. For more information, refer to Working with Pages.
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.
Set the active languages to be used by the OCR engine. (Optional. The default is English.) For more information, refer to Working with Languages.
Set the spell checking language. (Optional. The default is English.) For more information, refer to Working with Languages.
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.
Provide code for the VERIFICATIONCALLBACK2 function, if it will be used. (Optional)
Recognize. For more information, refer to Recognizing Document Pages.
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.
Delete the created settings collection with the L_Doc2DeleteSettingsCollection function.
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
See Also: