node-tesseract
node-tesseract copied to clipboard
passing in a buffer?
writing shit to the HD first is slow and error prone
+1
+1
+1 This discussion on the original Tesseract-OCR group may shed a light: how to pass image "directly" to tesseract https://groups.google.com/forum/#!topic/tesseract-ocr/2lbpirc4Pto
I use tesseract very heavily from Java nowadays, and I don't think this problem can be solved in this project.
You will need to use a library that provides bindings to the native tesseract API, such as https://github.com/7eggs/node-tesseract
This is what I use in Java, which provides similar bindings - https://github.com/bytedeco/javacpp-presets/tree/master/tesseract