pre process image before OCR to get better output