This static class offers the OCR APIs. The user shall call CreateOCREngineL and get the instance of one type of the OCR engine and then convert the instance from MOCREngineInterface to MOCREngineLayoutRecognize or MOCREngineRecognizeBlock according to the type information. And use ReleaseOCREngine to destroy the engine.
Note: This procedure will create a new thread in your current process in order to run the OCR APIs, so you don't need to create new threads for OCR by yourself
For example: A typical usage for the factory class would be like: