I use https://kebekus.gitlab.io/scantools for scanning, it builds on top of tesseract and works great for pdf enhancements
You might be interested in https://github.com/ocrmypdf/OCRmyPDF then.
It does quite some preprocessing on the PDF pages before passing it on to tesseract.