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

multi-choice of files in the web interface #94

Open
yanirmr opened this issue Sep 1, 2019 · 3 comments
Open

multi-choice of files in the web interface #94

yanirmr opened this issue Sep 1, 2019 · 3 comments
Labels
enhancement Any enhancement on the software itself (excluding new transformations)

Comments

@yanirmr
Copy link

yanirmr commented Sep 1, 2019

currently, the GUI allows choosing only one file every time.
If you can pick a large set of files at once and then convert them and download them together - that would be great.

thank a lot.

@stweil stweil added the enhancement Any enhancement on the software itself (excluding new transformations) label Dec 29, 2019
@stweil
Copy link
Member

stweil commented Dec 29, 2019

Especially for many files drag and drop support would also be helpful.

Conversion of many files would still only return a single download, so for example a zip file with the converted files could be returned.

But maybe a Web API would even be better for handling lots of files.

@zuphilip
Copy link
Member

For batch transformations I would suggest to use the command line tools, e.g. something like

for filename in *.alto; do
   docker run --rm -it -v "$PWD":/data ubma/ocr-fileformat ocr-transform alto2.0 hocr "$filename"
done

Maybe we could allow multiple files directly as an argument for the CLI scripts.

However, I am skeptical that for larger transformation tasks the Web GUI is suitable or that a Web API is the direction we should go to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Any enhancement on the software itself (excluding new transformations)
Projects
None yet
Development

No branches or pull requests

3 participants