Tesseract 3.02 compatibility