kamui-fin / gazou

Japanese and Chinese OCR for Linux & Windows
GNU General Public License v3.0
87 stars 13 forks source link

No output option #7

Closed DomBito closed 2 years ago

DomBito commented 3 years ago

The idea of the cli would be to use in shell scripts as you said, but there is no output option and I can't pipe the output text to something else. When I try to pipe it to another command, say xargs, as I do with an echo command, it doesn't work and it happly displays the output text in the terminal instead.

jaxter184 commented 3 years ago

It seems like gazou outputs text information to stderr instead of stdout for some reason. To get around this, you can use gazou file.png &> output.txt, or gazou file.png 2> output.txt.

kamui-fin commented 2 years ago

This is now fixed in the newest version (v0.2.0)