Added image processing to improve OCR