O
O
olezhenka2017-06-15 18:40:45
JavaScript
olezhenka, 2017-06-15 18:40:45

Can I upload a file, but is it possible from the buffer?

in all tesseract modules like https://www.npmjs.com/package/node-tesseract I need to load photos from directories, but I get photos for processing from the internet, how can I implement this? Do I have to get them from the site, save them to my server, then load them into tesseract, and then delete them (because they won't be useful to me anymore), or are there easier ways?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lynn "Coffee Man", 2017-06-15
@Lynn

Judging by the code, this module simply launches a separate program and it requires a file to work.
So just save a temporary file, process it, and then delete it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question