OCR Algorithms Demystified: How OCR Software Converts Images to Text