razem-io / OCRmyPDFonWEB

Streamlit Web UI for OCRmyPDF

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OCRmyPDFonWEB

Streamlit Web UI for OCRmyPDF. Its codebase is tiny, so if you want to modify it, it should be straightforward. It is also stateless, making it easy to deploy. No volumes. No configuration.

screenshot

Requirements

  • docker

Usage

docker run --rm -p 127.0.0.1:8501:8501 razemio/ocrmypdfonweb

Open http://localhost:8501

Develop

docker build -t razemio/ocrmypdfonweb:dev . # Only needed after you changed requirements.txt
docker run --rm -it -p 127.0.0.1:8501:8501 -v ${PWD}/server.py:/app/server.py razemio/ocrmypdfonweb:dev

Happy coding :)

FAQ

Why?

To keep your non-tech significant other happy. The terminal can be a dark place for some people.

Why do you use OCRmyPDF version 12.7.2?

It is the last version which supports remove background. Which is somewhat impossible to find in normal PDF editors. Otherwise, OCRmyPDF works flawlessly, and I yet haven't found an issue which makes me want to upgrade.

About

Streamlit Web UI for OCRmyPDF

License:MIT License


Languages

Language:Python 89.5%Language:Dockerfile 10.5%