Whitelisting and Blacklisting Characters with Tesseract and Python