Invert the images if required to get better OCR.