#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrSettingManager_saveFile(settingManager, fileName, xmlOptions)
Loads the OCR engine settings from a disk file.
Handle to the OCR engine setting manager.
The name of the file containing the settings.
XML options to use.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Loads the OCR engine settings from a disk file.
Once you set up the OCR engine, you can re-use these settings by saving the engine state into XML file on disk. You can later reload these settings and use them in the same or different instance of L_OcrEngine.
Required DLLs and Libraries
For an example, refer to L_OcrSettingManager_LoadFile