node-tesseract icon indicating copy to clipboard operation
node-tesseract copied to clipboard

passing in a buffer?

Open yocontra opened this issue 9 years ago • 4 comments

writing shit to the HD first is slow and error prone

yocontra avatar Mar 26 '15 05:03 yocontra

+1

reecefenwick avatar Mar 29 '15 07:03 reecefenwick

+1

fabriciobeltran avatar Jun 07 '16 22:06 fabriciobeltran

+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

cburatto avatar May 04 '17 01:05 cburatto

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

reecefenwick avatar May 05 '17 00:05 reecefenwick