Saves all the current settings of the recognition engine to a recognition engine Settings file for storing or studying purposes.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_REC_settings_save( LPCSTR pFileName ); |
Name | Type | Description |
---|---|---|
pFileName | LPCSTR | Name of the settings file into which to write. |
This function does not process image pixels.
Copy Code
|
|
---|---|
AT_ERRCOUNT ErrCount = 0; ErrCount = IG_REC_settings_save("settings.cfg"); //... ErrCount = IG_REC_settings_load("settings.cfg"); |
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.