Re: [tesseract-ocr] Pytesseract processing images already in memory

2021-03-25 Thread Lorenzo Bolzani
Try tesserocr, a real binding library. Bye Lorenzo Il giorno gio 25 mar 2021 alle ore 05:44 Alex Zetaeffesse ha scritto: > Hi all, > > I'm already using a python library (pyvips) for cropping images with text > inside. > Is there a way to have Pytesseract process images in memory without the

[tesseract-ocr] Pytesseract processing images already in memory

2021-03-24 Thread Alex Zetaeffesse
Hi all, I'm already using a python library (pyvips) for cropping images with text inside. Is there a way to have Pytesseract process images in memory without the burden of writing them to disk and then load them again with print(pytesseract.image_to_string(Image.open('test.png'))) ? Thanks,