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

Add ability to recognize text on multiple files #35

Closed
stewx opened this issue Sep 10, 2015 · 12 comments
Closed

Add ability to recognize text on multiple files #35

stewx opened this issue Sep 10, 2015 · 12 comments

Comments

@stewx
Copy link

stewx commented Sep 10, 2015

It would be great if you could select multiple files in the "Sources" pane and recognize text from all of them with one click. I have a bunch of files right now and the only way to do it (as far as I know) is to go through one by one.

@manisandro
Copy link
Owner

Yes this is a good point. I've already thought a bit about this. I envision to allow the user to group images in the sources list, and then the user can operate on an entire group similarly to how one currently operates on a multipage PDF.

@manisandro
Copy link
Owner

Implemented this by just allowing the user to select multiple sources at once in the sources pane. Then one can recognize them at once as one already could with multiple-page PDFs.

@stewx
Copy link
Author

stewx commented Sep 13, 2015

Thank you! This will save me lots of time.

@manisandro
Copy link
Owner

Oh, would be nice if you could do some testing. Are you comfortable compiling? Otherwise, what platform are you on?

@stewx
Copy link
Author

stewx commented Sep 13, 2015

I'm on Windows. What is the make command?

@manisandro
Copy link
Owner

I currently cross-compile the Windows binaries from Linux, setting up a Windows build environment is quite some work... I'll fire up some builds an then post them.

@stewx
Copy link
Author

stewx commented Sep 13, 2015

I can compile on Linux too if you want

@manisandro
Copy link
Owner

As you prefer, for me building for Windows is just running a shell script.

@manisandro
Copy link
Owner

@stewx
Copy link
Author

stewx commented Sep 13, 2015

Works great. Thanks!

@stewx
Copy link
Author

stewx commented Sep 13, 2015

As a bit of feedback, it might be better, when a user has multiple pages selected and clicks "Recognize all", to simply display a dialog box that says "Do you want to recognize text on all 63 pages?" with "Yes" and "No" buttons. I found the prompt a little confusing.

@manisandro
Copy link
Owner

Thanks for testing! Do you mean the menu that appears which allows to choose between "Current Page" and "Multiple Pages"? That distinction is kinda necessary when you have a multipage PDF where you cannot select one single page. In the case of multiple selected images, this may be somewhat redundant, but on the other hand it keeps the behavior consistent. But what I could do is add an "All Pages" option, and possibly rename "Multiple pages..." to something like "Choose pages...".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants