I think you will need to keep OCR separate from Mendix application, as a replaceable library component. There are a few open source projects that provide OCR as Java jars. Once you have made your selection, in Mendix you can write a java action that does the OCR.
http://code.google.com/p/tesseract-ocr/