ImageGear Professional v18.2 > API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Initialization and Cleanup Functions > IG_REC_close |
Shuts down the Recognition component. You should call this function before exiting your application.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_REC_close( AT_VOID ); |
This function does not process image pixels.
Copy Code
|
|
---|---|
AT_ERRCOUNT ErrCount = 0;
ErrCount += IG_REC_initialize();
//...
ErrCount += IG_REC_close();
|
All objects that require Recognition API calls for their deletion, such as HIG_REC_IMAGE, HIG_REC_DOCUMENT, settings collections, AT_REC_LETTER arrays, wide string arrays, etc. must be deleted before the call to IG_REC_close. After IG_REC_close has been called, no Recognition API calls are allowed, except IG_REC_initialize, which initializes the component again.