Added OCR logic for image