Compatibility lib for OCR app