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. 🤔
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: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. 🤔