A small PyQt6 desktop app for reviewing and correcting OCR'd PDFs. It renders each page, overlays a bounding box per recognized word (from the PDF's existing text layer), and lets you review, delete, and eventually add/edit words directly in the PDF.
Requires Python 3.13+ and Poetry. Dependencies (PyQt6, PyMuPDF) are already declared in pyproject.toml.
poetry installWhen drawing text boxes, PDF Text Editor can run OCR (Optical Character Recognition) to automatically guess the text inside the box. For this to work, Tesseract OCR is required. If not installed, the OCR will silently fail. Install instructions below:
sudo apt install tesseract-ocr- Go to the UB-Mannheim Tesseract builds page (this is the de facto standard Windows installer, maintained separately from the main Tesseract repo since Tesseract itself doesn't publish official Windows binaries): https://github.com/UB-Mannheim/tesseract/wiki
- Download the latest tesseract-ocr-w64-setup-*.exe
- Run it. Note the install path — default is usually
C:\Program Files\Tesseract-OCR1During install, there's a component list — make sure "Additional language data" is checked if you need anything beyond English - Add the install path (Probably
C:\Program Files\Tesseract-OCR) to the PATH variable. - Test that Tesseract was successfully added to PATH by running
tesseract --versionin a terminal.
poetry run python main.py- Add info spinner when loading pdf
- Fix sync of current page for status bar