Description
Convert ascii text to a binary image using pre-computed templates.
Input strings can only contain standard characters (ascii character 32-126). First time char2img() is ever called with a given height h, txt2img() is used to create a template for each ascii character. All subsequent calls to to char2img() with the given height are very fast as the pre-computed templates are used and no display/screen capture is needed.
Python code take a a binary image which fed to the Tesseract OCR
Reviews
There are no reviews yet.