Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: allow multiple files for stdin #3720

Closed
dnnspaul opened this issue Jan 15, 2022 · 1 comment
Closed

Feature Request: allow multiple files for stdin #3720

dnnspaul opened this issue Jan 15, 2022 · 1 comment
Labels

Comments

@dnnspaul
Copy link

dnnspaul commented Jan 15, 2022

Environment

  • Tesseract Version: 5.0.1
  • Commit Number: latest
  • Platform: Linux dpaul-desktop 5.11.0-46-generic 51~20.04.1-Ubuntu SMP Fri Jan 7 06:51:40 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Current Behavior:

Using cat file1.jpg file2.jpg | tesseract - stdout only handles file1.jpg. File2 is being ignored.
I know about filelists, but using a filelist is no option because of pre-processing; using cat is just a demonstration of the problem/bug.

Expected Behavior:

Both files are processed.

@stweil
Copy link
Member

stweil commented Jan 15, 2022

Combining image files with cat does not give a valid file which can be processed by any software. It's not a bug that Tesseract ignores the amended 2nd image.

I did not understand why a filelist is not an option for you. Could you please explain that a bit more?

@amitdo amitdo closed this as completed Jan 16, 2022
@stweil stweil changed the title Feature Request: allow mulitple files for stdin Feature Request: allow multiple files for stdin Jan 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants