Examples¶
To get the OCR data from an image you need do the following
from uiucprescon import ocr
tesseract_engine = ocr.Engine("c:/tessdata")
reader = tesseract_engine.get_reader(lang="eng")
text = reader.read("IlliniLore_1944_00000011.tif")
To get the OCR data from an image you need do the following
from uiucprescon import ocr
tesseract_engine = ocr.Engine("c:/tessdata")
reader = tesseract_engine.get_reader(lang="eng")
text = reader.read("IlliniLore_1944_00000011.tif")