You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it would be preferable to also have the output for -d to go to stdout, but I'm not sure if there are any compatibility concerns to worry about for TessdataManager::Directory()
As a workaround (courtesy of StackOverflow), one can redirect stderr as follows to get e.g. the version string in the first line:
Current Behavior
The directory listing from
combine_tessdata -d
is sent tostderr
while the network listing fromcombine_tessdata -l
gets sent tostdout
.https://github.com/tesseract-ocr/tesseract/blob/main/src/ccutil/tessdatamanager.cpp#L214-L218
Expected Behavior
I think it would be preferable to also have the output for
-d
to go tostdout
, but I'm not sure if there are any compatibility concerns to worry about forTessdataManager::Directory()
As a workaround (courtesy of StackOverflow), one can redirect stderr as follows to get e.g. the version string in the first line:
Suggested Fix
Have
combine_tessdata -d
send its output tostdout
tesseract -v
Current HEAD commit 51cf430
Operating System
macOS 11 Big Sur
Other Operating System
No response
uname -a
No response
Compiler
No response
CPU
No response
Virtualization / Containers
No response
Other Information
No response
The text was updated successfully, but these errors were encountered: