OCR.Cleanup
-----------

Shutdown the engine and free all memory.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [OCR](component_OCR.md) | [2.9](newinversion29.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "OCR.Cleanup" ) ### Parameters

none

### Result

Returns OK on success.

### Description

Shutdown the engine and free all memory.  
This is optional. You can initialize the engine when your solution starts and keep it running all time.  
### Examples

Cleanup:

 MBS ( "OCR.Cleanup" )  
### See also

- [OCR.GetText](OCRGetText.md)
- [OCR.GetTextWithCoordinates](OCRGetTextWithCoordinates.md)
- [OCR.RenderPDF](OCRRenderPDF.md)

### Blog Entries

- [MBS FileMaker Plugin 16.1 News](https://www.mbsplugins.de/archive/2026-03-31/MBS_FileMaker_Plugin_161_News/monkeybreadsoftware_blog_filemaker)
- [Improving our OCR functions for FileMaker Server](https://www.mbsplugins.de/archive/2021-05-11/Improving_our_OCR_functions_fo/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 18th August 2014 , last changed 18th August 2014

  
[Notification.UnlistenAll](NotificationUnlistenAll.md) - [OCR.Clear](OCRClear.md)

[HTML Version](OCRCleanup.shtml)