calling with tesseract with stdin option should read from stdin. Instead now I get Cannot open input file: stdin
These are my args [ 'stdin',
'stdout',
'-l',
'eng',
'-c',
'tessedit_create_hocr=1',
'-c',
'tessedit_pageseg_mode=1',
'-c',
'hocr_font_info=0' ]
in previous commits, this worked fine, for example when streaming images into Tesseract.
Update the documentation if it's changed or restore the original behavior.
Awesome project btw 馃槃 馃憦 馃憦 馃憦 馃憦 馃憦 馃憦 馃憦
We do not support 3rd party project ;-)
You need to replicate it with tesseract executable,
Zdenko, you need to take stdin into account here.
@zdenop apologies if I misunderstand but I am calling tesseract executable directly.
The stdin option seems to have stopped working, it's a documented option
https://github.com/tesseract-ocr/tesseract/wiki/Command-Line-Usage#tesseract---help-extra
I already found the cause, see above comment.
Pull request #1960 addresses this issue.
@uttrasey,
Please try the latest commit from the master branch.
Looking good, thanks for the swift turnaround