O
O
olezhenka2017-06-04 13:28:00
JavaScript
olezhenka, 2017-06-04 13:28:00

How to use tesseract OCR to recognize image text not from a file, but from a buffer in a node?

There is a module https://www.npmjs.com/package/node-tesseract, everything works fine with it, but I did not find the ability to recognize from the buffer. Then, I found the https://www.npmjs.com/package/tesseract-wrapper module , and I had difficulties with it, as I understood I needed an image in base64 format, I managed to do it like this:
a841f007a6f94426ac0ddd7d1d7ab56f.PNG
the error received:
b444a83ca2c94163978fd1c95f056b11.PNG

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question