Saves all the current settings of the recognition engine to a recognition engine Settings file for storing or studying purposes.
Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT ACCUAPI IG_REC_settings_save( LPCSTR pFileName ); |
Arguments:
pFileName | Name of the settings file into which to write. |
Return Value:
Returns the number of ImageGear errors that occurred during this function call.Supported Raster Image Formats:
This function does not process image pixels.
Remarks:
Only settings that are not in the default state are saved.
A recognition engine Settings file can be loaded any time with the IG_REC_settings_load function.
Though the recognition engine Settings file is an ASCII text file, DO NOT MODIFY IT, since once it becomes corrupted it will not be loaded at all, and there is no way to learn which line has caused the problem.
Example:
Copy Code | |
---|---|
AT_ERRCOUNT ErrCount = 0; ErrCount = IG_REC_settings_save("settings.cfg"); //... ErrCount = IG_REC_settings_load("settings.cfg"); |