Pytesseract processing images already in memory

242 views
Skip to first unread message

Alex Zetaeffesse

unread,
Mar 25, 2021, 12:44:12 AM3/25/21
to tesseract-ocr
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,

Alex

Lorenzo Bolzani

unread,
Mar 25, 2021, 4:09:35 AM3/25/21
to tesser...@googlegroups.com

Try tesserocr, a real binding library.


Bye

Lorenzo

--
You received this message because you are subscribed to the Google Groups "tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-oc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/186dcebf-cc23-4f14-a16f-aa291928d5a8n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages