Hi, On 13/02/2023 20:40, Flávio. wrote:
Hi, I'm a beginner, I wonder if there is a way to send image byte data directly to Tesseract from memory without having to write a file to disk . I'm building a program that uses Dart, but I can also write Python, Java or JS.
If you write/echo an image to the stdin of Tesseract, and tell it to read from "-", this ought to work, like so:
> $ cat foo.png | tesseract - output Of course you can do this (write to stdin) in most programming languages. Cheers, Merlijn -- 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-ocr+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/c101a9b7-13c7-c4db-1cd7-4cc0e4e2160b%40archive.org.