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

Overwrite settings via config file in input folder #4

Open
CWempe opened this issue Feb 13, 2021 · 1 comment
Open

Overwrite settings via config file in input folder #4

CWempe opened this issue Feb 13, 2021 · 1 comment

Comments

@CWempe
Copy link

CWempe commented Feb 13, 2021

I think it would be nice if you could set some options for ocrmypdf in a config file in the input folder.

My use case would be to temporarily add parameters without logging into my server and configuring my docker conatiner.

For example I might want to scan many documents that do not need good quality.
I also know all pages will have a wrong orientation, but need a lower threshold to get fixed.

So my ocrmypdf.conf would look like this:

--optimize 3
--rotate-pages-threshold 0.1

This solution would also give other users of my NAS the possibility to change the parameters to their desire without needing my help.

I just started using ocrmypdf today. So I don't know if this actually makes sense or how difficult it would be to implement. 😄

Maybe this project is even deprecated since the official project has its own watchdog-container. 🤔

@bernmic
Copy link
Owner

bernmic commented Feb 14, 2021

I' have a look to it later today. I haven't seen, that there is a "official" watchdog container. I will also have a look to it.

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